![]() |
VR-Forces 4.2 Class Documentation
|

Public Member Functions | |
| 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 DtReaderWriter * | createBoundVariable (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 |
Static Public Member Functions | |
| static makVrv::DtUnicode | codeVariableType () |
Protected Slots | |
| 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 | |
| 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 | |
| QDoubleValidator * | myValidator |
| DtLocationEntryWidgetLogic * | myLogic |
| bool | myProcessMouseEvents |
| bool | myLockAltitude |
| bool | myAltitudeSelectionEnabled |
| DtVector | myOriginalLocation |
| bool | myBoundIsZero |
| makVrv::DtCoordinateDisplay * | myCoordinateSystem |
Protected Attributes inherited from makVrf::DtTaskSetVariableWidget | |
| makVrv::DtDe & | myDe |
| makVrv::DtSignalConnectionManager | myConnections |
Protected Attributes inherited from makVrf::DtMapFocusHandler | |
| bool | myMapFocusSelectedByUser |
| makVrf::DtLocationEntryWidget::DtLocationEntryWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
Constructor.
|
virtual |
|
virtual |
Returns value in meters and local.
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Returns value as geocentric.
|
virtual |
Expects value in meters and local.
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
The coordinate system of the current values.
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Hides/shows the Z (altitude) section.
|
virtual |
Hides/shows the myLocationZ line edit.
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Sets label titles.
Implements makVrf::DtLocationEntryWidgetInterface.
| QString makVrf::DtLocationEntryWidget::xLabel | ( | ) | const |
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
| QString makVrf::DtLocationEntryWidget::yLabel | ( | ) | const |
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
| QString makVrf::DtLocationEntryWidget::zLabel | ( | ) | const |
|
virtual |
Sets values.
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
|
virtual |
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Calls down to logic to set coordinate system.
Implements makVrf::DtLocationEntryWidgetInterface.
| const makArchives::DtDisplayUnitsSettingsRecord::CoordSys& makVrf::DtLocationEntryWidget::coordinateSystem | ( | ) | const |
|
virtual |
Sets the precision of the x, y and z line edits.
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
| altitudeSelectionEnabled | determines 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. |
Implements makVrf::DtLocationEntryWidgetInterface.
Reimplemented in makVrf::DtLastPointInfoLocation.
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
|
virtual |
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Sets the altitude location.
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Sets the altitude location.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Sets whether or not to clamp to nearest polygon when selecting altitude.
Default is true. Only valid if allowing user to set altitude
|
virtual |
List of objects to ignore when getting intersections.
|
virtual |
|
virtual |
Creates the reader/writer variable that will be used as part of the task statement.
Implements makVrf::DtTaskSetVariableWidgetInterface.
|
virtual |
Sets up the widget from the given reader/writer variables.
Implements makVrf::DtTaskSetVariableWidgetInterface.
|
virtual |
Sets up from initial data.
Reimplemented from makVrf::DtTaskSetVariableWidget.
|
inlinestatic |
|
virtual |
Methods implemented on behalf of being a map focus handler Sets whether or not the focus button has any effect. By default the focus button is not visible
Implements makVrf::DtMapFocusHandler.
|
virtual |
Methods implemented on behalf of being a map focus handler Sets whether or not the focus button has any effect. By default the focus button is not visible
Implements makVrf::DtMapFocusHandler.
|
virtual |
Methods implemented on behalf of being a map focus handler Sets whether or not the focus button has any effect. By default the focus button is not visible
Implements makVrf::DtMapFocusHandler.
|
virtual |
Methods implemented on behalf of being a map focus handler Sets whether or not the focus button has any effect. By default the focus button is not visible
Implements makVrf::DtMapFocusHandler.
|
virtual |
Maintains current altitude in altitude widget if true.
|
virtual |
|
virtual |
Sets up whether or not to maintain current altitude on placement based on entity kind.
|
protectedvirtual |
Called when a location entry widget receives focus or the altitude selection entry widget receives focus.
Signals the receivedFocus signal
|
protectedvirtual |
Check if the event is a focus event and the sender is x, y, or z label. If so call slot_receivedFocus.
|
protectedvirtual |
Validation range. Not applicable to this widget.
Implements makVrf::DtTaskSetVariableWidgetInterface.
|
protectedvirtual |
Default value to set in control.
Implements makVrf::DtTaskSetVariableWidgetInterface.
|
protectedvirtual |
Variable data that can be used by this control to initialize values (i.e.
filtered list box, combo box). Not applicable for this widget
Implements makVrf::DtTaskSetVariableWidgetInterface.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtual |
| QWidget* makVrf::DtLocationEntryWidget::myWidget |
| QGridLayout* makVrf::DtLocationEntryWidget::myGridLayout |
| QLineEdit* makVrf::DtLocationEntryWidget::myLocationX |
| QLabel* makVrf::DtLocationEntryWidget::myLocationLabelX |
| QLineEdit* makVrf::DtLocationEntryWidget::myLocationY |
| QLabel* makVrf::DtLocationEntryWidget::myLocationLabelY |
| QLineEdit* makVrf::DtLocationEntryWidget::myLocationZ |
| QLabel* makVrf::DtLocationEntryWidget::myLocationLabelZ |
| DtAltitudeSelectionWidget* makVrf::DtLocationEntryWidget::myAltitude |
| QToolButton* makVrf::DtLocationEntryWidget::myCanTakeMapFocus |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |