![]() |
VR-Forces 4.10 Class Documentation
|
Simple combo box extension that will allow the user to add items and to select the default value in the same box. More...

Signals | |
| void | activated (int) |
Public Member Functions | |
| DtSimpleComboVariableWidgetExtension (makVrv::DtDe &, QWidget *w, const Qt::WindowFlags &f=0) | |
| virtual | ~DtSimpleComboVariableWidgetExtension () |
| virtual int | setFrom (const DtScriptedTaskVariable &, QGridLayout *parentLayout, int startRow) |
| Sets the contents of the variable into this widget. More... | |
| virtual void | setTo (DtScriptedTaskVariable &) const |
| Sets the contents of the widget into the variable. More... | |
| virtual void | setReadOnly (bool) |
| Sets the widget to be view only if true. More... | |
| virtual bool | initialValueIsDefaultValue () const |
| If true the first value will be set to the default value. More... | |
Public Member Functions inherited from makVrf::DtTaskSetVariableWidgetExtensionInterface | |
| DtTaskSetVariableWidgetExtensionInterface (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtTaskSetVariableWidgetExtensionInterface () |
| virtual bool | isValid () |
| Validity check for data entered. More... | |
Public Attributes | |
| QLabel * | myLabel |
| QComboBox * | myValues |
| QPushButton * | myAdd |
| QPushButton * | myDelete |
| QPushButton * | myUpdate |
Protected Slots | |
| virtual void | onAdd () |
| virtual void | onUpdate () |
| virtual void | onDelete () |
Protected Member Functions | |
| virtual void | addValues (const DtScriptedTaskVariable &) |
Additional Inherited Members | |
Protected Attributes inherited from makVrf::DtTaskSetVariableWidgetExtensionInterface | |
| makVrv::DtDe & | myDe |
Simple combo box extension that will allow the user to add items and to select the default value in the same box.
| makVrf::DtSimpleComboVariableWidgetExtension::DtSimpleComboVariableWidgetExtension | ( | makVrv::DtDe & | , |
| QWidget * | w, | ||
| const Qt::WindowFlags & | f = 0 |
||
| ) |
|
virtual |
|
virtual |
Sets the contents of the variable into this widget.
Returns the row in which the parent widget can readjusts its contents to after this control inserts it's widgets into the grid (starting at start row)
Implements makVrf::DtTaskSetVariableWidgetExtensionInterface.
Reimplemented in makVrf::DtSimpleRadioButtonVariableWidgetExtension, makVrf::DtSimpleImageComboVariableWidgetExtension, and makVrf::DtVrfFilteredListViewVariableWidgetExtension.
|
virtual |
Sets the contents of the widget into the variable.
Implements makVrf::DtTaskSetVariableWidgetExtensionInterface.
Reimplemented in makVrf::DtSimpleRadioButtonVariableWidgetExtension, makVrf::DtSimpleImageComboVariableWidgetExtension, and makVrf::DtVrfFilteredListViewVariableWidgetExtension.
|
virtual |
Sets the widget to be view only if true.
Implements makVrf::DtTaskSetVariableWidgetExtensionInterface.
Reimplemented in makVrf::DtSimpleRadioButtonVariableWidgetExtension, and makVrf::DtSimpleImageComboVariableWidgetExtension.
|
virtual |
If true the first value will be set to the default value.
Reimplemented in makVrf::DtVrfFilteredListViewVariableWidgetExtension.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
Reimplemented in makVrf::DtSimpleRadioButtonVariableWidgetExtension.
|
protectedvirtual |
|
signal |
| QLabel* makVrf::DtSimpleComboVariableWidgetExtension::myLabel |
| QComboBox* makVrf::DtSimpleComboVariableWidgetExtension::myValues |
| QPushButton* makVrf::DtSimpleComboVariableWidgetExtension::myAdd |
| QPushButton* makVrf::DtSimpleComboVariableWidgetExtension::myDelete |
| QPushButton* makVrf::DtSimpleComboVariableWidgetExtension::myUpdate |