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

Signals | |
| void | validityUpdated () |
| Signal which can be emitted to indicate the validity of the current widget selection has changed. | |
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. | |
| virtual bool | isValid () const |
| Indicates the current selection is valid. | |
| virtual void | setTopLabelChecked (bool) |
| Sets the top label to be checked/unchecked and calls topLabelChecked if the check box is visible. | |
| virtual bool | topLabelChecked () const |
| virtual void | setTopLabelIsCheckable (bool) |
| Sets whether or not the top label is checkable. | |
| virtual bool | topLabelIsCheckable () const |
| virtual void | getDefaultSpecificTitles (QString &defaultTitle, QString &specificTitle) const |
| virtual void | setDefaultSpecificTitles (const QString &defaultTitle, const QString &specificTitle) |
| virtual void | setupDefaultSpecificFromVariableData (const DtString &var) |
| Format is allowdefault=[defaultTitle],[specificTitle]. | |
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 | |
| boost::signal< void(bool)> | signal_topLevelCheckStateChanged |
| 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 |
| QWidget * | myChoiceCanvas |
| QRadioButton * | myUseDefault |
| QRadioButton * | myUseSpecific |
| QSpacerItem * | myTopSeparator |
| QHBoxLayout * | myTopLineLayout |
| QSpacerItem * | mySpacerItem |
Protected Slots | |
| virtual void | topLabelCheckStateChanged () |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| makVrv::DtSignalConnectionManager | myConnections |
| bool | myTopLabelIsCheckable |
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.
Reimplemented in makVrf::DtSimpleEntityTypesVariableWidget.
|
virtual |
Display label.
This will create the top line if not overridden by a default.
Implements makVrf::DtTaskSetVariableWidgetInterface.
Reimplemented in makVrf::DtSimpleCheckBoxVariableWidget, makVrf::DtSimpleComboVariableWidget, makVrf::DtSimpleEntityTypesVariableWidget, makVrf::DtSimpleVariableWidget, makVrf::DtDiGuyAppearanceSelectionEntryWidget, makVrf::DtWeaponSelectionWidget, makVrf::DtHeadingEntryWidget, makVrf::DtRangeEntryWidget, makVrf::DtTimeEntryWidget, makVrf::DtAltitudeEntryWidget, makVrf::DtDateTimeEntryWidget, makVrf::DtDepthEntryWidget, makVrf::DtOrientationEntryWidget, makVrf::DtRateEntryWidget, makVrf::DtTurnRateEntryWidget, makVrf::DtEmbeddedEntitySelectionWidget, makVrf::DtOffsetLocationEntryWidget, makVrf::DtResourceSelectionEntryWidget, makVrf::DtStealthViewModesWidget, makVrf::DtFormationSelectionEntryWidget, makVrf::DtDiGuyAnimationSelectionEntryWidget, and makVrf::DtEmitterSelectionEntryWidget.
|
virtual |
Sets up widget with currently selected item. No-op.
Implements makVrf::DtTaskSetVariableWidgetInterface.
Reimplemented in makVrf::DtSimpleEntityTypesVariableWidget, makVrf::DtLocationEntryWidget, makVrf::DtDiGuyAppearanceSelectionEntryWidget, makVrf::DtWeaponSelectionWidget, makVrf::DtResourceSelectionEntryWidget, makVrf::DtDiGuyAnimationSelectionEntryWidget, makVrf::DtEmbeddedEntitySelectionWidget, 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 overlay indent level.
Implements makVrf::DtTaskSetVariableWidgetInterface.
|
virtual |
Indicates the current selection is valid.
Implements makVrf::DtTaskSetVariableWidgetInterface.
Reimplemented in makVrf::DtNewTacticalGraphicEntryWidget.
|
virtual |
Sets the top label to be checked/unchecked and calls topLabelChecked if the check box is visible.
|
virtual |
|
virtual |
Sets whether or not the top label is checkable.
If it is will hide the top label label and show the check box. If the check box is shown calls topLabelChecked
Reimplemented in makVrf::DtVrfFilteredListView, makVrf::DtOffsetLocationEntryWidget, and makVrf::DtOrientationEntryWidget.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Format is allowdefault=[defaultTitle],[specificTitle].
|
signal |
Signal which can be emitted to indicate the validity of the current widget selection has changed.
|
protectedvirtualslot |
Reimplemented in makVrf::DtVrfFilteredListView, makVrf::DtOffsetLocationEntryWidget, and makVrf::DtOrientationEntryWidget.
| boost::signal<void (bool)> makVrf::DtTaskSetVariableWidget::signal_topLevelCheckStateChanged |
|
protected |
|
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 |
| QWidget* makVrf::DtTaskSetVariableWidget::myChoiceCanvas |
| QRadioButton* makVrf::DtTaskSetVariableWidget::myUseDefault |
| QRadioButton* makVrf::DtTaskSetVariableWidget::myUseSpecific |
| QSpacerItem* makVrf::DtTaskSetVariableWidget::myTopSeparator |
| QHBoxLayout* makVrf::DtTaskSetVariableWidget::myTopLineLayout |
| QSpacerItem* makVrf::DtTaskSetVariableWidget::mySpacerItem |