VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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. More...
 
virtual ~DtIntervisibilityPropertiesDialog ()
 DTOR. More...
 
virtual void activate ()
 Creates logic and sets signals. Must be called after construction. More...
 
virtual void deactivate ()
 Called as part of destruction, or, call to "deactivate" the widget (delete the logic) More...
 
- Public Member Functions inherited from makVrv::DtIntervisibilitySettingsWidget
 DtIntervisibilitySettingsWidget (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget)
 CTOR. More...
 
virtual ~DtIntervisibilitySettingsWidget ()
 Virtual DTOR. More...
 
virtual void setIntervisibilityEnabled (bool)
 Globally enables or disables intervisibity elements. More...
 
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. More...
 
virtual void setIntervisibilityElevationDecimals (int decimals)
 Sets the precision used in the elevation fields. More...
 
virtual void setOriginIntervisibilityElevation (double)
 Sets the distance above the origin to place the intervisibility line. More...
 
virtual void setOriginIntervisibilityElevationLabel (const DtUnicode &label)
 Sets the label indicating the origin's elevation units. More...
 
virtual void setEndPointIntervisibilityElevation (double)
 Sets the distance above the end point to place the intervisibility line. More...
 
virtual void setEndPointIntervisibilityElevationLabel (const DtUnicode &label)
 Sets the label indicating the endpoint's elevation units. More...
 
virtual void setFanModeSamplingRate (double)
 Sets the fan mode sampling rate (in the appropriate unit). More...
 
virtual void setFanModeSamplingRateMin (double)
 Sets the fan mode min sampling rate (in the appropriate unit). More...
 
virtual void setFanModeSamplingRateMax (double)
 Sets the fan mode max sampling rate (in the appropriate unit). More...
 
virtual void setFanModeSamplingRatePrecision (int decimals)
 Sets the fan mode sampling rate precision. More...
 
virtual void setFanModeSamplingRateUnitLabel (const DtUnicode &label)
 Sets the fan mode sampling rate unit label. More...
 
virtual void setEntityFanUpdateRate (double)
 Sets the entity fan mode update rate. More...
 
virtual void setVisibleColor (const QColor &)
 Sets the visible color. More...
 
virtual void setBlockedColor (const QColor &)
 Sets the blocked color. More...
 
virtual void setCircleColor (const QColor &)
 Sets the circle color. More...
 
virtual void setHatLinesEnabled (bool)
 Sets height above terrain lines enabled. More...
 
virtual void setHatLinesOnSelectionOnly (bool)
 Set to show height above terrain lines only when the object is selected. More...
 
virtual void setEntityFanUpdateRateEnabled (bool)
 Shows/hides entity fan upate rate. More...
 
virtual void setFanModeSamplingRateEnabled (bool)
 Shows/hides fan mode sampling rate. More...
 
virtual void setCircleColorEnabled (bool)
 Shows/hides circle color. More...
 
virtual void setLeftClickMakesObjectsPermanentEnabled (bool)
 Shows/hides left click permanent. More...
 
virtual void setRangeInfoLabelsEnabled (bool enabled)
 Sets whether range info labels are displayed at the endpoints of intervisibility lines. More...
 
virtual void setRangeInfoLabelBackgroundOpacity (float opacity)
 Sets the value to display on the backgroun opacity slider. More...
 
virtual void setRangeInfoLabelBackgroundColor (const QColor &color)
 Sets the color to show as the current color on the background color selection button. More...
 
virtual void setRangeInfoAltChangeFieldEnabled (bool enabled)
 Sets the state of the show altitude change field check box. More...
 
virtual void setRangeInfoLocationFieldEnabled (bool enabled)
 Sets the state of the show location field check box. More...
 
virtual void setRangeInfoHeadingFieldEnabled (bool enabled)
 Sets the state of the show heading field check box. More...
 
virtual void setRangeInfoRangeFieldEnabled (bool enabled)
 Sets the state of the show range field check box. More...
 
- Public Member Functions inherited from makVrv::DtIntervisibilitySettingsInterface
virtual ~DtIntervisibilitySettingsInterface ()
 DTOR. More...
 

Public Attributes

QHBoxLayout * myButtonLayout
 
QPushButtonmyCloseButton
 
QPushButtonmyRevertToGlobalSettings
 
- Public Attributes inherited from makVrv::DtIntervisibilitySettingsInterface
boost::signal< void(bool)> signal_intervisibilityEnabledChanged
 
boost::signal< void(bool)> signal_leftClickMakesObjectsPermanentChanged
 
boost::signal< void(double)> signal_originIntervisibilityElevationChanged
 
boost::signal< void(double)> signal_endPointIntervisibilityElevationChanged
 
boost::signal< void(double)> signal_fanModeSamplingRateChanged
 
boost::signal< void(double)> signal_entityFanUpdateRateChanged
 
boost::signal< void(QColor)> signal_visibleColorChanged
 
boost::signal< void(QColor)> signal_blockedColorChanged
 
boost::signal< void(QColor)> signal_circleColorChanged
 
boost::signal< void(bool)> signal_hatLinesEnabledChanged
 
boost::signal< void(bool)> signal_hatLinesOnSelectionOnlyChanged
 
boost::signal< void(bool)> signal_rangeInfoLabelsEnabledChanged
 
boost::signal< void(QColor)> signal_rangeInfoLabelBackgroundColorChanged
 
boost::signal< void(double)> signal_rangeInfoBackgroundOpacityChanged
 
boost::signal< void(bool)> signal_rangeInfoAltChangeFieldEnabledChanged
 
boost::signal< void(bool)> signal_rangeInfoLocationFieldEnabledChanged
 
boost::signal< void(bool)> signal_rangeInfoHeadingFieldEnabledChanged
 
boost::signal< void(bool)> signal_rangeInfoRangeFieldEnabledChanged
 

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. More...
 
virtual void cancel ()
 Cancels page. Default is to close. More...
 
- Protected Member Functions inherited from makVrv::DtIntervisibilitySettingsWidget
void setupGui ()
 Initialize the widget's fields and widgets. More...
 
void connectToSignals ()
 Connect to signals from the widgets. More...
 

Protected Attributes

DtIntervisibilityPropertiesLogicmyLogic
 
DtUniqueID myUniqueId
 
- Protected Attributes inherited from makVrv::DtIntervisibilitySettingsWidget
QVBoxLayout * myMainLayout
 
QCheckBoxmyEnabledCheckBox
 
QCheckBoxmyLeftClickMakesObjectsPermanent
 
QCheckBoxmyHatLinesEnabled
 
QCheckBoxmyHatLinesOnSelectionOnly
 
QLabelmyOriginIntervisibilityElevationLabel
 
QDoubleSpinBoxmyOriginIntervisibilityElevation
 
QLabelmyEndPointIntervisibilityElevationLabel
 
QDoubleSpinBoxmyEndPointIntervisibilityElevation
 
QLabelmyFanModeSamplingRateLabel
 
QDoubleSpinBoxmyFanModeSamplingRate
 
QLabelmyEntityFanUpdateRateLabel
 
QDoubleSpinBoxmyEntityFanUpdateRate
 
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.

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
DtUniqueID makVrv::DtIntervisibilityPropertiesDialog::myUniqueId
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)