te::qt::widgets::ConstraintWidget Class Referenceabstract

This virtual class is used to define a Constraint DataSet class object. More...

#include <ConstraintWidget.h>

Inheritance diagram for te::qt::widgets::ConstraintWidget:
te::qt::widgets::PrimaryKeyConstraintWidget te::qt::widgets::UniqueKeyConstraintWidget

Public Member Functions

bool checkParameters ()
 Check the interface parameters. More...
 
 ConstraintWidget (te::da::DataSetType *dsType, QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual te::da::ConstraintgetConstraint ()=0
 It returns the Constraint DataSet class object. More...
 
Ui::ConstraintWidgetForm * getForm () const
 
virtual ~ConstraintWidget ()
 

Protected Attributes

te::qt::widgets::DoubleListWidgetm_doubleListWidget
 
te::da::DataSetTypem_dsType
 
std::auto_ptr< Ui::ConstraintWidgetForm > m_ui
 

Detailed Description

This virtual class is used to define a Constraint DataSet class object.

Definition at line 55 of file ConstraintWidget.h.

Constructor & Destructor Documentation

te::qt::widgets::ConstraintWidget::ConstraintWidget ( te::da::DataSetType dsType,
QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
virtual te::qt::widgets::ConstraintWidget::~ConstraintWidget ( )
virtual

Member Function Documentation

bool te::qt::widgets::ConstraintWidget::checkParameters ( )

Check the interface parameters.

Returns
True if the necessary parameters is ok and false in other case.
virtual te::da::Constraint* te::qt::widgets::ConstraintWidget::getConstraint ( )
pure virtual

It returns the Constraint DataSet class object.

Returns
The caller of this method will TAKE the ownership of the returned Constraint pointer.

Implemented in te::qt::widgets::PrimaryKeyConstraintWidget, and te::qt::widgets::UniqueKeyConstraintWidget.

Ui::ConstraintWidgetForm* te::qt::widgets::ConstraintWidget::getForm ( ) const

Member Data Documentation

te::qt::widgets::DoubleListWidget* te::qt::widgets::ConstraintWidget::m_doubleListWidget
protected

Definition at line 88 of file ConstraintWidget.h.

te::da::DataSetType* te::qt::widgets::ConstraintWidget::m_dsType
protected

Definition at line 89 of file ConstraintWidget.h.

std::auto_ptr<Ui::ConstraintWidgetForm> te::qt::widgets::ConstraintWidget::m_ui
protected

Definition at line 87 of file ConstraintWidget.h.


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