![]() |
VR-Forces 5.0.1 Developer's Guide
|
Simple general extension widget that provides a default value and range. Subclasses can supply additional controls or add validators.

Public Member Functions | |
| DtSimpleVariableWidgetExtension (makVrv::DtDe &, QWidget *w, const Qt::WindowFlags &f=0) | |
| virtual | ~DtSimpleVariableWidgetExtension () |
| virtual int | setFrom (const DtScriptedTaskVariable &, QGridLayout *parentLayout, int startRow) |
| virtual void | setTo (DtScriptedTaskVariable &) const |
| virtual bool | isValid () |
| virtual void | setAllowVariableDataEntry (bool) |
| bool | allowVariableDataEntry () const |
| virtual void | setReadOnly (bool) |
Public Member Functions inherited from makVrf::DtTaskSetVariableWidgetExtensionInterface | |
| DtTaskSetVariableWidgetExtensionInterface (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtTaskSetVariableWidgetExtensionInterface () |
Public Attributes | |
| QLabel * | myDefaultValueLabel |
| QLineEdit * | myDefaultValue |
| QLabel * | myVariableDataLabel |
| QLineEdit * | myVariableData |
| QLabel * | myRangeBottomLabel |
| QLineEdit * | myRangeBottom |
| QLabel * | myRangeTopLabel |
| QLineEdit * | myRangeTop |
Protected Attributes | |
| bool | myAllowVariableDataEntry |
Protected Attributes inherited from makVrf::DtTaskSetVariableWidgetExtensionInterface | |
| makVrv::DtDe & | myDe |
| makVrf::DtSimpleVariableWidgetExtension::DtSimpleVariableWidgetExtension | ( | 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.
|
virtual |
Sets the contents of the widget into the variable.
Implements makVrf::DtTaskSetVariableWidgetExtensionInterface.
|
virtual |
Returns true if range top > range bottom.
Reimplemented from makVrf::DtTaskSetVariableWidgetExtensionInterface.
|
virtual |
Sets whether or not to show variable data entry. Default is false.
|
inline |
|
virtual |
Sets the widget to be view only if true.
Implements makVrf::DtTaskSetVariableWidgetExtensionInterface.
| QLabel* makVrf::DtSimpleVariableWidgetExtension::myDefaultValueLabel |
| QLineEdit* makVrf::DtSimpleVariableWidgetExtension::myDefaultValue |
| QLabel* makVrf::DtSimpleVariableWidgetExtension::myVariableDataLabel |
Initially hidden. Show to allow control to set.
| QLineEdit* makVrf::DtSimpleVariableWidgetExtension::myVariableData |
| QLabel* makVrf::DtSimpleVariableWidgetExtension::myRangeBottomLabel |
| QLineEdit* makVrf::DtSimpleVariableWidgetExtension::myRangeBottom |
| QLabel* makVrf::DtSimpleVariableWidgetExtension::myRangeTopLabel |
| QLineEdit* makVrf::DtSimpleVariableWidgetExtension::myRangeTop |
|
protected |