![]() |
VR-Forces 5.0.3 Developer's Guide
|
Will show a dialog that will request the scenario description. Depending on the mode will allow the user to edit or simply read the description.

Public Member Functions | |
| DtScenarioDescriptionDialog (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=Qt::Tool, bool doNotDisplayIfNoDescription=false) | |
| virtual | ~DtScenarioDescriptionDialog () |
| virtual void | setDisplayOnly (bool) |
| virtual void | setShowNeverShowAgain (bool) |
| virtual void | closeEvent (QCloseEvent *) |
| virtual void | setupGui () |
| virtual bool | neverShowAgain () const |
| virtual void | setUpdateScenarioDescriptionFromThisDialog (bool) |
| bool | updateScenarioDescriptionFromThisDialog () const |
| virtual void | setScenarioInformation (const DtIfScenarioDescriptionMessage *) |
| virtual void | setHideCancel (bool) |
| virtual void | setDisplayChangeWarningIcon (DtScenarioInformationWidget::DisplayElement, bool) |
| virtual void | setShowScreenElement (DtScenarioInformationWidget::DisplayElement, bool) |
| virtual void | setEnableScreenElement (DtScenarioInformationWidget::DisplayElement, bool) |
| virtual void | setCanSelectTerrain (bool) |
| const DtScenario & | scenario () const |
Public Attributes | |
| boost::signals2::signal< void()> | signal_closed |
| boost::signals2::signal< void(DtScenario &)> | signal_scenarioInformationAboutToBeSet |
| QCheckBox * | myNeverShowAgain |
| QPushButton * | myOK |
| QPushButton * | myCancel |
| DtScenarioPreviewWidget * | myScenarioInformation |
Protected Member Functions | |
| virtual void | scenarioDescriptionCallback (DtSimMessage *) |
| virtual void | accept () |
Protected Attributes | |
| DtScenario | myScenario |
| makVrv::DtDe & | myDe |
| bool | myIsEditable |
| bool | myDoNotDisplayIfNoDescription |
| bool | myUpdateScenarioDescriptionFromThisDialog |
| makVrf::DtScenarioDescriptionDialog::DtScenarioDescriptionDialog | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = Qt::Tool, |
||
| bool | doNotDisplayIfNoDescription = false |
||
| ) |
returned, this dialog will be closed and deleted
|
virtual |
|
virtual |
Sets to a mode where it is display only.
|
virtual |
Shows the "never show again" checkbox. By default this is hidden.
|
virtual |
|
virtual |
|
virtual |
Returns true if this dialog should never be shown again.
|
virtual |
Set to false to allow some other mechanism for updating scenario information. This is true for legacy usage of this dialog.
|
inline |
|
virtual |
Sets the scenario information.
|
virtual |
|
virtual |
Whether or not to show the change warning icon for elements. Only the following elements have the change warning icon SimulationModelSet SimulationTerrain FrontEndTerrain ComponentAttachmentTable RandomNumberSeed FrameMode FrameTime.
|
virtual |
Whether or not to show the particular screen element.
|
virtual |
Whether or not to enable the display element.
|
virtual |
Whether or not terrains can be selected.
|
inline |
|
protectedvirtual |
Called when scenario description is received from the currently selected back-end.
|
protectedvirtual |
Sends updated description to back-end.
| boost::signals2::signal<void ()> makVrf::DtScenarioDescriptionDialog::signal_closed |
Signal sent when window is closing.
| boost::signals2::signal<void (DtScenario&)> makVrf::DtScenarioDescriptionDialog::signal_scenarioInformationAboutToBeSet |
Signal sent when the scenario information is about to be set in the dialog. Whatever changes are made in the supplied scenario will be reflected in the dialog.
| QCheckBox* makVrf::DtScenarioDescriptionDialog::myNeverShowAgain |
| QPushButton* makVrf::DtScenarioDescriptionDialog::myOK |
| QPushButton* makVrf::DtScenarioDescriptionDialog::myCancel |
| DtScenarioPreviewWidget* makVrf::DtScenarioDescriptionDialog::myScenarioInformation |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |