VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions | Public Attributes
makVrf::DtSimpleVariableWidget Class Reference

These classes will define simple data entry widgets that can be used in scripted (or other) tasks. More...

Inheritance diagram for makVrf::DtSimpleVariableWidget:
Inheritance graph
[legend]

Public Member Functions

 DtSimpleVariableWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0)
virtual ~DtSimpleVariableWidget ()
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.
- 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 void setRange (double bottom, double top)=0
virtual DtReaderWritercreateBoundVariable (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

QHBoxLayout * myLayout
QLabelmyLabel
QLineEditmyValue
- 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.
QWidgetmyTopLine
QLabelmyTopLabel
QSpacerItem * myTopSeparator
QHBoxLayout * myTopLineLayout
QSpacerItem * mySpacerItem

Additional Inherited Members

- Protected Attributes inherited from makVrf::DtTaskSetVariableWidget
makVrv::DtDemyDe
makVrv::DtSignalConnectionManager myConnections

Detailed Description

These classes will define simple data entry widgets that can be used in scripted (or other) tasks.

Constructor & Destructor Documentation

makVrf::DtSimpleVariableWidget::DtSimpleVariableWidget ( makVrv::DtDe de,
QWidget parent,
const Qt::WindowFlags &  flags = 0 
)
virtual makVrf::DtSimpleVariableWidget::~DtSimpleVariableWidget ( )
virtual

Member Function Documentation

virtual void makVrf::DtSimpleVariableWidget::setLabel ( const std::string &  )
virtual

Display label.

Reimplemented from makVrf::DtTaskSetVariableWidget.

virtual void makVrf::DtSimpleVariableWidget::setDefaultValue ( const std::string &  )
virtual

Default value to set in control.

Implements makVrf::DtTaskSetVariableWidgetInterface.

Reimplemented in makVrf::DtSimpleEntityTypeVariableWidget.

virtual void makVrf::DtSimpleVariableWidget::setVariableData ( const std::string &  )
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.

Member Data Documentation

QHBoxLayout* makVrf::DtSimpleVariableWidget::myLayout
QLabel* makVrf::DtSimpleVariableWidget::myLabel
QLineEdit* makVrf::DtSimpleVariableWidget::myValue

The documentation for this class was generated from the following file:

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)