VR-Forces 4.0.4 Class Documentation
Public Member Functions | Public Attributes | Protected Slots | Protected Attributes
makVrf::DtAltitudeSelectionWidget Class Reference
Inheritance diagram for makVrf::DtAltitudeSelectionWidget:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtAltitudeSelectionWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0)
virtual ~DtAltitudeSelectionWidget ()
virtual DtAltitudeClampType currentAltitudeTypeSelection () const
virtual void setCurrentAltitudeTypeSelection (const DtAltitudeClampType &type)
virtual double altitude () const
 Returns altitude value in meters and local.
virtual QString zValue () const
 Returns altitude as text.
virtual void setZLabel (const QString &)
 Sets the label of the altitude text entry.
virtual void setAltitudeDecimals (int decimals)
 Sets the precision of the altitude entries.
virtual void setLocation (DtVector, bool resetAltitude=false)
 Expects value in meters and local.
virtual DtGeodeticCoord geodeticLocation () const
virtual double altitudeAboveSeaLevel () const
virtual void setAltitudeAboveSeaLevel (double)
virtual void setAltitudeAboveSeaLevel (const QString &)
virtual void setAltitudeAboveSeaLevelLabel (const QString &)
virtual double altitudeAboveGroundLevel () const
virtual void setAltitudeAboveGroundLevel (double)
virtual void setAltitudeAboveGroundLevel (const QString &)
virtual void setAltitudeAboveGroundLevelLabel (const QString &)
virtual void setMouseClickSupportEnabled (bool)
 Enables/disables mouse selection handling for mouse down. Default is turned off.
virtual void setDisplayOnlyMode (bool)
 Sets "display only" mode on/off. If on will show a label (altitude) and the combo box for selection.
virtual bool displayOnlyMode () const
 Returns whether or not in display only mode.
virtual void setLabel (const QString &)
QString label () const
virtual void setCoordinateSystem (const makArchives::DtDisplayUnitsSettingsRecord::CoordSys &)
 Calls down to logic to set coordinate system.
const
makArchives::DtDisplayUnitsSettingsRecord::CoordSys
coordinateSystem () const
virtual void setIgnoreList (const std::vector< makVrv::DtElementID > &)
 List of objects to ignore when getting intersections.
virtual const std::vector
< makVrv::DtElementID > & 
ignoreList () const
virtual void setAltitudeAboveSeaLevelSelected (bool b)
 Altitude above sea level UI modifiers.
virtual void setAltitudeAboveSeaLevelEnabled (bool b)
virtual void setAltitudeAboveSeaLevelVisible (bool b)
virtual void setAltitudeAboveGroundLevelSelected (bool b)
 Altitude above ground level UI modifiers.
virtual void setAltitudeAboveGroundLevelEnabled (bool b)
virtual void setAltitudeAboveGroundLevelVisible (bool b)
virtual void refreshLabels ()
virtual void setClampToNearestPolygon (bool)
 Sets whether or not to clamp to nearest polygon when selecting altitude. Default is true.

Public Attributes

QGroupBox * myGroupBox
QGridLayout * myGridLayout
QRadioButton * myAltitudeSLevelRadioButton
QRadioButton * myAltitudeGLevelRadioButton
QLineEditmyAltitudeSLevelLineEdit
QLineEditmyAltitudeGLevelLineEdit
QDoubleValidator * myValidator
bool myJustSetup
bool myDisplayOnlyMode
QHBoxLayout * myDisplayOnlyLayout
 Only valid in display only mode.
QLabelmyDisplayOnlyLabel
DtAltitudeSelectionWidgetLogicmyLogic

Protected Slots

virtual void slot_onAltitudeSelectionTypeChanged ()
virtual void slot_onAltitudeAboveSeaLevelEdited ()
virtual void slot_onAltitudeAboveGroundLevelEdited ()

Protected Attributes

makVrv::DtDemyDe

Constructor & Destructor Documentation

makVrf::DtAltitudeSelectionWidget::DtAltitudeSelectionWidget ( makVrv::DtDe de,
QWidget parent,
const Qt::WindowFlags &  flags = 0 
)

Member Function Documentation

virtual double makVrf::DtAltitudeSelectionWidget::altitude ( ) const [virtual]

Returns altitude value in meters and local.

Implements makVrf::DtAltitudeSelectionWidgetInterface.

virtual QString makVrf::DtAltitudeSelectionWidget::zValue ( ) const [virtual]

Returns altitude as text.

Implements makVrf::DtAltitudeSelectionWidgetInterface.

virtual void makVrf::DtAltitudeSelectionWidget::setZLabel ( const QString &  ) [virtual]

Sets the label of the altitude text entry.

Implements makVrf::DtAltitudeSelectionWidgetInterface.

virtual void makVrf::DtAltitudeSelectionWidget::setAltitudeDecimals ( int  decimals) [virtual]

Sets the precision of the altitude entries.

Implements makVrf::DtAltitudeSelectionWidgetInterface.

virtual void makVrf::DtAltitudeSelectionWidget::setLocation ( DtVector  ,
bool  resetAltitude = false 
) [virtual]

Expects value in meters and local.

Implements makVrf::DtAltitudeSelectionWidgetInterface.

virtual DtGeodeticCoord makVrf::DtAltitudeSelectionWidget::geodeticLocation ( ) const [virtual]
virtual void makVrf::DtAltitudeSelectionWidget::setAltitudeAboveSeaLevel ( const QString &  ) [virtual]
virtual void makVrf::DtAltitudeSelectionWidget::setAltitudeAboveSeaLevelLabel ( const QString &  ) [virtual]
virtual void makVrf::DtAltitudeSelectionWidget::setAltitudeAboveGroundLevel ( const QString &  ) [virtual]
virtual void makVrf::DtAltitudeSelectionWidget::setAltitudeAboveGroundLevelLabel ( const QString &  ) [virtual]

Enables/disables mouse selection handling for mouse down. Default is turned off.

Sets "display only" mode on/off. If on will show a label (altitude) and the combo box for selection.

Returns whether or not in display only mode.

Implements makVrf::DtAltitudeSelectionWidgetInterface.

virtual void makVrf::DtAltitudeSelectionWidget::setLabel ( const QString &  ) [virtual]

Calls down to logic to set coordinate system.

Implements makVrf::DtAltitudeSelectionWidgetInterface.

virtual void makVrf::DtAltitudeSelectionWidget::setIgnoreList ( const std::vector< makVrv::DtElementID > &  ) [virtual]

List of objects to ignore when getting intersections.

virtual const std::vector<makVrv::DtElementID>& makVrf::DtAltitudeSelectionWidget::ignoreList ( ) const [virtual]

Altitude above sea level UI modifiers.

Implements makVrf::DtAltitudeSelectionWidgetInterface.

Altitude above ground level UI modifiers.

Implements makVrf::DtAltitudeSelectionWidgetInterface.

Sets whether or not to clamp to nearest polygon when selecting altitude. Default is true.

virtual void makVrf::DtAltitudeSelectionWidget::slot_onAltitudeAboveSeaLevelEdited ( ) [protected, virtual, slot]

Member Data Documentation

Only valid in display only mode.


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)