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

Simple general extension widget that provides a default value and range. More...

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

Public Member Functions

 DtSimpleVariableWidgetExtension (makVrv::DtDe &, QWidget *w, const Qt::WindowFlags &f=0)
virtual ~DtSimpleVariableWidgetExtension ()
virtual int setFrom (const DtScriptedTaskVariable &, QGridLayout *parentLayout, int startRow)
 Sets the contents of the variable into this widget.
virtual void setTo (DtScriptedTaskVariable &) const
 Sets the contents of the widget into the variable.
virtual bool isValid ()
 Returns true if range top > range bottom.
virtual void setReadOnly (bool)
 Sets the widget to be view only if true.
- Public Member Functions inherited from makVrf::DtTaskSetVariableWidgetExtensionInterface
 DtTaskSetVariableWidgetExtensionInterface (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0)
virtual ~DtTaskSetVariableWidgetExtensionInterface ()

Public Attributes

QLabelmyDefaultValueLabel
QLineEditmyDefaultValue
QLabelmyRangeBottomLabel
QLineEditmyRangeBottom
QLabelmyRangeTopLabel
QLineEditmyRangeTop

Additional Inherited Members

- Protected Attributes inherited from makVrf::DtTaskSetVariableWidgetExtensionInterface
makVrv::DtDemyDe

Detailed Description

Simple general extension widget that provides a default value and range.

Subclasses can supply additional controls or add validators

Constructor & Destructor Documentation

makVrf::DtSimpleVariableWidgetExtension::DtSimpleVariableWidgetExtension ( makVrv::DtDe ,
QWidget w,
const Qt::WindowFlags &  f = 0 
)
virtual makVrf::DtSimpleVariableWidgetExtension::~DtSimpleVariableWidgetExtension ( )
virtual

Member Function Documentation

virtual int makVrf::DtSimpleVariableWidgetExtension::setFrom ( const DtScriptedTaskVariable ,
QGridLayout *  parentLayout,
int  startRow 
)
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 void makVrf::DtSimpleVariableWidgetExtension::setTo ( DtScriptedTaskVariable ) const
virtual

Sets the contents of the widget into the variable.

Implements makVrf::DtTaskSetVariableWidgetExtensionInterface.

virtual bool makVrf::DtSimpleVariableWidgetExtension::isValid ( )
virtual

Returns true if range top > range bottom.

Reimplemented from makVrf::DtTaskSetVariableWidgetExtensionInterface.

virtual void makVrf::DtSimpleVariableWidgetExtension::setReadOnly ( bool  )
virtual

Sets the widget to be view only if true.

Implements makVrf::DtTaskSetVariableWidgetExtensionInterface.

Member Data Documentation

QLabel* makVrf::DtSimpleVariableWidgetExtension::myDefaultValueLabel
QLineEdit* makVrf::DtSimpleVariableWidgetExtension::myDefaultValue
QLabel* makVrf::DtSimpleVariableWidgetExtension::myRangeBottomLabel
QLineEdit* makVrf::DtSimpleVariableWidgetExtension::myRangeBottom
QLabel* makVrf::DtSimpleVariableWidgetExtension::myRangeTopLabel
QLineEdit* makVrf::DtSimpleVariableWidgetExtension::myRangeTop

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)