![]() |
VR-Forces Developer's Guide
|

Public Slots | |
| virtual void | expand () |
| virtual void | collapse () |
| virtual void | setHasMapFocus (bool) override |
| virtual void | setCanTakeMapFocus (bool) override |
Signals | |
| void | expansionStateChanged (bool expanded) |
Signals inherited from makVrf::DtTaskSetVariableWidget | |
| void | validityUpdated () |
Public Member Functions | |
| DtLocationEntryWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0, const CreationFlags &cflags=NormalMode) | |
| virtual | ~DtLocationEntryWidget () override |
| virtual DtVector | location () const override |
| virtual DtVector | geocentricLocation () const |
| virtual void | setUseInputValidation (bool) |
| virtual bool | useInputValidation () const |
| virtual QString | generatedDescription () const override |
| virtual void | setUseHighestLOD (bool) |
| virtual bool | useHighestLOD () const |
| virtual void | blockSignals (bool) |
| bool | signalsBlocked () const |
| virtual void | setLocation (DtVector, bool resetAltitude=true) override |
| virtual void | setGeocentricLocation (DtVector, bool resetAltitude=true) |
| virtual void | setAltitude (const DtVector &localLocation, bool resetAltitude=true) override |
| virtual void | setCoordinateSystem (makVrv::DtCoordinateDisplay *) override |
| virtual void | setHideAltitude (bool b) |
| virtual void | setHideLocationZ (bool b) override |
| virtual void | setXYValidatorsEnabled (bool enabled) override |
| virtual bool | xyValidatorsEnabled () const override |
| virtual void | setAdvancedKeyboardHandling (bool) |
| virtual bool | advancedKeyboardHandling () const |
| virtual void | updateLocationLabel () |
| virtual void | setCompactMode (bool) |
| bool | compactMode () const |
| virtual bool | expanded () const |
| virtual void | setFixedDisplay (bool) |
| virtual bool | fixedDisplay () const |
| virtual void | setInitiallyExpand (bool) |
| virtual bool | initiallyExpand () const |
| virtual void | setXLabel (const QString &) override |
| QString | xLabel () const |
| virtual void | setYLabel (const QString &) override |
| QString | yLabel () const |
| virtual void | setZLabel (const QString &) override |
| QString | zLabel () const |
| virtual void | setChangeWithDisplaySettings (bool) |
| virtual void | setXValue (const QString &) override |
| virtual void | setYValue (const QString &) override |
| virtual void | setZValue (const QString &) override |
| virtual void | clearZValue () |
| virtual QString | xValue () const override |
| virtual QString | yValue () const override |
| virtual QString | zValue () const override |
| DtAltitudeSelectionWidget * | altitudeWidget () |
| virtual const std::set < makVrv::DtUniqueID > & | selection () const override |
| virtual void | setAltitudeAboveSeaLevelVisible (bool b) |
| virtual void | setAltitudeAboveGroundLevelVisible (bool b) |
| virtual void | setCreator (int, DtLocationCSEntryCreatorInterface *) |
| virtual void | setLostMapFocus (bool) |
| virtual void | giveMapFocusTo () |
| virtual void | takeMapFocusFrom () |
| virtual DtGeodeticCoord | geodeticLocation () const override |
| virtual void | setCoordinateSystem (const makArchives::DtDisplayUnitsSettingsRecord::CoordSys &coordSys) override |
| const makArchives::DtDisplayUnitsSettingsRecord::CoordSys & | coordinateSystem () const |
| virtual void | setCoordinateSystemDecimals (int decimals) override |
| virtual void | setAltitudeSelectionEnabled (bool) override |
| virtual bool | altitudeSelectionEnabled () const override |
| virtual void | setZEnabled (bool) override |
| virtual void | changeAltitudeEnabledSettings (bool) override |
| virtual void | setCurrentAltitudeTypeSelection (const DtAltitudeClampType &type) |
| virtual DtAltitudeClampType | currentAltitudeTypeSelection () const |
| virtual double | altitudeAboveSeaLevel () const override |
| virtual double | altitudeAboveGroundLevel () const override |
| virtual void | setAltitudeAboveSeaLevel (double altitude) override |
| virtual void | setAltitudeAboveGroundLevel (double altitude) |
| virtual void | setProcessMouseEvents (bool flag) |
| virtual bool | processMouseEvents () |
| virtual void | setAltitudeAboveGroundLevelSelected (bool b) |
| virtual void | setAltitudeAboveSeaLevelSelected (bool b) |
| virtual void | setClampToNearestPolygon (bool) |
| virtual void | setShowSelectedLook (bool) |
| bool | showSelectedLook () const |
| virtual void | setIgnoreList (const std::vector< makVrv::DtElementID > &) |
| virtual const std::vector < makVrv::DtElementID > & | ignoreList () const |
| virtual DtReaderWriter * | createBoundVariable (const std::string &variableName) override |
| virtual void | setupFromBoundVariable (const DtReaderWriter *variableName) override |
| virtual void | setupFrom (const std::set< makVrv::DtUniqueID > &data) override |
| virtual void | setMaintainCurrentAltitude (bool) |
| virtual bool | maintainCurrentAltitude () const |
| virtual void | setupBasedOnEntityType (const DtEntityType &) |
| virtual void | setProcessAltitudeMouseClicks (bool b) |
| virtual void | setSignalLocationSetOnly (bool) |
| virtual bool | signalLocationSetOnly () const |
| virtual bool | validateLocation (bool warn=false) |
| virtual void | setInvalid (bool) |
| virtual bool | invalid () const override |
| virtual SelectionStatus | selectionStatusFor (makVrv::DtUniqueID id, DtMapFocusHandlerInterface::CursorOver) const override |
| virtual void | setUseLabelForLocationEntry (bool) |
| virtual bool | useLabelForLocationEntry () const |
| virtual makVrv::DtQtCursor | cursorForSelectionStatus (SelectionStatus, DtMapFocusHandlerInterface::CursorOver) const override |
| virtual void | setDefaultValue (const std::string &) override |
| virtual QSize | minimumSizeHint () const override |
| virtual void | setVariableData (const QString &) override |
| virtual void | setSelection (const std::set< makVrv::DtUniqueID > &set) override |
| virtual bool | canTakeMapFocus () const override |
| virtual bool | hasMapFocus () const override |
Public Member Functions inherited from makVrf::DtTaskSetVariableWidget | |
| DtTaskSetVariableWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0, const CreationFlags &cflags=NormalMode) | |
| virtual | ~DtTaskSetVariableWidget () override |
| virtual void | setToolTip (const QString &) override |
| virtual void | setLabel (const std::string &) override |
| virtual void | setLabel (const QString &) override |
| virtual void | setVariableData (const std::string &) override |
| virtual QString | variableData () const |
| virtual QString | label () const |
| virtual void | setIsInternal (bool) |
| virtual bool | isInternal () const |
| virtual void | setTopLineVisible (bool) override |
| virtual bool | topLineVisible () const override |
| virtual void | createTopLine () |
| virtual void | setIndent (int) override |
| virtual int | indent () const |
| virtual bool | isValid () const override |
| virtual void | setTopLabelChecked (bool) |
| 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) |
| 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) |
| virtual std::string | variableDataFromUiDesigner (const QDomElement &, const DtScriptedTaskVariableLayoutConverter &) const override |
| virtual std::string | scriptedTaskVariableName () const override |
| virtual void | setDefaultValueFromStateProperty (const DtPropertyInterface &) override |
Public Member Functions inherited from makVrf::DtTaskSetVariableWidgetInterface | |
| DtTaskSetVariableWidgetInterface () | |
| virtual | ~DtTaskSetVariableWidgetInterface () |
| virtual void | widgetInitializedForDialog (DtScriptedTaskDialog *, const std::set< makVrv::DtUniqueID > &data) |
| virtual bool | guiElementOnly () const |
Public Member Functions inherited from makVrf::DtLocationEntryWidgetInterface | |
| virtual | ~DtLocationEntryWidgetInterface () |
Public Member Functions inherited from makVrf::DtMapFocusHandlerInterface | |
| DtMapFocusHandlerInterface () | |
| virtual | ~DtMapFocusHandlerInterface () |
| virtual void | setHasMapFocus (bool)=0 |
| virtual void | setCanTakeMapFocus (bool)=0 |
| virtual void | setDescription (const QString &s) |
| virtual QString | operation () const |
| virtual void | setOneClickMode (bool b) |
| bool | oneClickMode () 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 () |
| static void | initializeForQtDesignerExtension (makVrv::DtDe &de, QDesignerFormEditorInterface *core) |
| 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 &) |
| virtual void | setupSelectionIcon () |
Protected Slots inherited from makVrf::DtTaskSetVariableWidget | |
| virtual void | topLabelCheckStateChanged () |
Protected Member Functions | |
| virtual void | showAllItems () |
| virtual DtTaskSetVariableWidgetExtensionInterface * | parameterContents (QWidget *parent, const Qt::WindowFlags &flags=0) const override |
| virtual void | updateLocationLook () |
| virtual bool | validateDMS (const std::string &, bool northSouth) const |
| virtual bool | validateDDM (const std::string &, bool northSouth) const |
| virtual void | slot_receivedFocus () |
| virtual void | setRange (double top, double bottom) override |
| virtual void | slot_onClampSelectionChanged (int index) |
| virtual void | dataEntryWidgetChanged () |
| virtual void | selectionChanged (const std::set< makVrv::DtUniqueID > &) override |
| virtual void | changeEvent (QEvent *) override |
Properties | |
| bool | fixeddisplay |
| bool | initiallyExpand |
Properties inherited from makVrf::DtTaskSetVariableWidget | |
| QString | label |
| bool | isInternal |
| int | indent |
| QString | variableData |
Additional Inherited Members | |
Public Types inherited from makVrf::DtTaskSetVariableWidgetInterface | |
| enum | CreationFlags { NormalMode = 0x00000000, QtDesignerMode = 0x00000001 } |
Public Types inherited from makVrf::DtMapFocusHandlerInterface | |
| enum | SelectionStatus { Unknown = 0, Valid = 1, Invalid = 2 } |
| enum | CursorOver { ObjectList = 0, MapArea = 1 } |
| makVrf::DtLocationEntryWidget::DtLocationEntryWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0, |
||
| const CreationFlags & | cflags = NormalMode |
||
| ) |
Constructor.
|
overridevirtual |
|
overridevirtual |
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 |
|
overridevirtual |
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.
Reimplemented from makVrf::DtMapFocusHandlerInterface.
|
virtual |
|
virtual |
|
virtual |
Block boost signals from being sent.
| bool makVrf::DtLocationEntryWidget::signalsBlocked | ( | ) | const |
|
overridevirtual |
Expects value in meters and local.
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
|
overridevirtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
overridevirtual |
The coordinate system of the current values.
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Hides/shows the Z (altitude) section.
|
overridevirtual |
Hides/shows the myLocationZ line edit.
Implements makVrf::DtLocationEntryWidgetInterface.
|
overridevirtual |
Set lat/lon validator enabled state.
Implements makVrf::DtLocationEntryWidgetInterface.
|
overridevirtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
|
virtual |
|
virtual |
Reimplemented in makVrf::DtLocationEntryWithoutAltitudeWidget.
|
virtual |
Sets whether or not this list view supports compact mode (name only shown with map focus select and expand/collapse button). Default is true.
Reimplemented in makVrf::DtLocationEntryWithoutAltitudeWidget.
|
inline |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
overridevirtual |
Sets label titles.
Implements makVrf::DtLocationEntryWidgetInterface.
| QString makVrf::DtLocationEntryWidget::xLabel | ( | ) | const |
|
overridevirtual |
Implements makVrf::DtLocationEntryWidgetInterface.
| QString makVrf::DtLocationEntryWidget::yLabel | ( | ) | const |
|
overridevirtual |
Implements makVrf::DtLocationEntryWidgetInterface.
| QString makVrf::DtLocationEntryWidget::zLabel | ( | ) | const |
|
virtual |
Set to false to freeze location widget at current display settings.
|
overridevirtual |
Sets values.
Implements makVrf::DtLocationEntryWidgetInterface.
|
overridevirtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
overridevirtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
|
overridevirtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
overridevirtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
overridevirtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
inline |
|
overridevirtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Same as setHasMapFocus except also calls canTakeMapFocusChanged()
|
virtual |
Calls setLostMapFocus(false)
|
virtual |
Calls setLostMapFocus(true)
|
overridevirtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
overridevirtual |
Calls down to logic to set coordinate system.
Implements makVrf::DtLocationEntryWidgetInterface.
| const makArchives::DtDisplayUnitsSettingsRecord::CoordSys& makVrf::DtLocationEntryWidget::coordinateSystem | ( | ) | const |
|
overridevirtual |
Sets the precision of the x, y and z line edits.
Implements makVrf::DtLocationEntryWidgetInterface.
|
overridevirtual |
| 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.
|
overridevirtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
overridevirtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
overridevirtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
|
virtual |
|
overridevirtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
overridevirtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
overridevirtual |
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 |
|
inline |
|
virtual |
List of objects to ignore when getting intersections.
|
virtual |
|
overridevirtual |
Creates the reader/writer variable that will be used as part of the task statement.
Implements makVrf::DtTaskSetVariableWidgetInterface.
Reimplemented in makVrf::DtSphereEntryWidget.
|
overridevirtual |
Sets up the widget from the given reader/writer variables.
Implements makVrf::DtTaskSetVariableWidgetInterface.
Reimplemented in makVrf::DtSphereEntryWidget.
|
overridevirtual |
Sets up from initial data.
Reimplemented from makVrf::DtTaskSetVariableWidget.
|
inlinestatic |
References makVrv::DtUnicode::tr().
|
overridevirtual |
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::DtMapFocusHandlerInterface.
|
overridevirtual |
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::DtMapFocusHandlerInterface.
|
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 |
|
overridevirtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
overridevirtual |
Return the selection status for the given id.
Implements makVrf::DtMapFocusHandlerInterface.
|
virtual |
Tells if we want that location entry get displayd as label instead of line edit. This function must be called just after constructor call.
|
virtual |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
overridevirtual |
Returns a selection cursor based on the selection type.
Implements makVrf::DtMapFocusHandlerInterface.
|
overridevirtual |
Default value to set in control.
Implements makVrf::DtTaskSetVariableWidgetInterface.
Reimplemented in makVrf::DtSphereEntryWidget.
|
overridevirtual |
|
overridevirtual |
QString version calls std::string version.
Reimplemented from makVrf::DtTaskSetVariableWidget.
Reimplemented in makVrf::DtSphereEntryWidget.
|
overridevirtual |
The selection set can be used to determine the display units to show.
Reimplemented from makVrf::DtTaskSetVariableWidget.
|
protectedvirtual |
|
overrideprotectedvirtual |
Return extension that allows entry of whether or not to initially expand widget.
Reimplemented from makVrf::DtTaskSetVariableWidgetInterface.
Reimplemented in makVrf::DtSphereEntryWidget.
|
protectedvirtual |
|
protectedvirtual |
Validate the DMS (Degrees, Minutes, Secondes) string format.
|
protectedvirtual |
Validate the DDM (Degrees, Decimal Minutes) string format.
|
protectedvirtual |
Called when a location entry widget receives focus or the altitude selection entry widget receives focus. Signals the receivedFocus signal.
|
overrideprotectedvirtual |
Validation range. Not applicable to this widget.
Reimplemented from makVrf::DtTaskSetVariableWidget.
Reimplemented in makVrf::DtSphereEntryWidget.
|
virtualslot |
|
virtualslot |
|
overridevirtualslot |
Reimplemented in makVrf::DtSphereEntryWidget.
|
overridevirtualslot |
|
signal |
|
protectedvirtualslot |
Reimplemented in makVrf::DtSphereEntryWidget.
|
protectedvirtualslot |
Reimplemented in makVrf::DtSphereEntryWidget.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in makVrf::DtLastPointInfoLocation.
|
overrideprotectedvirtual |
Called when the selection has changed via setSelection.
Reimplemented from makVrf::DtTaskSetVariableWidget.
Reimplemented in makVrf::DtSphereEntryWidget.
|
overrideprotectedvirtual |
Disable map selection mode if disabled.
| 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 |
| QFrame* makVrf::DtLocationEntryWidget::myLocationFrame |
| QVBoxLayout* makVrf::DtLocationEntryWidget::myLocationFrameLayout |
| QToolButton* makVrf::DtLocationEntryWidget::myExpandCollapseButton |
| QLabel* makVrf::DtLocationEntryWidget::myLocationLabel |
| QWidget* makVrf::DtLocationEntryWidget::myCompactLineWidget |
| QHBoxLayout* makVrf::DtLocationEntryWidget::myCompactLineWidgetLayout |
|
protected |
|
protected |
|
protected |
|
protected |
|
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.
|
readwrite |
|
readwrite |