![]() |
VR-Forces 4.2 Class Documentation
|
This class is a simple combo box that will use the variable data (values separated by ;) to add entries. More...

Public Member Functions | |
| DtSimpleComboVariableWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtSimpleComboVariableWidget () |
| 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. | |
| virtual void | setRange (double bottom, double top) |
| Range – not used for this variable. | |
| virtual DtReaderWriter * | createBoundVariable (const std::string &variableName) |
| Creates the reader/writer variable that will be used as part of the task statement. | |
| virtual void | setupFromBoundVariable (const DtReaderWriter *variableName) |
| 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 int | currentIndex () const |
| virtual void | setCurrentIndex (int index) |
| virtual void | addItem (const QString &, const QVariant &data=QVariant()) |
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 bool | guiElementOnly () const |
| Returns true if this is a GUI element only. Default is false. | |
Static Public Member Functions | |
| static makVrv::DtUnicode | codeVariableType () |
Public Attributes | |
| QHBoxLayout * | myLayout |
| QLabel * | myLabel |
| QComboBox * | myValue |
| QString | myDefaultValue |
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 |
This class is a simple combo box that will use the variable data (values separated by ;) to add entries.
| makVrf::DtSimpleComboVariableWidget::DtSimpleComboVariableWidget | ( | 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.
|
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.
|
virtual |
Range – not used for this variable.
Implements makVrf::DtTaskSetVariableWidgetInterface.
|
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 |
If there are any, returns contents for this variable for variable extension. Default is no extension.
Reimplemented from makVrf::DtTaskSetVariableWidgetInterface.
|
inlinestatic |
|
virtual |
|
virtual |
|
virtual |
| QHBoxLayout* makVrf::DtSimpleComboVariableWidget::myLayout |
| QLabel* makVrf::DtSimpleComboVariableWidget::myLabel |
| QComboBox* makVrf::DtSimpleComboVariableWidget::myValue |
| QString makVrf::DtSimpleComboVariableWidget::myDefaultValue |