VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes
makVrf::DtForceSelectionEntryWidget Class Reference

Widget that allows the selection of a force. More...

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

Public Member Functions

 DtForceSelectionEntryWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0)
virtual ~DtForceSelectionEntryWidget ()
virtual void setLabel (const std::string &)
 Display label.
virtual void setRange (double bottom, double top)
 Validation range. Not applicable.
virtual void setDefaultValue (const std::string &)
 Default value to set in control.
virtual void setVariableData (const std::string &)
 Variable data. Unused in this widget.
virtual void setupFrom (const std::vector< makVrv::DtSimEntry * > &data)
 Sets up widget with currently selected item. Requests data.
virtual void setToolTip (const QString &)
 Sets the tool tip for the widget.
virtual DtReaderWritercreateBoundVariable (const std::string &variableName)
 Creates the reader/writer variable that will be used as part of the task statement.
virtual void setupFromBoundVariable (const DtReaderWriter *variableName)
 Sets up the widget from the given reader/writer variables.
virtual void setForce (int)
 Sets the current force.
virtual int force () const
 Returns the force.
virtual void setIndent (int)
 Sets the indent level for the contents of this widget.
- Public Member Functions inherited from makVrf::DtTaskSetVariableWidgetInterface
 DtTaskSetVariableWidgetInterface ()
virtual ~DtTaskSetVariableWidgetInterface ()
virtual void setTopLineVisible (bool)
 Hides top line.
virtual bool topLineVisible () const
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.

Static Public Member Functions

static makVrv::DtUnicode codeVariableType ()

Public Attributes

QLabelmyForceLabel
QComboBoxmyForces
QHBoxLayout * myContentLayout
QSpacerItem * mySpacerItem

Protected Attributes

makVrv::DtDemyDe

Detailed Description

Widget that allows the selection of a force.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Display label.

Implements makVrf::DtTaskSetVariableWidgetInterface.

virtual void makVrf::DtForceSelectionEntryWidget::setRange ( double  bottom,
double  top 
)
virtual

Validation range. Not applicable.

Implements makVrf::DtTaskSetVariableWidgetInterface.

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

Default value to set in control.

If value contains colons then treat as DD:HH:MM:SS else treat as seconds

Implements makVrf::DtTaskSetVariableWidgetInterface.

virtual void makVrf::DtForceSelectionEntryWidget::setVariableData ( const std::string &  )
virtual

Variable data. Unused in this widget.

Implements makVrf::DtTaskSetVariableWidgetInterface.

virtual void makVrf::DtForceSelectionEntryWidget::setupFrom ( const std::vector< makVrv::DtSimEntry * > &  data)
virtual

Sets up widget with currently selected item. Requests data.

Implements makVrf::DtTaskSetVariableWidgetInterface.

virtual void makVrf::DtForceSelectionEntryWidget::setToolTip ( const QString &  )
virtual

Sets the tool tip for the widget.

Implements makVrf::DtTaskSetVariableWidgetInterface.

virtual DtReaderWriter* makVrf::DtForceSelectionEntryWidget::createBoundVariable ( const std::string &  variableName)
virtual

Creates the reader/writer variable that will be used as part of the task statement.

Implements makVrf::DtTaskSetVariableWidgetInterface.

virtual void makVrf::DtForceSelectionEntryWidget::setupFromBoundVariable ( const DtReaderWriter variableName)
virtual

Sets up the widget from the given reader/writer variables.

Implements makVrf::DtTaskSetVariableWidgetInterface.

virtual void makVrf::DtForceSelectionEntryWidget::setForce ( int  )
virtual

Sets the current force.

virtual int makVrf::DtForceSelectionEntryWidget::force ( ) const
virtual

Returns the force.

virtual void makVrf::DtForceSelectionEntryWidget::setIndent ( int  )
virtual

Sets the indent level for the contents of this widget.

Implements makVrf::DtTaskSetVariableWidgetInterface.

static makVrv::DtUnicode makVrf::DtForceSelectionEntryWidget::codeVariableType ( )
inlinestatic

Member Data Documentation

QLabel* makVrf::DtForceSelectionEntryWidget::myForceLabel
QComboBox* makVrf::DtForceSelectionEntryWidget::myForces
QHBoxLayout* makVrf::DtForceSelectionEntryWidget::myContentLayout
QSpacerItem* makVrf::DtForceSelectionEntryWidget::mySpacerItem
makVrv::DtDe& makVrf::DtForceSelectionEntryWidget::myDe
protected

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)