VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
makVrf::DtLastPointInfoLocation Class Reference

class DtLastPointInfoLocation: More...

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

Public Member Functions

 DtLastPointInfoLocation (makVrv::DtDe &, QWidget *parent)
virtual ~DtLastPointInfoLocation ()
virtual void setAltitudeSelectionEnabled (bool enabled)
- 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 setUseInputValidation (bool)
 Sets whether or not to use input validation. Defaults to true.
virtual bool useInputValidation () const
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 setXYValidatorsEnabled (bool enabled)
 Set lat/lon validator enabled state.
virtual bool xyValidatorsEnabled ()
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 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 setProcessAltitudeMouseClicks (bool b)
virtual void setSignalLocationSetOnly (bool)
 Sets to signal the location change by mouse set only – do not set in gui as it is expected that others will do that.
virtual bool signalLocationSetOnly () const
virtual bool validateLocation (bool warn=false)
 Will warn if flag is true via message box and/or will send signals for valid, invalid location.
virtual void updateValidatorsForCoordinateSystem (makVrv::DtCoordinateDisplay *)
 If need be set up validators.
virtual bool invalid () const
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.
virtual bool isValid () const
 Indicates the current selection is valid.
virtual void setTopLabelChecked (bool)
 Sets the top label to be checked/unchecked and calls topLabelChecked if the check box is visible.
virtual bool topLabelChecked () const
virtual void setTopLabelIsCheckable (bool)
 Sets whether or not the top label is checkable.
virtual bool topLabelIsCheckable () const
virtual void getDefaultSpecificTitles (QString &defaultTitle, QString &specificTitle) const
virtual void setDefaultSpecificTitles (const QString &defaultTitle, const QString &specificTitle)
virtual void setupDefaultSpecificFromVariableData (const DtString &var)
 Format is allowdefault=[defaultTitle],[specificTitle].
- 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

- Signals inherited from makVrf::DtTaskSetVariableWidget
void validityUpdated ()
 Signal which can be emitted to indicate the validity of the current widget selection has changed.
- Static Public Member Functions inherited from makVrf::DtLocationEntryWidget
static makVrv::DtUnicode codeVariableType ()
- Public Attributes inherited from makVrf::DtLocationEntryWidget
boost::signal< void()> signal_invalidLocation
boost::signal< void()> signal_validLocation
QWidgetmyWidget
QGridLayout * myGridLayout
QLineEditmyLocationX
QLabelmyLocationLabelX
QLineEditmyLocationY
QLabelmyLocationLabelY
QLineEditmyLocationZ
QLabelmyLocationLabelZ
DtAltitudeSelectionWidgetmyAltitude
QToolButtonmyCanTakeMapFocus
QPixmap myWarningIcon
QLabelmyWarningLabel
- 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 bool validateDMS (const std::string &) const
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
QDoubleValidator * myLatValidator
QDoubleValidator * myLonValidator
QDoubleValidator * myXValidator
QDoubleValidator * myYValidator
DtLocationEntryWidgetLogicmyLogic
bool myProcessMouseEvents
bool myLockAltitude
bool myAltitudeSelectionEnabled
DtVector myOriginalLocation
bool myBoundIsZero
makVrv::DtCoordinateDisplaymyCoordinateSystem
bool myUseInputValidation
bool myInvalid

Detailed Description

class DtLastPointInfoLocation:

Instances of DtLastPointInfoLocation are

Constructor & Destructor Documentation

makVrf::DtLastPointInfoLocation::DtLastPointInfoLocation ( makVrv::DtDe ,
QWidget parent 
)
virtual makVrf::DtLastPointInfoLocation::~DtLastPointInfoLocation ( )
virtual

Member Function Documentation

virtual void makVrf::DtLastPointInfoLocation::setAltitudeSelectionEnabled ( bool  )
virtual
Parameters
altitudeSelectionEnableddetermines if the altitude selection widget or the location entry line edit should be shown. Note that if the coordinate system is changed to geocentric, the logic will force the line edit to be shown instead as altitude selection is not valid in geocentric.

Reimplemented from makVrf::DtLocationEntryWidget.


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

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)