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

Public Member Functions | |
| DtLocationEntryWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0, const CreationFlags &cflags=NormalMode) | |
| virtual | ~DtLocationEntryWidget () |
| virtual DtVector | location () const |
| virtual DtVector | geocentricLocation () const |
| virtual void | setUseInputValidation (bool) |
| virtual bool | useInputValidation () const |
| virtual void | setUseHighestLOD (bool) |
| virtual bool | useHighestLOD () const |
| virtual void | blockSignals (bool) |
| bool | signalsBlocked () const |
| virtual void | setLocation (DtVector, bool resetAltitude=true) |
| virtual void | setGeocentricLocation (DtVector, bool resetAltitude=true) |
| virtual void | setAltitude (const DtVector &localLocation, bool resetAltitude=true) |
| virtual void | setCoordinateSystem (makVrv::DtCoordinateDisplay *) |
| virtual void | setHideAltitude (bool b) |
| virtual void | setHideLocationZ (bool b) |
| virtual void | setXYValidatorsEnabled (bool enabled) |
| virtual bool | xyValidatorsEnabled () const |
| virtual void | setAdvancedKeyboardHandling (bool) |
| virtual bool | advancedKeyboardHandling () const |
| virtual void | setXLabel (const QString &) |
| QString | xLabel () const |
| virtual void | setYLabel (const QString &) |
| QString | yLabel () const |
| virtual void | setZLabel (const QString &) |
| QString | zLabel () const |
| virtual void | setChangeWithDisplaySettings (bool) |
| virtual void | setXValue (const QString &) |
| virtual void | setYValue (const QString &) |
| virtual void | setZValue (const QString &) |
| virtual void | clearZValue () |
| 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 void | setLostMapFocus (bool) |
| virtual void | giveMapFocusTo () |
| virtual void | takeMapFocusFrom () |
| virtual DtGeodeticCoord | geodeticLocation () const |
| virtual void | setCoordinateSystem (const makArchives::DtDisplayUnitsSettingsRecord::CoordSys &coordSys) |
| const makArchives::DtDisplayUnitsSettingsRecord::CoordSys & | coordinateSystem () const |
| virtual void | setCoordinateSystemDecimals (int decimals) |
| 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) |
| 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 | setIgnoreList (const std::vector< makVrv::DtElementID > &) |
| virtual const std::vector < makVrv::DtElementID > & | ignoreList () const |
| virtual DtReaderWriter * | createBoundVariable (const std::string &variableName) |
| virtual void | setupFromBoundVariable (const DtReaderWriter *variableName) |
| virtual void | setupFrom (const std::vector< makVrv::DtSimEntry * > &data) |
| 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 |
| virtual void | setUseLabelForLocationEntry (bool) |
| virtual bool | useLabelForLocationEntry () const |
| virtual makVrv::DtQtCursor | cursorForSelectionStatus (SelectionStatus) 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 &) |
| virtual void | setLabel (const std::string &) |
| virtual void | setLabel (const QString &) |
| virtual void | setVariableData (const std::string &) |
| virtual void | setVariableData (const QString &) |
| virtual QString | variableData () const |
| virtual QString | label () const |
| virtual void | setIsInternal (bool) |
| virtual bool | isInternal () const |
| virtual void | setTopLineVisible (bool) |
| virtual bool | topLineVisible () const |
| virtual void | createTopLine () |
| virtual void | setIndent (int) |
| virtual int | indent () const |
| virtual bool | isValid () const |
| 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 |
| virtual std::string | scriptedTaskVariableName () const |
| virtual void | setSelection (const std::set< makVrv::DtUniqueID > &selection) |
| 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) |
| virtual DtTaskSetVariableWidgetExtensionInterface * | parameterContents (QWidget *parent, const Qt::WindowFlags &flags=0) const |
| virtual bool | guiElementOnly () const |
Public Member Functions inherited from makVrf::DtLocationEntryWidgetInterface | |
| virtual | ~DtLocationEntryWidgetInterface () |
| virtual const std::set < makVrv::DtUniqueID > & | selection () const |
Public Member Functions inherited from makVrf::DtMapFocusHandlerInterface | |
| DtMapFocusHandlerInterface () | |
| virtual | ~DtMapFocusHandlerInterface () |
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 | 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) |
| virtual void | setDefaultValue (const std::string &) |
| virtual void | slot_onClampSelectionChanged (int index) |
| virtual void | dataEntryWidgetChanged () |
| virtual void | selectionChanged (const std::set< makVrv::DtUniqueID > &) |
| virtual bool | compactMode () const |
| virtual SelectionStatus | selectionStatusFor (makVrv::DtUniqueID id) const override |
| virtual void | changeEvent (QEvent *) override |
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 } |
Signals inherited from makVrf::DtTaskSetVariableWidget | |
| void | validityUpdated () |
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 |
Set to false to freeze location widget at current display settings.
|
virtual |
Sets values.
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
inline |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Same as setHasMapFocus except also calls canTakeMapFocusChanged()
|
virtual |
Calls setLostMapFocus(false)
|
virtual |
Calls setLostMapFocus(true)
|
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::DtMapFocusHandlerInterface.
Reimplemented in makVrf::DtSphereEntryWidget.
|
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::DtMapFocusHandlerInterface.
|
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::DtMapFocusHandlerInterface.
|
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::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 |
|
virtual |
Implements makVrf::DtLocationEntryWidgetInterface.
|
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 |
|
virtual |
Returns a selection cursor based on the selection type.
Implements makVrf::DtMapFocusHandlerInterface.
|
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.
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 |
|
protectedvirtualslot |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in makVrf::DtLastPointInfoLocation.
|
protectedvirtual |
Called when the selection has changed via setSelection.
Reimplemented from makVrf::DtTaskSetVariableWidget.
Reimplemented in makVrf::DtSphereEntryWidget.
|
inlineprotectedvirtual |
Items that are in compact mode will get the map focus button shown regardless.
Implements makVrf::DtMapFocusHandlerInterface.
|
overrideprotectedvirtual |
Return the selection status for the given id.
Implements makVrf::DtMapFocusHandlerInterface.
|
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 |
|
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.