![]() |
VR-Forces 4.10 Class Documentation
|
class DtLastPointInfoLocation: More...

Public Member Functions | |
| DtLastPointInfoLocation (makVrv::DtDe &, QWidget *parent) | |
| virtual | ~DtLastPointInfoLocation () |
| virtual void | setAltitudeSelectionEnabled (bool enabled) |
| virtual void | dataEntryWidgetChanged () |
Public Member Functions inherited from makVrf::DtLocationEntryWidget | |
| 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 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 | setUseLabelForLocationEntry (bool) |
| Tells if we want that location entry get displayd as label instead of line edit. More... | |
| virtual bool | useLabelForLocationEntry () 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... | |
| virtual void | setSelection (const std::set< makVrv::DtUniqueID > &selection) |
| The selection set can be used to determine the diplay units to show. More... | |
| virtual void | setSelection (const std::vector< makVrv::DtSimEntry * > &data) |
| virtual const std::set < makVrv::DtUniqueID > & | selection () const |
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 () |
| virtual const std::set < makVrv::DtUniqueID > & | selection () const |
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 |
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... | |
Static Public Member Functions inherited from makVrf::DtLocationEntryWidget | |
| 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 () |
Public Attributes inherited from makVrf::DtLocationEntryWidget | |
| boost::signals2::signal< void()> | signal_invalidLocation |
| boost::signals2::signal< void()> | signal_validLocation |
| DtAltitudeSelectionWidget * | myAltitude |
| QToolButton * | myCanTakeMapFocus |
| QVBoxLayout * | myMainLayout |
| DtLocationCSEntryInterface * | myDataEntryWidget |
| QWidget * | myWidget |
Public Attributes inherited from makVrf::DtTaskSetVariableWidget | |
| boost::signals2::signal< void(bool)> | signal_topLevelCheckStateChanged |
| int | myIndent |
| QVBoxLayout * | myVariableWidgetLayout |
| QHBoxLayout * | mySpacedLayout |
| QVBoxLayout * | myVariableContentLayout |
| When creating subclasses of this item, use the variable content layout to add your content. More... | |
| QWidget * | myTopLine |
| QLabel * | myTopLabel |
| QWidget * | myChoiceCanvas |
| QRadioButton * | myUseDefault |
| QRadioButton * | myUseSpecific |
| QSpacerItem * | myTopSeparator |
| QHBoxLayout * | myTopLineLayout |
| QSpacerItem * | mySpacerItem |
Public Attributes inherited from makVrf::DtLocationEntryWidgetInterface | |
| boost::signals2::signal< void(const DtVector &)> | signal_locationSetByMouseClick |
| boost::signals2::signal< void(const DtVector &, bool)> | signal_locationChanged |
| boost::signals2::signal< void(double)> | signal_altitudeAboveGroundLevelEdited |
| boost::signals2::signal< void(double)> | signal_altitudeAboveSeaLevelEdited |
| boost::signals2::signal< void(const DtAltitudeClampType &)> | signal_altitudeSelectionTypeChanged |
| boost::signals2::signal< void(int)> | signal_clampSelectionChanged |
Public Attributes inherited from makVrf::DtMapFocusHandler | |
| boost::signals2::signal< void(DtMapFocusHandler *, bool)> | signal_canTakeMapFocusChanged |
| boost::signals2::signal< void(DtMapFocusHandler *)> | signal_selectionChangedByMapSelection |
Protected Slots inherited from makVrf::DtLocationEntryWidget | |
| 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 inherited from makVrf::DtLocationEntryWidget | |
| virtual bool | validateDMS (const std::string &) const |
| Validate the DMS (Degrees, Minutes, Secondes) string format. More... | |
| virtual bool | validateDDM (const std::string &) const |
| Validate the DDM (Degrees, Decimal Minutes) string format. More... | |
| 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 | selectionChanged (const std::set< makVrv::DtUniqueID > &) |
| Called when the selection has changed via setSelection. More... | |
Protected Attributes inherited from makVrf::DtLocationEntryWidget | |
| 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 |
| bool | myUseLabelForLocationEntry |
| 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 |
| std::set< makVrv::DtUniqueID > | mySelection |
Protected Attributes inherited from makVrf::DtMapFocusHandler | |
| bool | myMapFocusSelectedByUser |
Properties inherited from makVrf::DtTaskSetVariableWidget | |
| QString | label |
| bool | isInternal |
| int | indent |
| QString | variableData |
class DtLastPointInfoLocation:
Instances of DtLastPointInfoLocation are
| makVrf::DtLastPointInfoLocation::DtLastPointInfoLocation | ( | makVrv::DtDe & | , |
| QWidget * | parent | ||
| ) |
|
virtual |
|
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. |
Reimplemented from makVrf::DtLocationEntryWidget.
|
virtual |
Reimplemented from makVrf::DtLocationEntryWidget.