![]() |
VR-Forces 4.0.4 Class Documentation
|
A DtScenarioPreviewPage lets users see the reference content of the current scenario. More...

Public Slots | |
| virtual void | previewScenario (const QString &) |
| If displaying information, previews the contents of the scenario in the scenario preview widget. | |
Public Member Functions | |
| DtScenarioPreviewPage (makVrv::DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::SubWindow) | |
| CTOR. | |
| virtual | ~DtScenarioPreviewPage () |
| DTOR. | |
| virtual bool | chooseSimulationTerrain () |
| Returns true if user selects simulation terrain. | |
| virtual void | setDisplayInformation (bool) |
| Sets whether or not to show scenario information as selected in dialog. | |
| virtual DtScenario * | updateScenario () |
| Updates contents of dialog into myScenario object and returns it. | |
| DtScenario * | scenario () |
| Returns scenario object. | |
| virtual bool | valid () const |
| const QString & | selectedScenarioFile () const |
| virtual QIcon | icon () |
| Get the icon of the page. | |
| virtual QString | title () |
| Get the title of the page. | |
| virtual const std::string & | pageClassName () const |
| Get the class name of the page. | |
| virtual void | activate () |
| Called by the Pager when this page becomes active. | |
| virtual void | deactivate () |
| Called by the Pager when this page becomes active. | |
| virtual int | startTimeOfDay () const |
| Returns the start time of day (in seconds) | |
| virtual void | setAdvancedInformationEnabled (bool) |
| Enable advanced information. | |
| virtual void | setCanSelectTerrain (bool) |
| virtual void | showAdvanced (bool) |
| virtual void | setShowComponentAttachCombo (bool) |
| virtual void | setShowPreview (bool) |
| Show/hide description preview. | |
Static Public Member Functions | |
| static const std::string & | thePageClassName () |
| Static accessor for the class name. | |
Protected Member Functions | |
| virtual void | initializeNewScenarioInformation (DtScenario *scenario) |
| virtual void | cleanupDefaultScenario (DtScenario *scn) |
| virtual std::string | defaultScenarioFile () const |
| virtual std::vector< DtString > | defaultSimulationModelSetFiles () const |
| void | setupGui () |
| Setting up the GUI, called by CTOR. | |
Protected Attributes | |
| DtScenarioPreviewWidget * | myWidget |
| DtScenario * | myScenario |
A DtScenarioPreviewPage lets users see the reference content of the current scenario.
| makVrf::DtScenarioPreviewPage::DtScenarioPreviewPage | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | f = Qt::SubWindow |
||
| ) |
CTOR.
| virtual makVrf::DtScenarioPreviewPage::~DtScenarioPreviewPage | ( | ) | [virtual] |
DTOR.
| virtual bool makVrf::DtScenarioPreviewPage::chooseSimulationTerrain | ( | ) | [virtual] |
Returns true if user selects simulation terrain.
Calls down to scenario preview widget to do the actual load
| virtual void makVrf::DtScenarioPreviewPage::setDisplayInformation | ( | bool | ) | [virtual] |
Sets whether or not to show scenario information as selected in dialog.
| virtual DtScenario* makVrf::DtScenarioPreviewPage::updateScenario | ( | ) | [virtual] |
Updates contents of dialog into myScenario object and returns it.
Returns scenario object.
| virtual bool makVrf::DtScenarioPreviewPage::valid | ( | ) | const [virtual] |
| const QString& makVrf::DtScenarioPreviewPage::selectedScenarioFile | ( | ) | const |
| virtual QIcon makVrf::DtScenarioPreviewPage::icon | ( | ) | [virtual] |
Get the icon of the page.
Implements makVrv::DtPage.
| virtual QString makVrf::DtScenarioPreviewPage::title | ( | ) | [virtual] |
Get the title of the page.
Implements makVrv::DtPage.
| virtual const std::string& makVrf::DtScenarioPreviewPage::pageClassName | ( | ) | const [virtual] |
Get the class name of the page.
Implements makVrv::DtPage.
| static const std::string& makVrf::DtScenarioPreviewPage::thePageClassName | ( | ) | [static] |
Static accessor for the class name.
| virtual void makVrf::DtScenarioPreviewPage::activate | ( | ) | [virtual] |
Called by the Pager when this page becomes active.
Implements makVrv::DtPage.
| virtual void makVrf::DtScenarioPreviewPage::deactivate | ( | ) | [virtual] |
Called by the Pager when this page becomes active.
Implements makVrv::DtPage.
| virtual int makVrf::DtScenarioPreviewPage::startTimeOfDay | ( | ) | const [virtual] |
Returns the start time of day (in seconds)
| virtual void makVrf::DtScenarioPreviewPage::setAdvancedInformationEnabled | ( | bool | ) | [virtual] |
Enable advanced information.
| virtual void makVrf::DtScenarioPreviewPage::setCanSelectTerrain | ( | bool | ) | [virtual] |
| virtual void makVrf::DtScenarioPreviewPage::showAdvanced | ( | bool | ) | [virtual] |
| virtual void makVrf::DtScenarioPreviewPage::setShowComponentAttachCombo | ( | bool | ) | [virtual] |
| virtual void makVrf::DtScenarioPreviewPage::setShowPreview | ( | bool | ) | [virtual] |
Show/hide description preview.
| virtual void makVrf::DtScenarioPreviewPage::previewScenario | ( | const QString & | ) | [virtual, slot] |
If displaying information, previews the contents of the scenario in the scenario preview widget.
| virtual void makVrf::DtScenarioPreviewPage::initializeNewScenarioInformation | ( | DtScenario * | scenario | ) | [protected, virtual] |
| virtual void makVrf::DtScenarioPreviewPage::cleanupDefaultScenario | ( | DtScenario * | scn | ) | [protected, virtual] |
| virtual std::string makVrf::DtScenarioPreviewPage::defaultScenarioFile | ( | ) | const [protected, virtual] |
| virtual std::vector<DtString> makVrf::DtScenarioPreviewPage::defaultSimulationModelSetFiles | ( | ) | const [protected, virtual] |
| void makVrf::DtScenarioPreviewPage::setupGui | ( | ) | [protected] |
Setting up the GUI, called by CTOR.
DtScenario* makVrf::DtScenarioPreviewPage::myScenario [protected] |