![]() |
VR-Forces 4.1 Class Documentation
|
Basic implementation that has a label at the top. More...

Public Member Functions | |
| DtTaskSetVariableWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtTaskSetVariableWidget () |
| virtual void | setToolTip (const QString &) |
| Sets the tool tip. | |
| virtual void | setLabel (const std::string &) |
| Display label. | |
| 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 void | setDefaultValue (const std::string &)=0 |
| Default value to set in control. | |
| virtual void | setVariableData (const std::string &)=0 |
| Variable data that can be used by this control to initialize values (i.e. | |
| 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 | |
| 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 |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| makVrv::DtSignalConnectionManager | myConnections |
Basic implementation that has a label at the top.
| makVrf::DtTaskSetVariableWidget::DtTaskSetVariableWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
|
virtual |
|
virtual |
Sets the tool tip.
Implements makVrf::DtTaskSetVariableWidgetInterface.
|
virtual |
Display label.
This will create the top line if not overriden by a default.
Implements makVrf::DtTaskSetVariableWidgetInterface.
Reimplemented in makVrf::DtSimpleCheckBoxVariableWidget, makVrf::DtSimpleComboVariableWidget, makVrf::DtSimpleVariableWidget, makVrf::DtDIGuyAppearanceSelectionEntryWidget, makVrf::DtHeadingEntryWidget, makVrf::DtAltitudeEntryWidget, makVrf::DtRangeEntryWidget, makVrf::DtRateEntryWidget, makVrf::DtTurnRateEntryWidget, makVrf::DtOffsetLocationEntryWidget, makVrf::DtResourceSelectionEntryWidget, makVrf::DtTimeEntryWidget, makVrf::DtFormationSelectionEntryWidget, makVrf::DtDIGuyAnimationSelectionEntryWidget, and makVrf::DtEmitterSelectionEntryWidget.
|
virtual |
Sets up widget with currently selected item. No-op.
Implements makVrf::DtTaskSetVariableWidgetInterface.
Reimplemented in makVrf::DtDIGuyAppearanceSelectionEntryWidget, makVrf::DtResourceSelectionEntryWidget, makVrf::DtDIGuyAnimationSelectionEntryWidget, makVrf::DtFormationSelectionEntryWidget, and makVrf::DtEmitterSelectionEntryWidget.
|
virtual |
Hides top line.
Reimplemented from makVrf::DtTaskSetVariableWidgetInterface.
|
virtual |
Reimplemented from makVrf::DtTaskSetVariableWidgetInterface.
|
virtual |
Creates top line.
|
virtual |
Sets the indent level for the contents of this widget, except for the title line.
The title line stays at the current overlayy indent level
Implements makVrf::DtTaskSetVariableWidgetInterface.
|
protected |
|
protected |
| QVBoxLayout* makVrf::DtTaskSetVariableWidget::myVariableWidgetLayout |
| QHBoxLayout* makVrf::DtTaskSetVariableWidget::mySpacedLayout |
| QVBoxLayout* makVrf::DtTaskSetVariableWidget::myVariableContentLayout |
When creating subclasses of this item, use the variable content layout to add your content.
| QWidget* makVrf::DtTaskSetVariableWidget::myTopLine |
| QLabel* makVrf::DtTaskSetVariableWidget::myTopLabel |
| QSpacerItem* makVrf::DtTaskSetVariableWidget::myTopSeparator |
| QHBoxLayout* makVrf::DtTaskSetVariableWidget::myTopLineLayout |
| QSpacerItem* makVrf::DtTaskSetVariableWidget::mySpacerItem |