![]() |
VR-Forces Developer's Guide
|
This widget will allow the user to pick either a destination location or destination object.

Signals | |
| void | expansionStateChanged (bool) |
Signals inherited from makVrf::DtTaskSetVariableWidget | |
| void | validityUpdated () |
Public Member Functions | |
| DtLocationReferenceEntryWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0, const CreationFlags &cflags=NormalMode) | |
| virtual | ~DtLocationReferenceEntryWidget () |
| virtual DtReaderWriter * | createBoundVariable (const std::string &variableName) |
| virtual void | setupFromBoundVariable (const DtReaderWriter *variableName) |
| virtual DtTaskSetVariableWidgetExtensionInterface * | parameterContents (QWidget *parent, const Qt::WindowFlags &flags=0) const |
| virtual DtVrfFilteredListView * | filteredListView () |
| virtual DtLocationEntryWidget * | locationEntryWidget () |
| virtual void | resetMapFocus () |
| virtual void | setSelection (const std::vector< makVrv::DtSimEntry * > &data) |
| virtual void | giveMapFocusTo () |
| virtual void | setLostMapFocus (bool b) |
| virtual void | takeMapFocusFrom () |
| virtual void | setHasMapFocus (bool b) |
| virtual void | setCanTakeMapFocus (bool b) |
| virtual bool | hasMapFocus () const |
| bool | canTakeMapFocus () const |
| virtual makVrv::DtQtCursor | cursorForSelectionStatus (SelectionStatus, DtMapFocusHandlerInterface::CursorOver) const |
| virtual QSize | sizeHint () const override |
| virtual QSize | minimumSizeHint () const override |
| virtual void | setRange (double bottom, double top) override |
| virtual void | setDefaultValue (const std::string &) override |
| virtual void | setVariableData (const QString &qts) override |
| virtual DtRwLocationReference::LocationType | locationType () const |
| virtual void | setLocationType (DtRwLocationReference::LocationType posType) |
| virtual DtUUID | object () const |
| virtual void | setObject (const DtUUID &object) |
| virtual DtVector | vector () const |
| virtual void | setVector (const DtVector &v) |
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 QString | variableData () const |
| virtual QString | label () const |
| virtual void | setupFrom (const std::vector< makVrv::DtSimEntry * > &data) |
| 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 const std::set < makVrv::DtUniqueID > & | selection () const override |
| virtual void | setDefaultValueFromStateProperty (const DtPropertyInterface &) |
Public Member Functions inherited from makVrf::DtTaskSetVariableWidgetInterface | |
| DtTaskSetVariableWidgetInterface () | |
| virtual | ~DtTaskSetVariableWidgetInterface () |
| virtual void | widgetInitializedForDialog (DtScriptedTaskDialog *, const std::vector< makVrv::DtSimEntry * > &data) |
| virtual bool | guiElementOnly () 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 | tabSelectionChanged () |
| virtual void | canTakeMapFocusChanged () |
Protected Slots inherited from makVrf::DtTaskSetVariableWidget | |
| virtual void | topLabelCheckStateChanged () |
Protected Member Functions | |
| virtual SelectionStatus | selectionStatusFor (makVrv::DtUniqueID id, DtMapFocusHandlerInterface::CursorOver) const override |
| virtual void | slot_filteredListChanged () |
| virtual void | slot_locationEntryChanged () |
| virtual bool | validFilteredListViewSelection () const |
| virtual void | resolveSelection () |
Protected Member Functions inherited from makVrf::DtTaskSetVariableWidget | |
| virtual void | selectionChanged (const std::set< makVrv::DtUniqueID > &oldSelection) |
Protected Attributes | |
| boost::signals2::scoped_connection | myResolveSelectionConnection |
| int | myLastTabSelected |
| bool | myTakeMapFocusEnabled = true |
| makVrv::DtSignalConnectionManager | myConnections |
| int | myLastOverArea = 0 |
| int | myLastSelectedPosition = -1 |
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 |
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 } |
Properties inherited from makVrf::DtTaskSetVariableWidget | |
| QString | label |
| bool | isInternal |
| int | indent |
| QString | variableData |
| makVrf::DtLocationReferenceEntryWidget::DtLocationReferenceEntryWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0, |
||
| const CreationFlags & | cflags = NormalMode |
||
| ) |
|
virtual |
|
overridevirtual |
These methods must be implemented in order to be considered a DtTaskSetVariable that can be used as part of a scripted task Validation range. Might not be applicable to all items.
Reimplemented from makVrf::DtTaskSetVariableWidget.
|
overridevirtual |
Default value to set in control.
Implements makVrf::DtTaskSetVariableWidgetInterface.
|
overridevirtual |
These methods must be implemented in order to be considered a DtTaskSetVariable that can be used as part of a scripted task Validation range. Might not be applicable to all items.
Reimplemented from makVrf::DtTaskSetVariableWidget.
|
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 |
Return extension that allows entry of default and range values in meters. Will also change according to coordinate settings.
Reimplemented from makVrf::DtTaskSetVariableWidgetInterface.
|
inlinestatic |
References makVrv::DtUnicode::tr().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
|
virtual |
Reimplemented from makVrf::DtTaskSetVariableWidget.
|
virtual |
|
virtual |
The type of location this object is specifying.
|
virtual |
The type of location this object is specifying.
|
virtual |
The UUID of an object referenced by this location. Only used in relevant LocationType types.
|
virtual |
The UUID of an object referenced by this location. Only used in relevant LocationType types.
|
virtual |
A vector used for this location.
|
virtual |
A vector used for this location.
|
virtual |
|
virtual |
|
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.
|
inlinevirtual |
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 |
Returns a selection cursor based on the selection type.
Implements makVrf::DtMapFocusHandlerInterface.
|
overridevirtual |
|
overridevirtual |
|
overrideprotectedvirtual |
Return the selection status for the given id.
Implements makVrf::DtMapFocusHandlerInterface.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
signal |
| boost::signals2::signal<void()> makVrf::DtLocationReferenceEntryWidget::signal_positionInputChanged |
Signal sent when the tab selection changes for the input type.
| DtLocationEntryWidget* makVrf::DtLocationReferenceEntryWidget::myLocationEntryWidget |
| DtVrfFilteredListView* makVrf::DtLocationReferenceEntryWidget::myFilteredListView |
| QTabBar* makVrf::DtLocationReferenceEntryWidget::myTabBar |
| QWidget* makVrf::DtLocationReferenceEntryWidget::myContainerWidget |
| QHBoxLayout* makVrf::DtLocationReferenceEntryWidget::myTabBarLayout |
| QToolButton* makVrf::DtLocationReferenceEntryWidget::myCanTakeMapFocus |
| QVBoxLayout* makVrf::DtLocationReferenceEntryWidget::myFocusFrameLayout |
| QFrame* makVrf::DtLocationReferenceEntryWidget::myFocusFrame |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |