VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

QLabelmyLabel
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::DtDemyDe

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 Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)