VR-Forces 4.1 Class Documentation
List of all members | 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]

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

virtual makVrf::DtScenarioDescriptionDialog::~DtScenarioDescriptionDialog ( )
virtual

Member Function Documentation

virtual void makVrf::DtScenarioDescriptionDialog::setDisplayOnly ( bool  )
virtual

Sets to a mode where it is display only.

virtual void makVrf::DtScenarioDescriptionDialog::setShowNeverShowAgain ( bool  )
virtual

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

virtual void makVrf::DtScenarioDescriptionDialog::closeEvent ( QCloseEvent *  )
virtual
virtual void makVrf::DtScenarioDescriptionDialog::setupGui ( )
virtual
virtual bool makVrf::DtScenarioDescriptionDialog::neverShowAgain ( ) const
virtual

Returns true if this dialog should never be shown again.

virtual void makVrf::DtScenarioDescriptionDialog::setScenarioInformation ( const DtIfScenarioDescriptionMessage )
virtual

Sets the scenario information.

virtual void makVrf::DtScenarioDescriptionDialog::setHideCancel ( bool  )
virtual
virtual void makVrf::DtScenarioDescriptionDialog::scenarioDescriptionCallback ( DtSimMessage )
protectedvirtual

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

virtual void makVrf::DtScenarioDescriptionDialog::accept ( )
protectedvirtual

Sends updated description to back-end.

Member Data Documentation

boost::signal<void ()> makVrf::DtScenarioDescriptionDialog::signal_closed

Signal sent when window is closing.

QCheckBox* makVrf::DtScenarioDescriptionDialog::myNeverShowAgain
QPushButton* makVrf::DtScenarioDescriptionDialog::myOK
QPushButton* makVrf::DtScenarioDescriptionDialog::myCancel
DtScenarioPreviewWidget* makVrf::DtScenarioDescriptionDialog::myScenarioInformation
DtScenario makVrf::DtScenarioDescriptionDialog::myScenario
protected
makVrv::DtDe& makVrf::DtScenarioDescriptionDialog::myDe
protected
bool makVrf::DtScenarioDescriptionDialog::myIsEditable
protected
bool makVrf::DtScenarioDescriptionDialog::myDoNotDisplayIfNoDescription
protected

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)