![]() |
VR-Forces 4.10 Class Documentation
|
The class that will contain information about various scenario settings. More...

Public Member Functions | |
| DtVrfGuiSettingsManager (makVrv::DtDe &) | |
| virtual | ~DtVrfGuiSettingsManager () |
| virtual void | setHelpFile (const std::string &, bool save=false) |
| Sets the help file to use when pressing the F1 key. More... | |
| virtual std::string | helpFile () const |
| virtual void | setFromRecord (const DtVrfGuiSettingsRecord &rec) |
| virtual void | loadDefaultGuiSettings (bool loadOnlyFactorySettings=false) |
| virtual void | getRecord (DtVrfGuiSettingsRecord &rec) const |
| virtual void | setGrayOutHiddenItems (bool) |
| If items are hidden, gray the icon out on any list view (except palette and info windows) that has that icon (default is true) More... | |
| virtual bool | grayOutHiddenItems () const |
| virtual void | setOrganizeOverlaysByCategory (bool) |
| Organize all objects that are created on overlays that represent their top level category on the overlays tab and list (default is true) More... | |
| virtual bool | organizeOverlaysByCategory () const |
| virtual void | getSplitRecord (std::vector< DtVrfGuiSettingsRecord > &rec, std::vector< std::string > &fileNames) |
| To support writing element definitions in folders as multiple files not implemented. More... | |
| virtual void | addRecords (DtVrfGuiSettingsRecord &recs, DtVrfGuiSettingsRecord &combinedRec) |
| To support writing element definitions in folders as multiple files not implemented. More... | |
| virtual void | setAutoSave (bool) |
| Set to false to not save on settings change. Default is true. More... | |
| virtual bool | autoSave () const |
| virtual bool | zoomToScenarioExtentsOnLoad () const |
| Access to gui record information. More... | |
| virtual bool | useSimulationTimeForAdvancement () const |
| virtual bool | showOverlayBar () const |
| virtual void | setUseAdditionalWindowTitle (bool) |
| Sets whether or not to use extended window title. More... | |
| virtual bool | useAdditionalWindowTitle () const |
| virtual void | setAdditionalWindowTitle (const makVrv::DtUnicode &) |
| Returns the additional window title. More... | |
| virtual makVrv::DtUnicode | additionalWindowTitle () const |
| virtual void | setUseStartFreezePdus (bool) |
| Sets whether or not to use DIS start/freeze PDUs or VRF start/stop PDUs. More... | |
| virtual bool | useStartFreezePdus () const |
| virtual void | setAllowWindowsStyleNameEditing (bool) |
| Sets whether or not to use windows style name editing for certain widgets in the gui. More... | |
| virtual bool | allowWindowsStyleNameEditing () const |
| virtual void | setEditPressTime (double) |
| The time delay before allowing the name edit (if enabled) to occur. Default is 1/2 second. More... | |
| virtual double | editPressTime () const |
| virtual void | setSortTaskSetMenus (bool) |
| Sets whether or not to sort the task/set menus. More... | |
| virtual bool | sortTaskSetMenus () const |
| virtual void | setPromptBeforeAbandoningPlan (bool) |
| Get/set whether or user will be prompted to abandon plan before assigning task. More... | |
| virtual bool | promptBeforeAbandoningPlan () const |
| virtual void | setPromptBeforeInterruptingTask (bool) |
| Get/set whether or user will be prompted to interrupt current task before assigning task. More... | |
| virtual bool | promptBeforeInterruptingTask () const |
| virtual void | setUseDoubleClickToEndRouteCreation (bool) |
| Get/set whether or user will use double click to end route/area creation. More... | |
| virtual bool | useDoubleClickToEndRouteCreation () const |
| makVrv::DtRecordSettingsBackupInterface * | guiSettingsBackup () |
| void | exportGuiSettings (const std::string &fileName) |
| Exports the current cache settings to a file. More... | |
| void | importGuiSettings (const std::string &fileName) |
| Import the current cache settings from a file. More... | |
| virtual void | setDisplayCorrelationWarningMessages (bool) |
| Shows/does not show correlation warnings dialog. More... | |
| virtual bool | displayCorrelationWarningMessages () const |
| virtual void | setDoNotShowSessionStartupDialog (bool, bool save=true, bool signal=true) |
| Sets whether or not to show the startup session dialog. More... | |
| bool | showSessionStartupDialog () const |
| virtual void | setStartupPreference (int) |
| Preference on startup (new scenario or load scenario) More... | |
| int | startupPreference () const |
| virtual void | setTimeScaleRange (double low, double high, bool save=true) |
| Sets the low/hight range of timescale timer. More... | |
| virtual void | getTimeScaleRange (double &low, double &high) const |
| virtual void | setUserDefinedSmoothing (bool) |
| Sets whether or not the user or system is defining smoothing in performance options. More... | |
| bool | userDefinedSmoothing () const |
| virtual void | setShowScenarioDescriptionDialog (bool b) |
| Sets whether or not to show scenario description message box. More... | |
| virtual bool | showScenarioDescriptionDialog () const |
| virtual void | setTimescaleButtonMode (bool) |
| Set to true to show the timescale as buttons rather than a slider. More... | |
| virtual bool | timescaleButtonMode () |
| virtual void | setTimescaleButtons (const std::string &) |
| Set the buttons to show on the timescale if in button mode. semi-colon delimited (i.e. "1;2;5;10;20") More... | |
| virtual const std::string & | timescaleButtons () const |
| virtual void | saveSettingsAsDefault () |
| Saves if auto-save is turned on. More... | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Static Public Member Functions | |
| static DtVrfGuiSettingsManager & | instance (makVrv::DtDe &de) |
| Returns instance of the messager. More... | |
| static void | registerInstance (makVrv::DtDe &de, DtVrfGuiSettingsManager *) |
Public Attributes | |
| boost::signals2::signal< void(const DtVrfGuiSettingsRecord &)> | signal_guiSettingsChanged |
| Sent when gui settings have changed. More... | |
| boost::signals2::signal< void(bool)> | signal_grayOutHiddenItemsChanged |
| Signal sent when gray out has changed. More... | |
| boost::signals2::signal< void(bool)> | signal_organizeOverlaysByCategoryChanged |
| Signal sent when organizing by categories changes. More... | |
| boost::signals2::signal< void(bool)> | signal_taskSetMenuSortChanged |
| Sent when the sorting of task/set menus has changed. More... | |
| boost::signals2::signal< void(bool)> | signal_allowWindowsStyleNameEditingChanged |
| Signal sent when windows style name editing has changed. More... | |
| boost::signals2::signal< void(bool)> | signal_editPressTimeChanged |
| Signal sent when the edit press time has changed. More... | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtVrfGuiSettingsRecord | myGuiSettings |
| makVrv::DtRecordSettingsBackupInterface * | myGuiSettingsBackup |
The class that will contain information about various scenario settings.
| makVrf::DtVrfGuiSettingsManager::DtVrfGuiSettingsManager | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
Returns instance of the messager.
|
static |
|
virtual |
Sets the help file to use when pressing the F1 key.
Note this will be a permanent change and will be using that file the next time the application is started if the save flag is true. By default is false
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
If items are hidden, gray the icon out on any list view (except palette and info windows) that has that icon (default is true)
|
virtual |
|
virtual |
Organize all objects that are created on overlays that represent their top level category on the overlays tab and list (default is true)
|
virtual |
|
inlinevirtual |
To support writing element definitions in folders as multiple files not implemented.
|
inlinevirtual |
To support writing element definitions in folders as multiple files not implemented.
|
virtual |
Set to false to not save on settings change. Default is true.
|
virtual |
|
virtual |
Access to gui record information.
To set, get record and then reset vis setFromRecord
|
virtual |
|
virtual |
|
virtual |
Sets whether or not to use extended window title.
The extended window title will be added to the end of the existing window title in parenthesis
|
virtual |
|
virtual |
Returns the additional window title.
|
virtual |
|
virtual |
Sets whether or not to use DIS start/freeze PDUs or VRF start/stop PDUs.
|
virtual |
|
virtual |
Sets whether or not to use windows style name editing for certain widgets in the gui.
|
virtual |
|
virtual |
The time delay before allowing the name edit (if enabled) to occur. Default is 1/2 second.
|
virtual |
|
virtual |
Sets whether or not to sort the task/set menus.
|
virtual |
|
virtual |
Get/set whether or user will be prompted to abandon plan before assigning task.
|
virtual |
|
virtual |
Get/set whether or user will be prompted to interrupt current task before assigning task.
|
virtual |
|
virtual |
Get/set whether or user will use double click to end route/area creation.
|
virtual |
|
inline |
| void makVrf::DtVrfGuiSettingsManager::exportGuiSettings | ( | const std::string & | fileName | ) |
Exports the current cache settings to a file.
| void makVrf::DtVrfGuiSettingsManager::importGuiSettings | ( | const std::string & | fileName | ) |
Import the current cache settings from a file.
|
virtual |
Shows/does not show correlation warnings dialog.
|
virtual |
|
virtual |
Sets whether or not to show the startup session dialog.
| bool makVrf::DtVrfGuiSettingsManager::showSessionStartupDialog | ( | ) | const |
|
virtual |
Preference on startup (new scenario or load scenario)
| int makVrf::DtVrfGuiSettingsManager::startupPreference | ( | ) | const |
|
virtual |
Sets the low/hight range of timescale timer.
|
virtual |
|
virtual |
Sets whether or not the user or system is defining smoothing in performance options.
| bool makVrf::DtVrfGuiSettingsManager::userDefinedSmoothing | ( | ) | const |
|
virtual |
Sets whether or not to show scenario description message box.
|
virtual |
|
virtual |
Set to true to show the timescale as buttons rather than a slider.
This will have no effect after the widget is created
|
virtual |
|
virtual |
Set the buttons to show on the timescale if in button mode. semi-colon delimited (i.e. "1;2;5;10;20")
|
virtual |
|
virtual |
Saves if auto-save is turned on.
| boost::signals2::signal<void (const DtVrfGuiSettingsRecord&)> makVrf::DtVrfGuiSettingsManager::signal_guiSettingsChanged |
Sent when gui settings have changed.
| boost::signals2::signal<void (bool)> makVrf::DtVrfGuiSettingsManager::signal_grayOutHiddenItemsChanged |
Signal sent when gray out has changed.
| boost::signals2::signal<void (bool)> makVrf::DtVrfGuiSettingsManager::signal_organizeOverlaysByCategoryChanged |
Signal sent when organizing by categories changes.
| boost::signals2::signal<void (bool)> makVrf::DtVrfGuiSettingsManager::signal_taskSetMenuSortChanged |
Sent when the sorting of task/set menus has changed.
| boost::signals2::signal<void (bool)> makVrf::DtVrfGuiSettingsManager::signal_allowWindowsStyleNameEditingChanged |
Signal sent when windows style name editing has changed.
| boost::signals2::signal<void (bool)> makVrf::DtVrfGuiSettingsManager::signal_editPressTimeChanged |
Signal sent when the edit press time has changed.
|
protected |
|
protected |
|
protected |