![]() |
VR-Forces 4.2 Class Documentation
|
These classes will define simple data entry widgets that can be used in scripted (or other) tasks. More...

Public Member Functions | |
| DtSimpleVariableWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtSimpleVariableWidget () |
| virtual void | setLabel (const std::string &) |
| Display label. | |
| virtual void | setDefaultValue (const std::string &) |
| Default value to set in control. | |
| virtual void | setVariableData (const std::string &) |
| Variable data that can be used by this control to initialize values (i.e. | |
Public Member Functions inherited from makVrf::DtTaskSetVariableWidget | |
| DtTaskSetVariableWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtTaskSetVariableWidget () |
| virtual void | setToolTip (const QString &) |
| Sets the tool tip. | |
| virtual void | setupFrom (const std::vector< makVrv::DtSimEntry * > &data) |
| Sets up widget with currently selected item. No-op. | |
| virtual void | setTopLineVisible (bool) |
| Hides top line. | |
| virtual bool | topLineVisible () const |
| virtual void | createTopLine () |
| Creates top line. | |
| virtual void | setIndent (int) |
| Sets the indent level for the contents of this widget, except for the title line. | |
Public Member Functions inherited from makVrf::DtTaskSetVariableWidgetInterface | |
| DtTaskSetVariableWidgetInterface () | |
| virtual | ~DtTaskSetVariableWidgetInterface () |
| virtual void | setRange (double bottom, double top)=0 |
| virtual DtReaderWriter * | createBoundVariable (const std::string &variableName)=0 |
| Creates the reader/writer variable that will be used as part of the task statement. | |
| virtual void | setupFromBoundVariable (const DtReaderWriter *variableName)=0 |
| Sets up the widget from the given reader/writer variables. | |
| 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. | |
| virtual bool | guiElementOnly () const |
| Returns true if this is a GUI element only. Default is false. | |
Public Attributes | |
| QHBoxLayout * | myLayout |
| QLabel * | myLabel |
| QLineEdit * | myValue |
Public Attributes inherited from makVrf::DtTaskSetVariableWidget | |
| QVBoxLayout * | myVariableWidgetLayout |
| QHBoxLayout * | mySpacedLayout |
| QVBoxLayout * | myVariableContentLayout |
| When creating subclasses of this item, use the variable content layout to add your content. | |
| QWidget * | myTopLine |
| QLabel * | myTopLabel |
| QSpacerItem * | myTopSeparator |
| QHBoxLayout * | myTopLineLayout |
| QSpacerItem * | mySpacerItem |
Additional Inherited Members | |
Protected Attributes inherited from makVrf::DtTaskSetVariableWidget | |
| makVrv::DtDe & | myDe |
| makVrv::DtSignalConnectionManager | myConnections |
These classes will define simple data entry widgets that can be used in scripted (or other) tasks.
| makVrf::DtSimpleVariableWidget::DtSimpleVariableWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
|
virtual |
|
virtual |
Display label.
Reimplemented from makVrf::DtTaskSetVariableWidget.
|
virtual |
Default value to set in control.
Implements makVrf::DtTaskSetVariableWidgetInterface.
Reimplemented in makVrf::DtSimpleEntityTypeVariableWidget.
|
virtual |
Variable data that can be used by this control to initialize values (i.e.
filtered list box, combo box). Items should be separated by a semi-colon
Implements makVrf::DtTaskSetVariableWidgetInterface.
| QHBoxLayout* makVrf::DtSimpleVariableWidget::myLayout |
| QLabel* makVrf::DtSimpleVariableWidget::myLabel |
| QLineEdit* makVrf::DtSimpleVariableWidget::myValue |