VR-Forces 4.2 Class Documentation
List of all members | Public Member Functions
makVrf::DtLocationEntryWithoutAltitudeWidget Class Reference

Specialized version of location entry widget used for scripted tasks that will create a location entry without altitude selection. More...

Inheritance diagram for makVrf::DtLocationEntryWithoutAltitudeWidget:
Inheritance graph
[legend]

Public Member Functions

 DtLocationEntryWithoutAltitudeWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0)
 Constructor.
virtual ~DtLocationEntryWithoutAltitudeWidget ()
- Public Member Functions inherited from makVrf::DtLocationEntryWidget
 DtLocationEntryWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0)
 Constructor.
virtual ~DtLocationEntryWidget ()
virtual DtVector location () const
 Returns value in meters and local.
virtual DtVector geocentricLocation () const
 Returns value as geocentric.
virtual void setLocation (DtVector, bool resetAltitude=true)
 Expects value in meters and local.
virtual void setGeocentricLocation (DtVector, bool resetAltitude=true)
virtual void setAltitude (const DtVector &localLocation, bool resetAltitude=true)
virtual void setCoordinateSystem (makVrv::DtCoordinateDisplay *)
 The coordinate system of the current values.
virtual void setHideAltitude (bool b)
 Hides/shows the Z (altitude) section.
virtual void setHideLocationZ (bool b)
 Hides/shows the myLocationZ line edit.
virtual void setXLabel (const QString &)
 Sets label titles.
QString xLabel () const
virtual void setYLabel (const QString &)
QString yLabel () const
virtual void setZLabel (const QString &)
QString zLabel () const
virtual void setXValue (const QString &)
 Sets values.
virtual void setYValue (const QString &)
virtual void setZValue (const QString &)
virtual QString xValue () const
virtual QString yValue () const
virtual QString zValue () const
virtual void setAltitudeAboveSeaLevelVisible (bool b)
virtual void setAltitudeAboveGroundLevelVisible (bool b)
virtual DtGeodeticCoord geodeticLocation () const
virtual void setCoordinateSystem (const makArchives::DtDisplayUnitsSettingsRecord::CoordSys &coordSys)
 Calls down to logic to set coordinate system.
const
makArchives::DtDisplayUnitsSettingsRecord::CoordSys & 
coordinateSystem () const
virtual void setCoordinateSystemDecimals (int decimals)
 Sets the precision of the x, y and z line edits.
virtual void setAltitudeSelectionEnabled (bool)
virtual bool altitudeSelectionEnabled () const
virtual void setZEnabled (bool)
virtual void setCurrentAltitudeTypeSelection (const DtAltitudeClampType &type)
virtual DtAltitudeClampType currentAltitudeTypeSelection () const
virtual double altitudeAboveSeaLevel () const
virtual double altitudeAboveGroundLevel () const
virtual void setAltitudeAboveSeaLevel (double altitude)
 Sets the altitude location.
virtual void setAltitudeAboveGroundLevel (double altitude)
 Sets the altitude location.
virtual void setProcessMouseEvents (bool flag)
virtual bool processMouseEvents ()
virtual void setAltitudeAboveGroundLevelSelected (bool b)
virtual void setAltitudeAboveSeaLevelSelected (bool b)
virtual void setClampToNearestPolygon (bool)
 Sets whether or not to clamp to nearest polygon when selecting altitude.
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 DtReaderWritercreateBoundVariable (const std::string &variableName)
 Creates the reader/writer variable that will be used as part of the task statement.
virtual void setupFromBoundVariable (const DtReaderWriter *variableName)
 Sets up the widget from the given reader/writer variables.
virtual void setupFrom (const std::vector< makVrv::DtSimEntry * > &data)
 Sets up from initial data.
virtual void setMaintainCurrentAltitude (bool)
 Maintains current altitude in altitude widget if true.
virtual bool maintainCurrentAltitude () const
virtual void setupBasedOnEntityType (const DtEntityType &)
 Sets up whether or not to maintain current altitude on placement based on entity kind.
virtual void setHasMapFocus (bool)
virtual void setCanTakeMapFocus (bool)
virtual bool canTakeMapFocus () const
virtual bool hasMapFocus () const
- Public Member Functions inherited from makVrf::DtTaskSetVariableWidget
 DtTaskSetVariableWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0)
virtual ~DtTaskSetVariableWidget ()
virtual void setToolTip (const QString &)
 Sets the tool tip.
virtual void setLabel (const std::string &)
 Display label.
virtual void setTopLineVisible (bool)
 Hides top line.
virtual bool topLineVisible () const
virtual void createTopLine ()
 Creates top line.
virtual void setIndent (int)
 Sets the indent level for the contents of this widget, except for the title line.
- Public Member Functions inherited from makVrf::DtTaskSetVariableWidgetInterface
 DtTaskSetVariableWidgetInterface ()
virtual ~DtTaskSetVariableWidgetInterface ()
virtual
DtTaskSetVariableWidgetExtensionInterface
parameterContents (QWidget *parent, const Qt::WindowFlags &flags=0) const
 If there are any, returns contents for this variable for variable extension. Default is no extension.
virtual bool guiElementOnly () const
 Returns true if this is a GUI element only. Default is false.
- Public Member Functions inherited from makVrf::DtLocationEntryWidgetInterface
virtual ~DtLocationEntryWidgetInterface ()
- Public Member Functions inherited from makVrf::DtMapFocusHandler
 DtMapFocusHandler ()
 CTOR.
virtual ~DtMapFocusHandler ()
 DTOR.
virtual void clearMapFocusSelectedByUser ()
 If mapFocusSelectedByUser is true will prevent focus from automatically changing to another control.
virtual bool mapFocusSelectedByUser () const

Additional Inherited Members

- Static Public Member Functions inherited from makVrf::DtLocationEntryWidget
static makVrv::DtUnicode codeVariableType ()
- Public Attributes inherited from makVrf::DtLocationEntryWidget
QWidgetmyWidget
QGridLayout * myGridLayout
QLineEditmyLocationX
QLabel * myLocationLabelX
QLineEditmyLocationY
QLabel * myLocationLabelY
QLineEditmyLocationZ
QLabel * myLocationLabelZ
DtAltitudeSelectionWidgetmyAltitude
QToolButton * myCanTakeMapFocus
- Protected Slots inherited from makVrf::DtLocationEntryWidget
virtual void canTakeMapFocusChanged ()
virtual void slot_onPositionChanged ()
virtual void slot_onPositionEdited ()
virtual void slot_onAltitudeAboveGroundLevelEdited (double)
virtual void slot_onAltitudeAboveSeaLevelEdited (double)
virtual void slot_onAltitudeSelectionTypeChanged (const DtAltitudeClampType &)
- Protected Member Functions inherited from makVrf::DtLocationEntryWidget
virtual void slot_receivedFocus ()
 Called when a location entry widget receives focus or the altitude selection entry widget receives focus.
virtual bool eventFilter (QObject *obj, QEvent *ev)
 Check if the event is a focus event and the sender is x, y, or z label. If so call slot_receivedFocus.
virtual void setRange (double top, double bottom)
 Validation range. Not applicable to this widget.
virtual void setDefaultValue (const std::string &)
 Default value to set in control.
virtual void setVariableData (const std::string &)
 Variable data that can be used by this control to initialize values (i.e.
virtual void slot_onClampSelectionChanged (int index)
- Protected Attributes inherited from makVrf::DtLocationEntryWidget
QDoubleValidator * myValidator
DtLocationEntryWidgetLogicmyLogic
bool myProcessMouseEvents
bool myLockAltitude
bool myAltitudeSelectionEnabled
DtVector myOriginalLocation
bool myBoundIsZero
makVrv::DtCoordinateDisplay * myCoordinateSystem

Detailed Description

Specialized version of location entry widget used for scripted tasks that will create a location entry without altitude selection.

In geocentric data entry mode, however, the Z value will still be present as geocentric needs to specify x, y, z locations. For all others only x, y (or lat/lon) will be specified. Altitude will be assumed to be 0 NOT ground clamped

Constructor & Destructor Documentation

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

Constructor.

virtual makVrf::DtLocationEntryWithoutAltitudeWidget::~DtLocationEntryWithoutAltitudeWidget ( )
virtual

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

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)