VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes
makVrv::DtIntervisibilityPropertiesDialog Class Reference

Property for intervisibility settings. More...

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

Public Member Functions

 DtIntervisibilityPropertiesDialog (DtDe &de, DtElementID id, QWidget *parent)
 CTOR.
virtual ~DtIntervisibilityPropertiesDialog ()
 DTOR.
virtual void activate ()
 Creates logic and sets signals. Must be called after construction.
virtual void deactivate ()
 Called as part of destruction, or, call to "deactivate" the widget (delete the logic)
- Public Member Functions inherited from makVrv::DtIntervisibilitySettingsWidget
 DtIntervisibilitySettingsWidget (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget)
 CTOR.
virtual ~DtIntervisibilitySettingsWidget ()
 Virtual DTOR.
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.

Public Attributes

QHBoxLayout * myButtonLayout
QPushButtonmyCloseButton
QPushButtonmyRevertToGlobalSettings

Protected Slots

virtual void onRestoreSettingsFromManager ()
- Protected Slots inherited from makVrv::DtIntervisibilitySettingsWidget
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 ()
 Create the widgets and layout.
virtual void cancel ()
 Cancels page. Default is to close.
- Protected Member Functions inherited from makVrv::DtIntervisibilitySettingsWidget
void connectToSignals ()
 Connect to signals from the widgets.

Protected Attributes

DtIntervisibilityPropertiesLogicmyLogic
DtDemyDe
DtUniqueID myUniqueId
- Protected Attributes inherited from makVrv::DtIntervisibilitySettingsWidget
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

Property for intervisibility settings.

Constructor & Destructor Documentation

makVrv::DtIntervisibilityPropertiesDialog::DtIntervisibilityPropertiesDialog ( DtDe de,
DtElementID  id,
QWidget parent 
)

CTOR.

virtual makVrv::DtIntervisibilityPropertiesDialog::~DtIntervisibilityPropertiesDialog ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtIntervisibilityPropertiesDialog::activate ( )
virtual

Creates logic and sets signals. Must be called after construction.

virtual void makVrv::DtIntervisibilityPropertiesDialog::deactivate ( )
virtual

Called as part of destruction, or, call to "deactivate" the widget (delete the logic)

void makVrv::DtIntervisibilityPropertiesDialog::setupGui ( )
protected

Create the widgets and layout.

Reimplemented from makVrv::DtIntervisibilitySettingsWidget.

virtual void makVrv::DtIntervisibilityPropertiesDialog::cancel ( )
protectedvirtual

Cancels page. Default is to close.

Reimplemented from makVrv::DtIntervisibilitySettingsWidget.

virtual void makVrv::DtIntervisibilityPropertiesDialog::onRestoreSettingsFromManager ( )
protectedvirtualslot

Member Data Documentation

QHBoxLayout* makVrv::DtIntervisibilityPropertiesDialog::myButtonLayout
QPushButton* makVrv::DtIntervisibilityPropertiesDialog::myCloseButton
QPushButton* makVrv::DtIntervisibilityPropertiesDialog::myRevertToGlobalSettings
DtIntervisibilityPropertiesLogic* makVrv::DtIntervisibilityPropertiesDialog::myLogic
protected
DtDe& makVrv::DtIntervisibilityPropertiesDialog::myDe
protected
DtUniqueID makVrv::DtIntervisibilityPropertiesDialog::myUniqueId
protected

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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)