![]() |
VR-Forces 5.0.3 Developer's Guide
|
This widget contains fields for adjusting radio communications settings.

Public Member Functions | |
| DtRadioCommunicationsSettingsWidget (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget) | |
| virtual | ~DtRadioCommunicationsSettingsWidget () |
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 (const 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 () |
| void | connectToSignals () |
| virtual void | updateEnabledStates () |
| 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 |