![]() |
VR-Forces 4.10 Class Documentation
|
Widget subclassed from makVrv::DtDisplayUnitsSettingsWidget to add timezone selection, and time formatting. More...

Public Member Functions | |
| DtVrfDisplayUnitsSettingsWidget (makVrv::DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget) | |
| CTOR. More... | |
| virtual | ~DtVrfDisplayUnitsSettingsWidget () |
| Virtual DTOR. More... | |
Public Member Functions inherited from makVrv::DtDisplayUnitsSettingsWidget | |
| DtDisplayUnitsSettingsWidget (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget) | |
| CTOR. More... | |
| virtual | ~DtDisplayUnitsSettingsWidget () |
| Virtual DTOR. More... | |
| virtual void | addDisplayUnitToUI (const DtUnicode &displayUnitCollectionName, const DtUnicode &displayUnitName, makArchives::DtDisplayUnitsSettingsRecord::DisplayUnitType type) |
| Add a display unit to the interface. More... | |
| virtual void | updateDisplayUnitUnit (const std::string &displayUnitCollectionName, const std::string &displayUnitName, unsigned int unitEnumValue) |
| Update the interface to reflect the new unit of measurement a display unit uses. More... | |
| virtual void | updateDisplayUnitDecimals (const std::string &displayUnitCollectionName, const std::string &displayUnitName, unsigned int decimals) |
| Update the interface to reflect the new number of decimals a display unit uses. More... | |
| virtual void | updateDisplayUnitName (const DtUnicode &displayUnitCollectionName, const DtUnicode &displayUnitName, const DtUnicode &newDisplayName) |
| Update the name of a display unit in the UI. More... | |
| virtual void | setDisplayUnitDecimalsQSpinBoxVisible (const std::string &displayUnitCollectionName, const std::string &displayUnitName, bool isVisible) |
| Update the visibility of a QSpinBox associated with a display unit. More... | |
| virtual void | addSuppressMagneticNorthNotationCheckBox () |
| Add a checkbox that toggles the suppression of magnetic north notation to the GUI. More... | |
| virtual void | setSuppressMagneticNorthNotationEnabled (bool enabled) |
| Set the state of the QCheckBox for suppressing magnetic north notation. More... | |
| virtual void | addObjectTypeToUI (const DtUnicode &objectType) |
| Add an object type to the interface. More... | |
| virtual std::string | currentObjectType () const |
| Get the currently selected object type. More... | |
| virtual void | populateDisplayUnitComboBoxes (makArchives::DtDisplayUnitsSettingsRecord::DisplayUnitType displayUnitType, const DtUnicode &name, unsigned int unitEnumValue) |
| Populate the appropriate unit of measurement combo boxes. More... | |
| virtual void | clear () |
| Removes all the display units and unit of measurements from the GUI. More... | |
Public Member Functions inherited from makVrv::DtDisplayUnitsSettingsInterface | |
| virtual | ~DtDisplayUnitsSettingsInterface () |
| DTOR. More... | |
Public Attributes | |
| QLabel * | myTimeDisplayLabel |
| QLabel * | myTimezoneLabel |
| QLabel * | myTimeFormatLabel |
| QComboBox * | myTimezoneCombo |
| QComboBox * | myDateTimeFormat |
| QComboBox * | myFormatsSetCombo |
Public Attributes inherited from makVrv::DtDisplayUnitsSettingsWidget | |
| QGridLayout * | myMainLayout |
| QHBoxLayout * | myObjectTypeLayout |
| QLabel * | myObjectTypeLabel |
| QComboBox * | myObjectTypeComboBox |
| QLabel * | myDecimalPlacesLabel |
| std::map< std::string, std::set< QWidget * > > | myDynamicWidgets |
| std::map< std::string, unsigned int > | myDynamicWidgetsLayoutIndices |
| std::map < makArchives::DtDisplayUnitsSettingsRecord::DisplayUnitType, std::set< QComboBox * > > | myComboBoxesByDisplayUnitType |
Public Attributes inherited from makVrv::DtDisplayUnitsSettingsInterface | |
| boost::signalslib::signal< void()> | signal_currentObjectTypeChanged |
| Used to signal the logic class when the currently selected object type, e.g. More... | |
| boost::signalslib::signal < void(const std::string &displayUnitCollectionName, const std::string &displayUnitName, unsigned int unitEnumValue)> | signal_displayUnitUnitChanged |
| Used to signal the logic class when the unit of measurement to use for a display unit has changed in the GUI. More... | |
| boost::signalslib::signal < void(const std::string &displayUnitCollectionName, const std::string &displayUnitName, unsigned int decimals)> | signal_displayUnitDecimalsChanged |
| Used to signal the logic class when the number of decimal places to use for a display unit has changed in the GUI. More... | |
| boost::signalslib::signal < void(bool suppressMagNorthNotation)> | signal_suppressMagneticNorthNotationChanged |
| Used to signal the logic class when the checkbox indicating whether or not to suppress magnetic north notation has changed in the GUI. More... | |
Protected Slots | |
| virtual void | timezoneChanged () |
| virtual void | dateTimeFormatChanged () |
| virtual void | formatsSetChanged () |
Protected Slots inherited from makVrv::DtDisplayUnitsSettingsWidget | |
| void | slot_onObjectTypeChanged (int index) |
| void | slot_onDisplayUnitUnitChanged (int unit) |
| void | slot_onDisplayUnitDecimalsChanged (int decimals) |
| void | slot_onSuppressMagneticNorthNotationCheckboxChanged (int state) |
Protected Member Functions | |
| virtual void | slot_timezoneChanged (const std::string &oldTimezone, const std::string &newTimezone) |
| Sets the timezone to use. More... | |
| virtual void | slot_dateAndTimeFormattingChanged (const std::string &newFormat) |
| Sets the display of the date/time. More... | |
| virtual void | slot_formatsSetChanged (const std::string &newFormatsSet) |
| virtual void | refreshTimezones () |
Protected Member Functions inherited from makVrv::DtDisplayUnitsSettingsWidget | |
| virtual void | setupGui () |
| Sets up the GUI with three sections for some number of display units, added via addDisplayUnitToUI(...). More... | |
| virtual std::string | getDisplayUnitKey (const std::string &displayUnitCollectionName, const std::string &displayUnitName) const |
| Get the string key for a display unit The key is used internally to group its dynamic children widgets by storing the key in widgets that control a display unit setting, e.g. More... | |
Protected Attributes | |
| makVrv::DtSignalConnectionManager | myConnectionManager |
| bool | myHasCustomDateTimeFormat |
| bool | myResizeTimezonesToContent |
| unsigned int | myNextAvailableVrfRowIndex |
Protected Attributes inherited from makVrv::DtDisplayUnitsSettingsWidget | |
| DtDe & | myDe |
| unsigned int | myNextAvailableObjectRowIndex |
| These are used to maintain the next free row in the QGridLayout so display units can continually be added to the GUI. More... | |
| unsigned int | myNextAvailableApplicationRowIndex |
| unsigned int | myNextAvailableWeatherRowIndex |
Widget subclassed from makVrv::DtDisplayUnitsSettingsWidget to add timezone selection, and time formatting.
Same information is also available on the Date/Time section of the environment page
| makVrf::DtVrfDisplayUnitsSettingsWidget::DtVrfDisplayUnitsSettingsWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | f = Qt::Widget |
||
| ) |
CTOR.
|
virtual |
Virtual DTOR.
|
protectedvirtual |
Sets the timezone to use.
|
protectedvirtual |
Sets the display of the date/time.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
| QLabel* makVrf::DtVrfDisplayUnitsSettingsWidget::myTimeDisplayLabel |
| QLabel* makVrf::DtVrfDisplayUnitsSettingsWidget::myTimezoneLabel |
| QLabel* makVrf::DtVrfDisplayUnitsSettingsWidget::myTimeFormatLabel |
| QComboBox* makVrf::DtVrfDisplayUnitsSettingsWidget::myTimezoneCombo |
| QComboBox* makVrf::DtVrfDisplayUnitsSettingsWidget::myDateTimeFormat |
| QComboBox* makVrf::DtVrfDisplayUnitsSettingsWidget::myFormatsSetCombo |
|
protected |
|
protected |
|
protected |