![]() |
VR-Forces 4.0.4 Class Documentation
|
This class will allow users to modify intervisibility settings. More...

Public Member Functions | |
| DtIntervisibilitySettingsWidget (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget) | |
| CTOR. | |
| virtual | ~DtIntervisibilitySettingsWidget () |
| Virtual DTOR. | |
| virtual void | cancel () |
| Cancels page. | |
Field value setters. | |
Sets the values of the widget's corresponding fields. | |
| virtual void | setIntervisibilityEnabled (bool) |
| Globally enables or disables intervisibity elements. | |
| virtual void | setLeftClickMakesObjectsPermanent (bool) |
| When left click is pressed, the object will stay, else a new one will be created at the left click spot, removing the old one. | |
| virtual void | setIntervisibilityElevationDecimals (int decimals) |
| Sets the precision used in the elevation fields. | |
| virtual void | setOriginIntervisibilityElevation (double) |
| Sets the distance above the origin to place the intervisibility line. | |
| virtual void | setOriginIntervisibilityElevationLabel (const DtUnicode &label) |
| Sets the label indicating the origin's elevation units. | |
| virtual void | setEndPointIntervisibilityElevation (double) |
| Sets the distance above the end point to place the intervisibility line. | |
| virtual void | setEndPointIntervisibilityElevationLabel (const DtUnicode &label) |
| Sets the label indicating the endpoint's elevation units. | |
| virtual void | setFanModeSamplingRate (double) |
| Sets the fan mode sampling rate (in the appropriate unit). | |
| virtual void | setFanModeSamplingRateMin (double) |
| Sets the fan mode min sampling rate (in the appropriate unit). | |
| virtual void | setFanModeSamplingRateMax (double) |
| Sets the fan mode max sampling rate (in the appropriate unit). | |
| virtual void | setFanModeSamplingRatePrecision (int decimals) |
| Sets the fan mode sampling rate precision. | |
| virtual void | setFanModeSamplingRateUnitLabel (const DtUnicode &label) |
| Sets the fan mode sampling rate unit label. | |
| virtual void | setEntityFanUpdateRate (double) |
| Sets the entity fan mode update rate. | |
| virtual void | setVisibleColor (const QColor &) |
| Sets the visible color. | |
| virtual void | setBlockedColor (const QColor &) |
| Sets the blocked color. | |
| virtual void | setCircleColor (const QColor &) |
| Sets the circle color. | |
| virtual void | setHatLinesEnabled (bool) |
| Sets height above terrain lines enabled. | |
| virtual void | setHatLinesOnSelectionOnly (bool) |
| Set to show height above terrain lines only when the object is selected. | |
| virtual void | setEntityFanUpdateRateEnabled (bool) |
| Shows/hides entity fan upate rate. | |
| virtual void | setFanModeSamplingRateEnabled (bool) |
| Shows/hides fan mode sampling rate. | |
| virtual void | setCircleColorEnabled (bool) |
| Shows/hides circle color. | |
| virtual void | setLeftClickMakesObjectsPermanentEnabled (bool) |
| Shows/hides left click permanent. | |
| virtual void | setRangeInfoLabelsEnabled (bool enabled) |
| Sets whether range info labels are displayed at the endpoints of intervisibility lines. | |
| virtual void | setRangeInfoLabelBackgroundOpacity (float opacity) |
| Sets the value to display on the backgroun opacity slider. | |
| virtual void | setRangeInfoLabelBackgroundColor (const QColor &color) |
| Sets the color to show as the current color on the background color selection button. | |
| virtual void | setRangeInfoAltChangeFieldEnabled (bool enabled) |
| Sets the state of the show altitude change field check box. | |
| virtual void | setRangeInfoLocationFieldEnabled (bool enabled) |
| Sets the state of the show location field check box. | |
| virtual void | setRangeInfoHeadingFieldEnabled (bool enabled) |
| Sets the state of the show heading field check box. | |
| virtual void | setRangeInfoRangeFieldEnabled (bool enabled) |
| Sets the state of the show range field check box. | |
Protected Slots | |
User input slots. | |
Receives notification that the user has changed a widget's value. | |
| virtual void | onIntervisibilityEnabledChanged () |
| virtual void | onLeftClickMakesObjectsPermanentChanged () |
| virtual void | onOriginIntervisibilityElevationChanged (double) |
| virtual void | onEndPointIntervisibilityElevationChanged (double) |
| virtual void | onFanModeSamplingRateChanged (double) |
| virtual void | onEntityFanUpdateRateChanged (double) |
| virtual void | onChangeVisibleColor () |
| virtual void | onChangeBlockedColor () |
| virtual void | onChangeCircleColor () |
| virtual void | onHatLinesEnabledChanged () |
| virtual void | onHatLinesOnSelectionOnlyChanged () |
| virtual void | onRangeInfoLabelsEnabledChanged () |
| virtual void | onChangeRangeInfoColor () |
| virtual void | onRangeInfoBackgroundOpacityChanged (int val) |
| virtual void | onRangeInfoAltChangeFieldToggled () |
| virtual void | onRangeInfoLocationFieldToggled () |
| virtual void | onRangeInfoHeadingFieldToggled () |
| virtual void | onRangeInfoRangeFieldToggled () |
Protected Member Functions | |
| void | setupGui () |
| Initialize the widget's fields and widgets. | |
| void | connectToSignals () |
| Connect to signals from the widgets. | |
Protected Attributes | |
| QVBoxLayout * | myMainLayout |
| QCheckBox * | myEnabledCheckBox |
| QCheckBox * | myLeftClickMakesObjectsPermanent |
| QCheckBox * | myHatLinesEnabled |
| QCheckBox * | myHatLinesOnSelectionOnly |
| QLabel * | myOriginIntervisibilityElevationLabel |
| QDoubleSpinBox * | myOriginIntervisibilityElevation |
| QLabel * | myEndPointIntervisibilityElevationLabel |
| QDoubleSpinBox * | myEndPointIntervisibilityElevation |
| QLabel * | myFanModeSamplingRateLabel |
| QDoubleSpinBox * | myFanModeSamplingRate |
| QLabel * | myEntityFanUpdateRateLabel |
| QDoubleSpinBox * | myEntityFanUpdateRate |
| QLabel * | myVisibleColorLabel |
| QPushButton * | myVisibleColorButton |
| QColor | myVisibleColor |
| QLabel * | myBlockedColorLabel |
| QPushButton * | myBlockedColorButton |
| QColor | myBlockedColor |
| QLabel * | myCircleColorLabel |
| QPushButton * | myCircleColorButton |
| QColor | myCircleColor |
| QCheckBox * | myRangeInfoLabelsCheckBox |
| QLabel * | myRangeInfoColorLabel |
| QPushButton * | myRangeInfoColorButton |
| QColor | myRangeInfoLabelBackgroundColor |
| QLabel * | myOpacityLabel |
| QSlider * | myOpacitySlider |
| QCheckBox * | myAltChangeFieldCheckBox |
| QCheckBox * | myLocationFieldCheckBox |
| QCheckBox * | myHeadingFieldCheckBox |
| QCheckBox * | myRangeFieldCheckBox |
| DtDe & | myDe |
This class will allow users to modify intervisibility settings.
| makVrv::DtIntervisibilitySettingsWidget::DtIntervisibilitySettingsWidget | ( | DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | f = Qt::Widget |
||
| ) |
CTOR.
| virtual makVrv::DtIntervisibilitySettingsWidget::~DtIntervisibilitySettingsWidget | ( | ) | [virtual] |
Virtual DTOR.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setIntervisibilityEnabled | ( | bool | ) | [virtual] |
Globally enables or disables intervisibity elements.
When disabled, exisiting elements are hidden, and no new ones may be created.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setLeftClickMakesObjectsPermanent | ( | bool | ) | [virtual] |
When left click is pressed, the object will stay, else a new one will be created at the left click spot, removing the old one.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setIntervisibilityElevationDecimals | ( | int | decimals | ) | [virtual] |
Sets the precision used in the elevation fields.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setOriginIntervisibilityElevation | ( | double | ) | [virtual] |
Sets the distance above the origin to place the intervisibility line.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setOriginIntervisibilityElevationLabel | ( | const DtUnicode & | label | ) | [virtual] |
Sets the label indicating the origin's elevation units.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setEndPointIntervisibilityElevation | ( | double | ) | [virtual] |
Sets the distance above the end point to place the intervisibility line.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setEndPointIntervisibilityElevationLabel | ( | const DtUnicode & | label | ) | [virtual] |
Sets the label indicating the endpoint's elevation units.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setFanModeSamplingRate | ( | double | ) | [virtual] |
Sets the fan mode sampling rate (in the appropriate unit).
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setFanModeSamplingRateMin | ( | double | ) | [virtual] |
Sets the fan mode min sampling rate (in the appropriate unit).
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setFanModeSamplingRateMax | ( | double | ) | [virtual] |
Sets the fan mode max sampling rate (in the appropriate unit).
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setFanModeSamplingRatePrecision | ( | int | decimals | ) | [virtual] |
Sets the fan mode sampling rate precision.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setFanModeSamplingRateUnitLabel | ( | const DtUnicode & | label | ) | [virtual] |
Sets the fan mode sampling rate unit label.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setEntityFanUpdateRate | ( | double | ) | [virtual] |
Sets the entity fan mode update rate.
Zero (0) default means check as fast as possible. Value is in seconds
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setVisibleColor | ( | const QColor & | ) | [virtual] |
Sets the visible color.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setBlockedColor | ( | const QColor & | ) | [virtual] |
Sets the blocked color.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setCircleColor | ( | const QColor & | ) | [virtual] |
Sets the circle color.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setHatLinesEnabled | ( | bool | ) | [virtual] |
Sets height above terrain lines enabled.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setHatLinesOnSelectionOnly | ( | bool | ) | [virtual] |
Set to show height above terrain lines only when the object is selected.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setEntityFanUpdateRateEnabled | ( | bool | ) | [virtual] |
Shows/hides entity fan upate rate.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setFanModeSamplingRateEnabled | ( | bool | ) | [virtual] |
Shows/hides fan mode sampling rate.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setCircleColorEnabled | ( | bool | ) | [virtual] |
Shows/hides circle color.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setLeftClickMakesObjectsPermanentEnabled | ( | bool | ) | [virtual] |
Shows/hides left click permanent.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setRangeInfoLabelsEnabled | ( | bool | enabled | ) | [virtual] |
Sets whether range info labels are displayed at the endpoints of intervisibility lines.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setRangeInfoLabelBackgroundOpacity | ( | float | opacity | ) | [virtual] |
Sets the value to display on the backgroun opacity slider.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setRangeInfoLabelBackgroundColor | ( | const QColor & | color | ) | [virtual] |
Sets the color to show as the current color on the background color selection button.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setRangeInfoAltChangeFieldEnabled | ( | bool | enabled | ) | [virtual] |
Sets the state of the show altitude change field check box.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setRangeInfoLocationFieldEnabled | ( | bool | enabled | ) | [virtual] |
Sets the state of the show location field check box.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setRangeInfoHeadingFieldEnabled | ( | bool | enabled | ) | [virtual] |
Sets the state of the show heading field check box.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::setRangeInfoRangeFieldEnabled | ( | bool | enabled | ) | [virtual] |
Sets the state of the show range field check box.
Implements makVrv::DtIntervisibilitySettingsInterface.
| virtual void makVrv::DtIntervisibilitySettingsWidget::cancel | ( | ) | [virtual] |
Cancels page.
Default behavior is no-op.
Implements makVrv::DtIntervisibilitySettingsInterface.
Reimplemented in makVrv::DtIntervisibilityPropertiesDialog.
| void makVrv::DtIntervisibilitySettingsWidget::setupGui | ( | ) | [protected] |
Initialize the widget's fields and widgets.
Non-virtual (Called from CTOR).
Reimplemented in makVrv::DtIntervisibilityPropertiesDialog.
| void makVrv::DtIntervisibilitySettingsWidget::connectToSignals | ( | ) | [protected] |
Connect to signals from the widgets.
Non-virtual (Called from CTOR).
| virtual void makVrv::DtIntervisibilitySettingsWidget::onIntervisibilityEnabledChanged | ( | ) | [protected, virtual, slot] |
| virtual void makVrv::DtIntervisibilitySettingsWidget::onLeftClickMakesObjectsPermanentChanged | ( | ) | [protected, virtual, slot] |
| virtual void makVrv::DtIntervisibilitySettingsWidget::onOriginIntervisibilityElevationChanged | ( | double | ) | [protected, virtual, slot] |
| virtual void makVrv::DtIntervisibilitySettingsWidget::onEndPointIntervisibilityElevationChanged | ( | double | ) | [protected, virtual, slot] |
| virtual void makVrv::DtIntervisibilitySettingsWidget::onFanModeSamplingRateChanged | ( | double | ) | [protected, virtual, slot] |
| virtual void makVrv::DtIntervisibilitySettingsWidget::onEntityFanUpdateRateChanged | ( | double | ) | [protected, virtual, slot] |
| virtual void makVrv::DtIntervisibilitySettingsWidget::onChangeVisibleColor | ( | ) | [protected, virtual, slot] |
| virtual void makVrv::DtIntervisibilitySettingsWidget::onChangeBlockedColor | ( | ) | [protected, virtual, slot] |
| virtual void makVrv::DtIntervisibilitySettingsWidget::onChangeCircleColor | ( | ) | [protected, virtual, slot] |
| virtual void makVrv::DtIntervisibilitySettingsWidget::onHatLinesEnabledChanged | ( | ) | [protected, virtual, slot] |
| virtual void makVrv::DtIntervisibilitySettingsWidget::onHatLinesOnSelectionOnlyChanged | ( | ) | [protected, virtual, slot] |
| virtual void makVrv::DtIntervisibilitySettingsWidget::onRangeInfoLabelsEnabledChanged | ( | ) | [protected, virtual, slot] |
| virtual void makVrv::DtIntervisibilitySettingsWidget::onChangeRangeInfoColor | ( | ) | [protected, virtual, slot] |
| virtual void makVrv::DtIntervisibilitySettingsWidget::onRangeInfoBackgroundOpacityChanged | ( | int | val | ) | [protected, virtual, slot] |
| virtual void makVrv::DtIntervisibilitySettingsWidget::onRangeInfoAltChangeFieldToggled | ( | ) | [protected, virtual, slot] |
| virtual void makVrv::DtIntervisibilitySettingsWidget::onRangeInfoLocationFieldToggled | ( | ) | [protected, virtual, slot] |
| virtual void makVrv::DtIntervisibilitySettingsWidget::onRangeInfoHeadingFieldToggled | ( | ) | [protected, virtual, slot] |
| virtual void makVrv::DtIntervisibilitySettingsWidget::onRangeInfoRangeFieldToggled | ( | ) | [protected, virtual, slot] |
QVBoxLayout* makVrv::DtIntervisibilitySettingsWidget::myMainLayout [protected] |
QDoubleSpinBox* makVrv::DtIntervisibilitySettingsWidget::myOriginIntervisibilityElevation [protected] |
QLabel* makVrv::DtIntervisibilitySettingsWidget::myEndPointIntervisibilityElevationLabel [protected] |
QDoubleSpinBox* makVrv::DtIntervisibilitySettingsWidget::myEndPointIntervisibilityElevation [protected] |
QDoubleSpinBox* makVrv::DtIntervisibilitySettingsWidget::myFanModeSamplingRate [protected] |
QDoubleSpinBox* makVrv::DtIntervisibilitySettingsWidget::myEntityFanUpdateRate [protected] |
QColor makVrv::DtIntervisibilitySettingsWidget::myVisibleColor [protected] |
QColor makVrv::DtIntervisibilitySettingsWidget::myBlockedColor [protected] |
QColor makVrv::DtIntervisibilitySettingsWidget::myCircleColor [protected] |
QColor makVrv::DtIntervisibilitySettingsWidget::myRangeInfoLabelBackgroundColor [protected] |
QSlider* makVrv::DtIntervisibilitySettingsWidget::myOpacitySlider [protected] |
DtDe& makVrv::DtIntervisibilitySettingsWidget::myDe [protected] |
Reimplemented in makVrv::DtIntervisibilityPropertiesDialog.