VR-Forces 4.2 Class Documentation
List of all members | Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions
makVrf::DtSimpleComboVariableWidgetExtension Class Reference

Simple combo box extension that will allow the user to add items and to select the default value in the same box. More...

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

Public Member Functions

 DtSimpleComboVariableWidgetExtension (makVrv::DtDe &, QWidget *w, const Qt::WindowFlags &f=0)
virtual ~DtSimpleComboVariableWidgetExtension ()
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 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 ()
virtual bool isValid ()
 Validity check for data entered.

Public Attributes

QLabel * myLabel
QComboBoxmyValues
QPushButtonmyAdd
QPushButtonmyDelete
QPushButtonmyUpdate

Protected Slots

virtual void onAdd ()
virtual void onUpdate ()
virtual void onDelete ()

Protected Member Functions

virtual void addValues (const DtScriptedTaskVariable &)

Additional Inherited Members

- Protected Attributes inherited from makVrf::DtTaskSetVariableWidgetExtensionInterface
makVrv::DtDe & myDe

Detailed Description

Simple combo box extension that will allow the user to add items and to select the default value in the same box.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual int makVrf::DtSimpleComboVariableWidgetExtension::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::DtSimpleComboVariableWidgetExtension::setTo ( DtScriptedTaskVariable ) const
virtual

Sets the contents of the widget into the variable.

Implements makVrf::DtTaskSetVariableWidgetExtensionInterface.

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

Sets the widget to be view only if true.

Implements makVrf::DtTaskSetVariableWidgetExtensionInterface.

virtual void makVrf::DtSimpleComboVariableWidgetExtension::onAdd ( )
protectedvirtualslot
virtual void makVrf::DtSimpleComboVariableWidgetExtension::onUpdate ( )
protectedvirtualslot
virtual void makVrf::DtSimpleComboVariableWidgetExtension::onDelete ( )
protectedvirtualslot
virtual void makVrf::DtSimpleComboVariableWidgetExtension::addValues ( const DtScriptedTaskVariable )
protectedvirtual

Member Data Documentation

QLabel* makVrf::DtSimpleComboVariableWidgetExtension::myLabel
QComboBox* makVrf::DtSimpleComboVariableWidgetExtension::myValues
QPushButton* makVrf::DtSimpleComboVariableWidgetExtension::myAdd
QPushButton* makVrf::DtSimpleComboVariableWidgetExtension::myDelete
QPushButton* makVrf::DtSimpleComboVariableWidgetExtension::myUpdate

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

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)