VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtIntervisibilitySettingsWidget Class Reference

This class will allow users to modify intervisibility settings. More...

Inheritance diagram for makVrv::DtIntervisibilitySettingsWidget:
Inheritance graph
[legend]

List of all members.

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
QCheckBoxmyEnabledCheckBox
QCheckBoxmyLeftClickMakesObjectsPermanent
QCheckBoxmyHatLinesEnabled
QCheckBoxmyHatLinesOnSelectionOnly
QLabelmyOriginIntervisibilityElevationLabel
QDoubleSpinBox * myOriginIntervisibilityElevation
QLabelmyEndPointIntervisibilityElevationLabel
QDoubleSpinBox * myEndPointIntervisibilityElevation
QLabelmyFanModeSamplingRateLabel
QDoubleSpinBox * myFanModeSamplingRate
QLabelmyEntityFanUpdateRateLabel
QDoubleSpinBox * myEntityFanUpdateRate
QLabelmyVisibleColorLabel
QPushButtonmyVisibleColorButton
QColor myVisibleColor
QLabelmyBlockedColorLabel
QPushButtonmyBlockedColorButton
QColor myBlockedColor
QLabelmyCircleColorLabel
QPushButtonmyCircleColorButton
QColor myCircleColor
QCheckBoxmyRangeInfoLabelsCheckBox
QLabelmyRangeInfoColorLabel
QPushButtonmyRangeInfoColorButton
QColor myRangeInfoLabelBackgroundColor
QLabelmyOpacityLabel
QSlider * myOpacitySlider
QCheckBoxmyAltChangeFieldCheckBox
QCheckBoxmyLocationFieldCheckBox
QCheckBoxmyHeadingFieldCheckBox
QCheckBoxmyRangeFieldCheckBox
DtDemyDe

Detailed Description

This class will allow users to modify intervisibility settings.


Constructor & Destructor Documentation

makVrv::DtIntervisibilitySettingsWidget::DtIntervisibilitySettingsWidget ( DtDe de,
QWidget parent,
Qt::WindowFlags  f = Qt::Widget 
)

CTOR.

Virtual DTOR.


Member Function Documentation

Globally enables or disables intervisibity elements.

When disabled, exisiting elements are hidden, and no new ones may be created.

Implements makVrv::DtIntervisibilitySettingsInterface.

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.

Sets the precision used in the elevation fields.

Implements makVrv::DtIntervisibilitySettingsInterface.

Sets the distance above the origin to place the intervisibility line.

Implements makVrv::DtIntervisibilitySettingsInterface.

Sets the label indicating the origin's elevation units.

Implements makVrv::DtIntervisibilitySettingsInterface.

Sets the distance above the end point to place the intervisibility line.

Implements makVrv::DtIntervisibilitySettingsInterface.

Sets the label indicating the endpoint's elevation units.

Implements makVrv::DtIntervisibilitySettingsInterface.

Sets the fan mode sampling rate (in the appropriate unit).

Implements makVrv::DtIntervisibilitySettingsInterface.

Sets the fan mode min sampling rate (in the appropriate unit).

Implements makVrv::DtIntervisibilitySettingsInterface.

Sets the fan mode max sampling rate (in the appropriate unit).

Implements makVrv::DtIntervisibilitySettingsInterface.

Sets the fan mode sampling rate precision.

Implements makVrv::DtIntervisibilitySettingsInterface.

Sets the fan mode sampling rate unit label.

Implements makVrv::DtIntervisibilitySettingsInterface.

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.

Sets height above terrain lines enabled.

Implements makVrv::DtIntervisibilitySettingsInterface.

Set to show height above terrain lines only when the object is selected.

Implements makVrv::DtIntervisibilitySettingsInterface.

Shows/hides entity fan upate rate.

Implements makVrv::DtIntervisibilitySettingsInterface.

Shows/hides fan mode sampling rate.

Implements makVrv::DtIntervisibilitySettingsInterface.

Shows/hides circle color.

Implements makVrv::DtIntervisibilitySettingsInterface.

Shows/hides left click permanent.

Implements makVrv::DtIntervisibilitySettingsInterface.

Sets whether range info labels are displayed at the endpoints of intervisibility lines.

Implements makVrv::DtIntervisibilitySettingsInterface.

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.

Sets the state of the show altitude change field check box.

Implements makVrv::DtIntervisibilitySettingsInterface.

Sets the state of the show location field check box.

Implements makVrv::DtIntervisibilitySettingsInterface.

Sets the state of the show heading field check box.

Implements makVrv::DtIntervisibilitySettingsInterface.

Sets the state of the show range field check box.

Implements makVrv::DtIntervisibilitySettingsInterface.

Cancels page.

Default behavior is no-op.

Implements makVrv::DtIntervisibilitySettingsInterface.

Reimplemented in makVrv::DtIntervisibilityPropertiesDialog.

Initialize the widget's fields and widgets.

Non-virtual (Called from CTOR).

Reimplemented in makVrv::DtIntervisibilityPropertiesDialog.

Connect to signals from the widgets.

Non-virtual (Called from CTOR).

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::onChangeRangeInfoColor ( ) [protected, virtual, slot]
virtual void makVrv::DtIntervisibilitySettingsWidget::onRangeInfoBackgroundOpacityChanged ( int  val) [protected, virtual, slot]
virtual void makVrv::DtIntervisibilitySettingsWidget::onRangeInfoRangeFieldToggled ( ) [protected, virtual, slot]

Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)