![]() |
VR-Forces Development_Version Class Documentation
|
This widget contains fields for adjusting radio communications settings. More...

Public Member Functions | |
| DtRadioCommunicationsSettingsWidget (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget) | |
| CTOR. | |
| virtual | ~DtRadioCommunicationsSettingsWidget () |
| Virtual DTOR. | |
Setters/Getters for the widget's settings' fields. | |
Setters updates the value displayed in the field (without signaling that the field has changed - signals only fire on user input). | |
| virtual void | setRadioCommsVisibility (bool visible) |
| virtual void | setCommLinesVisibility (bool visible) |
| virtual void | setSquawkIndicatorsVisibility (bool visible) |
| virtual void | setCommLineLifetime (double lifetime) |
| virtual void | setSquawkIndicatorLifetime (double lifetime) |
| virtual void | setCommLineDisplayMode (makArchives::DtRadioCommunicationsSettingsRecord::CommLineMode mode) |
| virtual void | setGreatCircleExaggerationAmount (double amount) |
| virtual void | setDefaultColoringMode (makArchives::DtRadioCommunicationsSettingsRecord::DefaultColoringMode mode) |
| virtual void | setDefaultFrequencyColor (float r, float g, float b) |
| virtual void | setDefaultFrequencyColor (QColor color) |
| virtual void | addFrequencyRange (float rangeStart, float rangeEnd, float r, float g, float b) |
| virtual void | clearFrequencyRanges () |
| virtual void | setCurrentGradient (const DtRangeEditorInterface::Gradient &grad) |
| virtual DtRangeEditorInterface::Gradient | currentGradient () const |
Widget Value Setters/Getters | |
Used by the logic to update the widget. | |
Protected Slots | |
These slots receive notification that user has modified a widget. | |
The slots fire the signals provided by DtRadioCommunicationsSettingsInterface, that notify the logic that the user has modified a setting. | |
| void | slot_onRadioCommsVisibilityChanged (bool visible) |
| void | slot_onCommLinesVisiblityChanged (bool visible) |
| void | slot_onSquawkIndicatorsVisibilityChanged (bool visible) |
| void | slot_onCommLineLifetimeChanged (double lifetime) |
| void | slot_onSquawkIndicatorLifetimeChanged (double lifetime) |
| void | slot_onCommLineDisplayModeChanged (int index) |
| void | slot_onGreatCircleExaggerationAmountChanged (int val) |
| void | slot_onDefaultColorRadioButtonToggled (bool onOff) |
| void | slot_onRequestChangeDefaultFrequencyColor () |
| void | slot_gradientChanged (const DtRangeEditorInterface::Gradient &grad) |
Protected Member Functions | |
| void | setupGui () |
| Sets up the widget's fields. | |
| void | connectToSignals () |
| Connects widget signals to slots. | |
| virtual void | updateEnabledStates () |
| Updates the enabled states of the widget's fields. | |
Protected Attributes | |
| QCheckBox * | myRadioCommsVisibilityCheckBox |
| QCheckBox * | myCommLinesVisibilityCheckBox |
| QCheckBox * | mySquawkIndicatorsVisibilityCheckBox |
| QDoubleSpinBox * | myCommLineLifetimeSpinner |
| QDoubleSpinBox * | mySquawkIndicatorLifetimeSpinner |
| QComboBox * | myCommLineDisplayModeCombo |
| QLabel * | myCommLineLifetimeLabel |
| QLabel * | mySquawkIndicatorLifetimeLabel |
| QLabel * | myCommLineDisplayModeLabel |
| QLabel * | myGreatCircleExaggerationLabel |
| QSlider * | myGreatCircleExaggerationSlider |
| QRadioButton * | myForceColorRadioButton |
| QRadioButton * | myCustomColorRadioButton |
| QLabel * | myOutOfRangeColorLabel |
| QLabel * | myOutOfRangeColorSwatch |
| DtRangeEditorWidget * | myRangeEditorWidget |
| QColor | mySwatchColor |
| DtDe & | myDe |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtRadioCommunicationsSettingsInterface | |
| boost::signal< void(bool)> | signal_radioCommsVisiblityChanged |
| Signals that the user has changed the radio communications visibility field. | |
| boost::signal< void(bool)> | signal_radioCommLinesVisibilityChanged |
| Signals that the user has changed the comm lines' visibility field. | |
| boost::signal< void(bool)> | signal_radioSquawkIndicatorsVisibilityChanged |
| Signals that the user has changed the squawk indicators' visibility field. | |
| boost::signal< void(double)> | signal_commLineLifetimeChanged |
| Signals that the user has changed the comm lines' lifetime field. | |
| boost::signal< void(double)> | signal_squawkIndicatorLifetimeChanged |
| Signals that the user has changed the squawk indicators' lifetime field. | |
| boost::signal< void(makArchives::DtRadioCommunicationsSettingsRecord::CommLineMode)> | signal_commLineDisplayModeChanged |
| Signals that the user has changed the comm lines' display mode. | |
| boost::signal< void(double)> | signal_greatCircleExaggerationAmountChanged |
| Signals that the user has changed the curved earth exaggeration amount. | |
| boost::signal< void(makArchives::DtRadioCommunicationsSettingsRecord::DefaultColoringMode)> | signal_defaultColoringModeChanged |
| Signals that the user has changed the coloring mode for radio communications. | |
| boost::signal< void()> | signal_defaultFrequencyColorChangeRequested |
| Signals that the user has requested to modify the default frequency color. | |
| boost::signal< void(const DtRangeEditorInterface::Gradient &)> | signal_gradientChanged |
| Signals that the user has changed the configured frequency ranges. | |
This widget contains fields for adjusting radio communications settings.
| makVrv::DtRadioCommunicationsSettingsWidget::DtRadioCommunicationsSettingsWidget | ( | DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | f = Qt::Widget |
||
| ) |
CTOR.
|
virtual |
Virtual DTOR.
|
virtual |
Implements makVrv::DtRadioCommunicationsSettingsInterface.
|
virtual |
Implements makVrv::DtRadioCommunicationsSettingsInterface.
|
virtual |
Implements makVrv::DtRadioCommunicationsSettingsInterface.
|
virtual |
Implements makVrv::DtRadioCommunicationsSettingsInterface.
|
virtual |
Implements makVrv::DtRadioCommunicationsSettingsInterface.
|
virtual |
Implements makVrv::DtRadioCommunicationsSettingsInterface.
|
virtual |
Implements makVrv::DtRadioCommunicationsSettingsInterface.
|
virtual |
Implements makVrv::DtRadioCommunicationsSettingsInterface.
|
virtual |
Implements makVrv::DtRadioCommunicationsSettingsInterface.
|
virtual |
|
virtual |
Implements makVrv::DtRadioCommunicationsSettingsInterface.
|
virtual |
Implements makVrv::DtRadioCommunicationsSettingsInterface.
|
virtual |
Implements makVrv::DtRadioCommunicationsSettingsInterface.
|
virtual |
Implements makVrv::DtRadioCommunicationsSettingsInterface.
|
protected |
Sets up the widget's fields.
Non-virtual (Called from CTOR).
|
protected |
Connects widget signals to slots.
Non-virtual (Called from CTOR).
|
protectedvirtual |
Updates the enabled states of the widget's fields.
Checks what settings are enabled and greys out fields as appropriate.
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |