![]() |
VR-Forces 4.8 Class Documentation
|

Public Types | |
| enum | DisplayElement { ScenarioName = 1, SimulationTerrain, SimulationModelSet, ScenarioDescription, FrontEndTerrain, ComponentAttachmentTable, TimeMultiplier, CreateTerrainProcessor, CreateGlobalEnvironment, StartingDateAndTime, RunDuration, UseDayNightModel, RandomNumberSeed, FrameMode, FrameTime } |
| typedef std::map< QString, QWidget * > | FieldMap |
| typedef FieldMap::iterator | FieldIterator |
| typedef FieldMap::const_iterator | const_FieldIterator |
Public Slots | |
| virtual bool | chooseBackendFile () |
| Allows user to choose terrain files of a particular type for the backend. More... | |
| virtual void | chooseComponentAttachmentFile () |
| virtual bool | chooseDisplayFile () |
| virtual bool | chooseSimulationModelSetFiles () |
Signals | |
| void | simulationFileChanged (const QString &) |
| void | simulationModelSetFilesChanged (const QString &) |
Public Member Functions | |
| DtScenarioInformationWidget (makVrv::DtDe &de, QWidget *parent=NULL, const Qt::WindowFlags &flags=0, bool isNewScenario=false) | |
| virtual | ~DtScenarioInformationWidget () |
| virtual DtBrowseField * | addBrowseField (const QString &parentName, const QString &childName, const QString &labelText) |
| Adds a browse field to the parent widget, as identified by name. More... | |
| virtual DtComboBoxField * | addComboBoxField (const QString &parentName, const QString &childName, const QString &labelText) |
| Adds a browse field to the parent widget, as identified by name. More... | |
| virtual bool | addFieldWidget (const QString &parentName, QWidget *pWidget) |
| Adds the given widget to the parent widget, as identified by name. More... | |
| virtual QWidget * | findFieldWidget (const QString &widgetName) |
| Search the map of field widgets, return that widget or NULL if not found. More... | |
| virtual bool | init () |
| Initialize contents of display. More... | |
| virtual bool | setScenario (DtScenario *scenario) |
| Displays scenario information by opening up the specified scenario and filling our display. More... | |
| virtual bool | displayScenarioInformation (const QString &u) |
| virtual void | setEditable (bool b) |
| Sets whether or not the controls are editable. More... | |
| virtual void | setDisplayChangeWarningIcon (DtScenarioInformationWidget::DisplayElement, bool) |
| Whether or not to show the change warning icon for elements. More... | |
| virtual void | setShowScreenElement (DtScenarioInformationWidget::DisplayElement, bool) |
| Whether or not to show the particular screen element. More... | |
| virtual void | setEnableScreenElement (DtScenarioInformationWidget::DisplayElement, bool) |
| Whether or not to enable the display element. More... | |
| virtual void | setToScenario (DtScenario *scenario) |
| Sets information in the scenario preview widget to the supplied scenario. More... | |
| virtual void | setComponentAttachRule (int) |
| Sets/gets the component attach rule. More... | |
| virtual int | componentAttachRule () const |
| virtual bool | displayTerrainValid () const |
| Returns true if display terrain exists. More... | |
| virtual time_t | startDateAndTimeOfDay () const |
| Returns the start date and time of day (in seconds from 01/01/1970 00:00:00) More... | |
| virtual bool | simulationTerrainValid () const |
| Returns true if simulation terrain is not blank and has an extension. More... | |
| virtual bool | simulationModelSetsValid () const |
| Returns true if all simulation model set files exist. More... | |
| virtual bool | frameTimeValid () const |
| Returns true if frame time is not blank and is greater than 0. More... | |
| virtual bool | valid () const |
| const QString & | selectedScenarioFile () const |
| virtual void | setAdvancedInformationEnabled (bool) |
| Shows/hides advanced information. More... | |
| virtual void | showAdvanced (bool b) |
| virtual void | setShowComponentAttachCombo (bool) |
| virtual void | setCanSelectTerrain (bool) |
| virtual void | setShowPreview (bool) |
| Show/hide description preview. More... | |
| virtual bool | chooseBackendFileAndSMS () |
| virtual int | runDurationTime () const |
Public Attributes | |
| Ui_ScenarioInformationWidgetUi | myUiImpl |
| QDoubleValidator * | myDoubleValidator |
| DtSimulationTimeScaleWidgetSlider * | myTimeMultiplierWidget |
| DtComboBoxField * | myComponentAttachmentCombo |
| QTextBrowser * | myDescriptionView |
| QTextEdit * | myDescriptionEdit |
| DtTimeEntryWidget * | myRunDurationTime |
Protected Slots | |
| virtual void | simulationFileChanged () |
| virtual void | simulationModelSetFilesChanged () |
| virtual void | useDisplayTerrainChanged () |
| virtual void | smsSelectionChanged () |
| virtual void | frameModeChanged () |
| virtual void | showPreview () |
| Show/hide preview. More... | |
| virtual void | componentAttachmentRuleChangedByUser () |
Protected Member Functions | |
| virtual bool | chooseFile (QString title, QString ext, QString &file, QString &dirPath) |
| virtual DtSimulationTimeScaleWidgetSlider * | createAndInitTimeMultiplierWidget () |
| virtual void | secondsToDaysHoursMinutesSeconds (int in, int &days, int &hours, int &minutes, double &seconds) const |
| virtual int | stringToSeconds (const char *) const |
| Takes in a string of format "dd:hh:mm:ss" and converts it to seconds. More... | |
| virtual void | updateEnabledElements () |
| virtual QString | cleanPath (const std::string &path) const |
| virtual std::string | simulationModelSetFilesFromCombo () const |
| Returns the simulation model set files as selected from the combo box. More... | |
| virtual void | updateTimeOfDay (std::string, std::string) |
| virtual DtPickListWidget * | createPickListWidget (QWidget *parent) |
| virtual void | parseAllSmsFilesForFileList (const QString &smsFilename, const char *pListNameToFind, QStringList &fileList) |
| Iterates through Sms files and calls parseSmsForFileList on each one. More... | |
| virtual void | parseSmsForFileList (const QString &smsFilename, const char *pListNameToFind, QStringList &fileList) |
| virtual void | populateFromSms (const QString &smsFileName) |
Protected Attributes | |
| FieldMap | myFieldMap |
| DtScenario * | myScenario |
| QStringList | myFrameModeStrings |
| bool | myEditable |
| makVrv::DtDe & | myDe |
| QString | mySelectedScenarioFile |
| bool | myCanSelectTerrain |
| bool | myUserChangedComponentAttachRule |
| bool | myIsNewScenario |
| std::set< int > | myEnabledElements |
| typedef std::map<QString,QWidget *> makVrf::DtScenarioInformationWidget::FieldMap |
| typedef FieldMap::iterator makVrf::DtScenarioInformationWidget::FieldIterator |
| typedef FieldMap::const_iterator makVrf::DtScenarioInformationWidget::const_FieldIterator |
| makVrf::DtScenarioInformationWidget::DtScenarioInformationWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent = NULL, |
||
| const Qt::WindowFlags & | flags = 0, |
||
| bool | isNewScenario = false |
||
| ) |
|
virtual |
|
virtual |
Adds a browse field to the parent widget, as identified by name.
Returns the browse widget if parent is found and childName does not already exist.
|
virtual |
Adds a browse field to the parent widget, as identified by name.
Returns the combo box widget if parent is found and childName does not already exist.
|
virtual |
Adds the given widget to the parent widget, as identified by name.
Returns true if parent widget was found and the widget was added.
|
virtual |
Search the map of field widgets, return that widget or NULL if not found.
|
virtual |
Initialize contents of display.
|
virtual |
Displays scenario information by opening up the specified scenario and filling our display.
|
virtual |
|
virtual |
Sets whether or not the controls are editable.
|
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.
The setting of editable after making individual changes will clear all editable items, so, only call this after calling the main setEditable
|
virtual |
Sets information in the scenario preview widget to the supplied scenario.
|
virtual |
Sets/gets the component attach rule.
|
virtual |
|
virtual |
Returns true if display terrain exists.
|
virtual |
Returns the start date and time of day (in seconds from 01/01/1970 00:00:00)
|
virtual |
Returns true if simulation terrain is not blank and has an extension.
|
virtual |
Returns true if all simulation model set files exist.
|
virtual |
Returns true if frame time is not blank and is greater than 0.
|
virtual |
|
inline |
|
virtual |
Shows/hides advanced information.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Show/hide description preview.
|
virtual |
|
virtual |
|
signal |
|
signal |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Takes in a string of format "dd:hh:mm:ss" and converts it to seconds.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Returns the simulation model set files as selected from the combo box.
|
virtualslot |
Allows user to choose terrain files of a particular type for the backend.
Invokes processFileOpenDatabase to do so
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
Show/hide preview.
|
protectedvirtualslot |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Iterates through Sms files and calls parseSmsForFileList on each one.
|
protectedvirtual |
|
protectedvirtual |
| Ui_ScenarioInformationWidgetUi makVrf::DtScenarioInformationWidget::myUiImpl |
| QDoubleValidator* makVrf::DtScenarioInformationWidget::myDoubleValidator |
| DtSimulationTimeScaleWidgetSlider* makVrf::DtScenarioInformationWidget::myTimeMultiplierWidget |
| DtComboBoxField* makVrf::DtScenarioInformationWidget::myComponentAttachmentCombo |
| QTextBrowser* makVrf::DtScenarioInformationWidget::myDescriptionView |
| QTextEdit* makVrf::DtScenarioInformationWidget::myDescriptionEdit |
| DtTimeEntryWidget* makVrf::DtScenarioInformationWidget::myRunDurationTime |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |