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

Public Member Functions | |
| DtLocationEntryWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0, const CreationFlags &cflags=NormalMode) | |
| Constructor. More... | |
| virtual | ~DtLocationEntryWidget () |
| virtual DtVector | location () const |
| Returns value in meters and local. More... | |
| virtual DtVector | geocentricLocation () const |
| Returns value as geocentric. More... | |
| virtual void | setUseInputValidation (bool) |
| Sets whether or not to use input validation. Defaults to true. More... | |
| virtual bool | useInputValidation () const |
| virtual void | setUseHighestLOD (bool) |
| virtual bool | useHighestLOD () const |
| virtual void | blockSignals (bool) |
| Block boost signals from being sent. More... | |
| bool | signalsBlocked () const |
| virtual void | setLocation (DtVector, bool resetAltitude=true) |
| Expects value in meters and local. More... | |
| 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. More... | |
| virtual void | setHideAltitude (bool b) |
| Hides/shows the Z (altitude) section. More... | |
| virtual void | setHideLocationZ (bool b) |
| Hides/shows the myLocationZ line edit. More... | |
| virtual void | setXYValidatorsEnabled (bool enabled) |
| Set lat/lon validator enabled state. More... | |
| virtual bool | xyValidatorsEnabled () const |
| virtual void | setAdvancedKeyboardHandling (bool) |
| virtual bool | advancedKeyboardHandling () const |
| virtual void | setXLabel (const QString &) |
| Sets label titles. More... | |
| 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. More... | |
| virtual void | setYValue (const QString &) |
| virtual void | setZValue (const QString &) |
| virtual QString | xValue () const |
| virtual QString | yValue () const |
| virtual QString | zValue () const |
| DtAltitudeSelectionWidget * | altitudeWidget () |
| virtual void | setAltitudeAboveSeaLevelVisible (bool b) |
| virtual void | setAltitudeAboveGroundLevelVisible (bool b) |
| virtual void | setCreator (int, DtLocationCSEntryCreatorInterface *) |
| virtual DtGeodeticCoord | geodeticLocation () const |
| virtual void | setCoordinateSystem (const makArchives::DtDisplayUnitsSettingsRecord::CoordSys &coordSys) |
| Calls down to logic to set coordinate system. More... | |
| const makArchives::DtDisplayUnitsSettingsRecord::CoordSys & | coordinateSystem () const |
| virtual void | setCoordinateSystemDecimals (int decimals) |
| Sets the precision of the x, y and z line edits. More... | |
| virtual void | setAltitudeSelectionEnabled (bool) |
| virtual bool | altitudeSelectionEnabled () const |
| virtual void | setZEnabled (bool) |
| virtual void | changeAltitudeEnabledSettings (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. More... | |
| virtual void | setAltitudeAboveGroundLevel (double altitude) |
| Sets the altitude location. More... | |
| 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. More... | |
| virtual void | setIgnoreList (const std::vector< makVrv::DtElementID > &) |
| List of objects to ignore when getting intersections. More... | |
| 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. More... | |
| virtual void | setupFromBoundVariable (const DtReaderWriter *variableName) |
| Sets up the widget from the given reader/writer variables. More... | |
| virtual void | setupFrom (const std::vector< makVrv::DtSimEntry * > &data) |
| Sets up from initial data. More... | |
| virtual void | setMaintainCurrentAltitude (bool) |
| Maintains current altitude in altitude widget if true. More... | |
| virtual bool | maintainCurrentAltitude () const |
| virtual void | setupBasedOnEntityType (const DtEntityType &) |
| Sets up whether or not to maintain current altitude on placement based on entity kind. More... | |
| 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. More... | |
| 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. More... | |
| virtual void | setInvalid (bool) |
| 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, const CreationFlags &cflags=NormalMode) | |
| virtual | ~DtTaskSetVariableWidget () |
| virtual void | setToolTip (const QString &) |
| Sets the tool tip. More... | |
| virtual void | setLabel (const std::string &) |
| Display label. More... | |
| virtual void | setLabel (const QString &) |
| QString version for property. More... | |
| virtual void | setVariableData (const std::string &) |
| Calls QString version. More... | |
| virtual void | setVariableData (const QString &) |
| QString version calls std::string version. More... | |
| virtual QString | variableData () const |
| virtual QString | label () const |
| virtual void | setIsInternal (bool) |
| Whether or not value is internal. Internal values will not be shown to the user on the scripted task dialog. More... | |
| virtual bool | isInternal () const |
| virtual void | setTopLineVisible (bool) |
| Hides top line. More... | |
| virtual bool | topLineVisible () const |
| virtual void | createTopLine () |
| Creates top line. More... | |
| virtual void | setIndent (int) |
| Sets the indent level for the contents of this widget, except for the title line. More... | |
| virtual int | indent () const |
| virtual bool | isValid () const |
| Indicates the current selection is valid. More... | |
| virtual void | setTopLabelChecked (bool) |
| Sets the top label to be checked/unchecked and calls topLabelChecked if the check box is visible. More... | |
| virtual bool | topLabelChecked () const |
| virtual void | setRange (const DtRange &) |
| virtual void | setRangeTop (double) |
| virtual void | setRangeTop (int) |
| virtual double | rangeTop () const |
| virtual void | setRangeBottom (double) |
| virtual void | setRangeBottom (int) |
| virtual double | rangeBottom () const |
| virtual const DtRange & | getRange () const |
| virtual void | setTopLabelIsCheckable (bool) |
| Sets whether or not the top label is checkable. More... | |
| 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]. More... | |
| virtual std::string | variableDataFromUiDesigner (const QDomElement &, const DtScriptedTaskVariableLayoutConverter &) const |
| Given the Ui designer properties create a string that will represent the variable data for those properties. More... | |
| virtual std::string | scriptedTaskVariableName () const |
| In most cases this is the objectName of the object, however, in some cases (as in radio button) this could be a name that is shared amongst like objects, so, that is returned instead. More... | |
Public Member Functions inherited from makVrf::DtTaskSetVariableWidgetInterface | |
| DtTaskSetVariableWidgetInterface () | |
| virtual | ~DtTaskSetVariableWidgetInterface () |
| virtual void | widgetInitializedForDialog (DtScriptedTaskDialog *, const std::vector< makVrv::DtSimEntry * > &data) |
| Called when the widget is initialized from a scripted task dialog. Default implementation is to do nothing. More... | |
| 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. More... | |
| virtual bool | guiElementOnly () const |
| Returns true if this is a GUI element only. Default is false. More... | |
Public Member Functions inherited from makVrf::DtLocationEntryWidgetInterface | |
| virtual | ~DtLocationEntryWidgetInterface () |
Public Member Functions inherited from makVrf::DtMapFocusHandler | |
| DtMapFocusHandler () | |
| CTOR. More... | |
| virtual | ~DtMapFocusHandler () |
| DTOR. More... | |
| virtual void | clearMapFocusSelectedByUser () |
| If mapFocusSelectedByUser is true will prevent focus from automatically changing to another control. More... | |
| virtual bool | mapFocusSelectedByUser () const |
Static Public Member Functions | |
| static makVrv::DtUnicode | codeVariableType () |
| static std::string | designerGroup () |
| static std::string | headerFile () |
| static std::string | variableName () |
Static Public Member Functions inherited from makVrf::DtTaskSetVariableWidget | |
| static bool | includeInQtDesigner () |
Static Public Member Functions inherited from makVrf::DtTaskSetVariableWidgetInterface | |
| static bool | canBeUsedAsWidget () |
| Whether or not this shows up as a usable variable widget. More... | |
| static void | initializeForQtDesignerExtension (makVrv::DtDe &de, QDesignerFormEditorInterface *core) |
| Implement at class level to perform Qt Designer custom widget initialization. Please refer to Qt documentation for designer modifications. More... | |
| static bool | includeInQtDesigner () |
Protected Slots | |
| virtual void | canTakeMapFocusChanged () |
| virtual void | slot_onPositionChanged () |
| virtual void | slot_onPositionEdited (bool complete) |
| virtual void | slot_onAltitudeAboveGroundLevelEdited (double) |
| virtual void | slot_onAltitudeAboveSeaLevelEdited (double) |
| virtual void | slot_onAltitudeSelectionTypeChanged (const DtAltitudeClampType &) |
Protected Slots inherited from makVrf::DtTaskSetVariableWidget | |
| virtual void | topLabelCheckStateChanged () |
Protected Member Functions | |
| 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. More... | |
| virtual void | setRange (double top, double bottom) |
| Validation range. Not applicable to this widget. More... | |
| virtual void | setDefaultValue (const std::string &) |
| Default value to set in control. More... | |
| virtual void | slot_onClampSelectionChanged (int index) |
| virtual void | dataEntryWidgetChanged () |
Protected Attributes | |
| DtLocationEntryWidgetLogic * | myLogic |
| bool | myProcessMouseEvents |
| bool | myLockAltitude |
| bool | myAltitudeSelectionEnabled |
| DtVector | myOriginalLocation |
| bool | myBoundIsZero |
| bool | myAdvancedKeyboardHandling |
| bool | myHideZLocation |
| makVrv::DtCoordinateDisplay * | myCoordinateSystem |
| bool | myUseInputValidation |
| bool | myInvalid |
| bool | myBlockSignals |
| makVrv::DtSignalConnectionManager | myConnections |
| bool | myTakeMapFocusEnabled |
| std::map< int, DtLocationCSEntryCreatorInterface * > | myCreators |
| Override factory creators with these. If the one being set is currently displayed, replace. More... | |
Protected Attributes inherited from makVrf::DtTaskSetVariableWidget | |
| makVrv::DtDe & | myDe |
| makVrv::DtSignalConnectionManager | myConnections |
| bool | myTopLabelIsCheckable |
| DtRange | myRange |
| bool | myIsInternal |
| CreationFlags | myCreationFlags |
| QString | myVariableData |
Protected Attributes inherited from makVrf::DtMapFocusHandler | |
| bool | myMapFocusSelectedByUser |
Additional Inherited Members | |
Public Types inherited from makVrf::DtTaskSetVariableWidgetInterface | |
| enum | CreationFlags { NormalMode = 0x00000000, QtDesignerMode = 0x00000001 } |
Signals inherited from makVrf::DtTaskSetVariableWidget | |
| void | validityUpdated () |
| Signal which can be emitted to indicate the validity of the current widget selection has changed. More... | |
Properties inherited from makVrf::DtTaskSetVariableWidget | |
| QString | label |
| bool | isInternal |
| int | indent |
| QString | variableData |
| makVrf::DtLocationEntryWidget::DtLocationEntryWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0, |
||
| const CreationFlags & | cflags = NormalMode |
||
| ) |
Constructor.
|
virtual |
|
virtual |
Returns value in meters and local.
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Returns value as geocentric.
|
virtual |
Sets whether or not to use input validation. Defaults to true.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Block boost signals from being sent.
| bool makVrf::DtLocationEntryWidget::signalsBlocked | ( | ) | const |
|
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 |
Set lat/lon validator enabled state.
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
|
virtual |
|
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.
|
inline |
|
virtual |
|
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 |
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 |
Reimplemented in makVrf::DtSphereEntryWidget.
|
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.
Reimplemented in makVrf::DtSphereEntryWidget.
|
virtual |
Sets up the widget from the given reader/writer variables.
Implements makVrf::DtTaskSetVariableWidgetInterface.
Reimplemented in makVrf::DtSphereEntryWidget.
|
virtual |
Sets up from initial data.
Reimplemented from makVrf::DtTaskSetVariableWidget.
|
inlinestatic |
References makVrv::DtUnicode::tr().
|
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.
Reimplemented in makVrf::DtSphereEntryWidget.
|
virtual |
Implements makVrf::DtMapFocusHandler.
|
virtual |
Implements makVrf::DtMapFocusHandler.
|
virtual |
Implements makVrf::DtMapFocusHandler.
|
virtual |
Maintains current altitude in altitude widget if true.
Reimplemented in makVrf::DtSphereEntryWidget.
|
virtual |
|
virtual |
Sets up whether or not to maintain current altitude on placement based on entity kind.
|
virtual |
|
virtual |
Sets to signal the location change by mouse set only – do not set in gui as it is expected that others will do that.
The signal for location being set my mouse will still be sent
|
virtual |
Will warn if flag is true via message box and/or will send signals for valid, invalid location.
|
virtual |
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
protectedvirtual |
|
protectedvirtual |
Called when a location entry widget receives focus or the altitude selection entry widget receives focus.
Signals the receivedFocus signal
Validation range. Not applicable to this widget.
Reimplemented from makVrf::DtTaskSetVariableWidget.
Reimplemented in makVrf::DtSphereEntryWidget.
|
protectedvirtual |
Default value to set in control.
Implements makVrf::DtTaskSetVariableWidgetInterface.
Reimplemented in makVrf::DtSphereEntryWidget.
|
protectedvirtualslot |
Reimplemented in makVrf::DtSphereEntryWidget.
|
protectedvirtualslot |
Reimplemented in makVrf::DtSphereEntryWidget.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in makVrf::DtLastPointInfoLocation.
| boost::signals2::signal<void ()> makVrf::DtLocationEntryWidget::signal_invalidLocation |
| boost::signals2::signal<void ()> makVrf::DtLocationEntryWidget::signal_validLocation |
| DtAltitudeSelectionWidget* makVrf::DtLocationEntryWidget::myAltitude |
| QToolButton* makVrf::DtLocationEntryWidget::myCanTakeMapFocus |
| QVBoxLayout* makVrf::DtLocationEntryWidget::myMainLayout |
| DtLocationCSEntryInterface* makVrf::DtLocationEntryWidget::myDataEntryWidget |
| QWidget* makVrf::DtLocationEntryWidget::myWidget |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Override factory creators with these. If the one being set is currently displayed, replace.