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

Public Types | |
| enum | DtObjectDefinitionState { DtObjectUndefined, DtObjectDefined, DtObjectBeingDefined } |
Public Types inherited from makVrf::DtTaskSetVariableWidgetInterface | |
| enum | CreationFlags { NormalMode = 0x00000000, QtDesignerMode = 0x00000001 } |
Public Member Functions | |
| DtNewTacticalGraphicEntryWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0, const CreationFlags &cflags=NormalMode) | |
| virtual | ~DtNewTacticalGraphicEntryWidget () |
| void | init () |
| virtual void | setObjectDefined (DtObjectDefinitionState state) |
| virtual DtObjectDefinitionState | objectDefined () const |
| virtual DtReaderWriter * | createBoundVariable (const std::string &variableName) |
| virtual void | setupFromBoundVariable (const DtReaderWriter *variableName) |
| virtual DtTaskSetVariableWidgetExtensionInterface * | parameterContents (QWidget *parent, const Qt::WindowFlags &flags=0) const |
| bool | isValid () const |
| virtual void | setEntityTypeToCreate (const DtEntityType &) |
| virtual const DtEntityType & | entityTypeCreated () const |
| virtual void | setVariableData (const QString &) |
| virtual void | setButtonTexts (const std::string &objectDefinedText, const std::string &objectBeingDefinedText, const std::string &objectNotDefinedText) |
| virtual void | setStatusTexts (const std::string &objectDefinedText, const std::string &objectBeingDefinedText, const std::string &objectNotDefinedText) |
| virtual void | setVertices (const std::vector< DtVector > &positions) |
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 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 | 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 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 |
Static Public Member Functions | |
| static bool | canBeUsedAsWidget () |
| static makVrv::DtUnicode | codeVariableType () |
| static std::string | designerGroup () |
| static std::string | headerFile () |
| static std::string | variableName () |
| static void | initializeForQtDesignerExtension (makVrv::DtDe &, QDesignerFormEditorInterface *) |
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 () |
Public Attributes | |
| boost::signals2::signal< void()> | signal_statusChanged |
| QWidget * | myWidget |
| QHBoxLayout * | myLayout |
| QPushButton * | myDefineButton |
| QLabel * | myStatusLabel |
Public Attributes inherited from makVrf::DtTaskSetVariableWidget | |
| boost::signals2::signal< void(bool)> | signal_topLevelCheckStateChanged |
| int | myIndent |
| QVBoxLayout * | myVariableWidgetLayout |
| QHBoxLayout * | mySpacedLayout |
| QVBoxLayout * | myVariableContentLayout |
| QWidget * | myTopLine |
| QLabel * | myTopLabel |
| QWidget * | myChoiceCanvas |
| QRadioButton * | myUseDefault |
| QRadioButton * | myUseSpecific |
| QSpacerItem * | myTopSeparator |
| QHBoxLayout * | myTopLineLayout |
| QSpacerItem * | mySpacerItem |
Protected Slots | |
| virtual void | slot_onDefineButtonClicked () |
Protected Slots inherited from makVrf::DtTaskSetVariableWidget | |
| virtual void | topLabelCheckStateChanged () |
Protected Member Functions | |
| virtual DtNewTacticalGraphicEntryWidgetLogic * | createLogic () |
| virtual void | setupGui () |
| virtual void | setupConnections () |
| virtual void | setRange (double top, double bottom) |
| virtual void | setDefaultValue (const std::string &) |
| virtual void | closeEvent (QCloseEvent *event) |
| virtual void | hideEvent (QHideEvent *event) |
| virtual std::string | variableDataFromUiDesigner (const QDomElement &element, const DtScriptedTaskVariableLayoutConverter &converter) const |
Protected Member Functions inherited from makVrf::DtTaskSetVariableWidget | |
| virtual void | selectionChanged (const std::set< makVrv::DtUniqueID > &oldSelection) |
Protected Attributes | |
| std::string | myButtonObjectDefinedText |
| std::string | myButtonObjectBeingDefinedText |
| std::string | myButtonObjectNotDefinedText |
| std::string | myStatusObjectDefinedText |
| std::string | myStatusObjectBeingDefinedText |
| std::string | myStatusObjectNotDefinedText |
| DtObjectDefinitionState | myObjectDefinitionState |
| DtNewTacticalGraphicEntryWidgetLogic * | myLogic |
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 |
Properties | |
| QString | entityType |
Properties inherited from makVrf::DtTaskSetVariableWidget | |
| QString | label |
| bool | isInternal |
| int | indent |
| QString | variableData |
Additional Inherited Members | |
Signals inherited from makVrf::DtTaskSetVariableWidget | |
| void | validityUpdated () |
| makVrf::DtNewTacticalGraphicEntryWidget::DtNewTacticalGraphicEntryWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0, |
||
| const CreationFlags & | cflags = NormalMode |
||
| ) |
Constructor.
|
virtual |
Destructor.
| void makVrf::DtNewTacticalGraphicEntryWidget::init | ( | ) |
Creates the object, sets up the GUI, and sets up the signal/slot connections for this widget.
Referenced by makVrf::DtNewTacticalGraphicEntryWidgetCreator::create().
|
virtual |
Updates the widget to reflect that the object has been defined.
|
virtual |
Returns true if the object has been defined.
|
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 the entity type of the tactical graphic this widget will define.
Reimplemented from makVrf::DtTaskSetVariableWidgetInterface.
|
virtual |
Returns true if the user has entered a valid tactical graphic definition.
Reimplemented from makVrf::DtTaskSetVariableWidget.
|
virtual |
Set Entity type directly.
|
virtual |
Get entity type created by this widget Returns null if not created.
|
inlinestatic |
Whether or not this shows up as a usable variable widget.
Referenced by makVrf::DtNewTacticalGraphicEntryWidgetCreator::canBeUsedAsWidget().
|
inlinestatic |
References makVrv::DtUnicode::tr().
Referenced by makVrf::DtNewTacticalGraphicEntryWidgetCreator::codeVariableType().
|
inlinestatic |
|
inlinestatic |
Referenced by makVrf::DtNewTacticalGraphicEntryWidgetCreator::headerFile().
|
inlinestatic |
|
static |
Add custom menu item to task menu to be able to edit the entity type created by this object.
Referenced by makVrf::DtNewTacticalGraphicEntryWidgetCreator::initializeForQtDesignerExtension().
|
virtual |
Variable data that can be used by this control to initialize values (i.e. filtered list box, combo box).
Reimplemented from makVrf::DtTaskSetVariableWidget.
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
Creates a new logic for this dialog. Override to return a subclass of the base logic.
|
protectedvirtual |
Sets up and lays out the GUI.
|
protectedvirtual |
Connects signals and slots.
|
protectedvirtual |
Validation range. Not applicable to this widget.
Reimplemented from makVrf::DtTaskSetVariableWidget.
|
protectedvirtual |
Default value to set in control.
Implements makVrf::DtTaskSetVariableWidgetInterface.
|
protectedvirtual |
Closes the object definition dialog if open.
|
protectedvirtual |
Closes the object definition dialog if open.
|
protectedvirtual |
Given the Ui designer properties create a string that will represent the variable data for those properties.
Reimplemented from makVrf::DtTaskSetVariableWidget.
|
protectedvirtualslot |
| boost::signals2::signal<void()> makVrf::DtNewTacticalGraphicEntryWidget::signal_statusChanged |
Signals.
| QWidget* makVrf::DtNewTacticalGraphicEntryWidget::myWidget |
| QHBoxLayout* makVrf::DtNewTacticalGraphicEntryWidget::myLayout |
| QPushButton* makVrf::DtNewTacticalGraphicEntryWidget::myDefineButton |
| QLabel* makVrf::DtNewTacticalGraphicEntryWidget::myStatusLabel |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
readwrite |