VR-Forces 4.0.4 Class Documentation
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
makVrf::DtScenarioDescriptionDialog Class Reference

Will show a dialog that will request the scenario description. More...

Inheritance diagram for makVrf::DtScenarioDescriptionDialog:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtScenarioDescriptionDialog (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=Qt::Tool, bool doNotDisplayIfNoDescription=false)
 returned, this dialog will be closed and deleted
virtual ~DtScenarioDescriptionDialog ()
virtual void setDisplayOnly (bool)
 Sets to a mode where it is display only.
virtual void setShowNeverShowAgain (bool)
 Shows the "never show again" checkbox. By default this is hidden.
virtual void closeEvent (QCloseEvent *)
virtual void setupGui ()
virtual bool neverShowAgain () const
 Returns true if this dialog should never be shown again.
virtual void setScenarioInformation (const DtIfScenarioDescriptionMessage *)
 Sets the scenario information.
virtual void setHideCancel (bool)

Public Attributes

boost::signal< void()> signal_closed
 Signal sent when window is closing.
QCheckBoxmyNeverShowAgain
QPushButtonmyOK
QPushButtonmyCancel
DtScenarioPreviewWidgetmyScenarioInformation

Protected Member Functions

virtual void scenarioDescriptionCallback (DtSimMessage *)
 Called when scenario description is received from the currently selected back-end.
virtual void accept ()
 Sends updated description to back-end.

Protected Attributes

DtScenario myScenario
makVrv::DtDemyDe
bool myIsEditable
bool myDoNotDisplayIfNoDescription

Detailed Description

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


Constructor & Destructor Documentation

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


Member Function Documentation

Sets to a mode where it is display only.

Shows the "never show again" checkbox. By default this is hidden.

virtual void makVrf::DtScenarioDescriptionDialog::closeEvent ( QCloseEvent *  ) [virtual]

Returns true if this dialog should never be shown again.

Sets the scenario information.

Called when scenario description is received from the currently selected back-end.

virtual void makVrf::DtScenarioDescriptionDialog::accept ( ) [protected, virtual]

Sends updated description to back-end.


Member Data Documentation

Signal sent when window is closing.


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)