![]() |
VR-Forces 4.3.1 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. | |
Public Member Functions inherited from makVrv::DtIntervisibilitySettingsInterface | |
| virtual | ~DtIntervisibilitySettingsInterface () |
| DTOR. | |
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. | |
This class will allow users to modify intervisibility settings.
| makVrv::DtIntervisibilitySettingsWidget::DtIntervisibilitySettingsWidget | ( | DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | f = Qt::Widget |
||
| ) |
CTOR.
|
virtual |
Virtual DTOR.
|
virtual |
Globally enables or disables intervisibity elements.
When disabled, exisiting elements are hidden, and no new ones may be created.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
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 |
Sets the precision used in the elevation fields.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets the distance above the origin to place the intervisibility line.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets the label indicating the origin's elevation units.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets the distance above the end point to place the intervisibility line.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets the label indicating the endpoint's elevation units.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets the fan mode sampling rate (in the appropriate unit).
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets the fan mode min sampling rate (in the appropriate unit).
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets the fan mode max sampling rate (in the appropriate unit).
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets the fan mode sampling rate precision.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets the fan mode sampling rate unit label.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
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 |
Sets the visible color.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets the blocked color.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets the circle color.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets height above terrain lines enabled.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Set to show height above terrain lines only when the object is selected.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Shows/hides entity fan upate rate.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Shows/hides fan mode sampling rate.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Shows/hides circle color.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Shows/hides left click permanent.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets whether range info labels are displayed at the endpoints of intervisibility lines.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets the value to display on the backgroun opacity slider.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets the color to show as the current color on the background color selection button.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets the state of the show altitude change field check box.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets the state of the show location field check box.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets the state of the show heading field check box.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Sets the state of the show range field check box.
Implements makVrv::DtIntervisibilitySettingsInterface.
|
virtual |
Cancels page.
Default behavior is no-op.
Implements makVrv::DtIntervisibilitySettingsInterface.
Reimplemented in makVrv::DtIntervisibilityPropertiesDialog.
|
protected |
Initialize the widget's fields and widgets.
Non-virtual (Called from CTOR).
Reimplemented in makVrv::DtIntervisibilityPropertiesDialog.
|
protected |
Connect to signals from the widgets.
Non-virtual (Called from CTOR).
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |