te::qt::widgets::IndexWidget Class Reference

This class is used to define a Index DataSet class object. More...

#include <IndexWidget.h>

Inheritance diagram for te::qt::widgets::IndexWidget:
QWidget

Public Member Functions

bool checkParameters ()
 Check the interface parameters. More...
 
Ui::IndexWidgetForm * getForm () const
 
te::da::IndexgetIndex ()
 It returns the Index DataSet class object. More...
 
 IndexWidget (te::da::DataSetType *dsType, QWidget *parent=0, Qt::WindowFlags f=0)
 
void setIndex (te::da::Index *idx)
 
 ~IndexWidget ()
 

Private Attributes

te::qt::widgets::DoubleListWidgetm_doubleListWidget
 
te::da::DataSetTypem_dsType
 
std::unique_ptr< Ui::IndexWidgetForm > m_ui
 

Detailed Description

This class is used to define a Index DataSet class object.

Definition at line 55 of file IndexWidget.h.

Constructor & Destructor Documentation

te::qt::widgets::IndexWidget::~IndexWidget ( )
default

Referenced by IndexWidget().

Member Function Documentation

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

Check the interface parameters.

Returns
True if the necessary parameters is ok and false in other case.

Definition at line 122 of file IndexWidget.cpp.

References te::qt::widgets::DoubleListWidget::getOutputValues(), m_doubleListWidget, and m_ui.

Referenced by te::qt::widgets::ConstraintsIndexesPropertyDialog::onokPushButtonClicked().

Ui::IndexWidgetForm * te::qt::widgets::IndexWidget::getForm ( ) const

Definition at line 77 of file IndexWidget.cpp.

References m_ui.

te::da::Index * te::qt::widgets::IndexWidget::getIndex ( )

It returns the Index DataSet class object.

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

Definition at line 82 of file IndexWidget.cpp.

References te::da::Index::add(), te::dt::Property::clone(), te::qt::widgets::DoubleListWidget::getOutputValues(), te::dt::CompositeProperty::getProperty(), m_doubleListWidget, m_dsType, m_ui, p, te::da::Index::setIndexType(), and te::da::Index::setName().

Referenced by te::qt::widgets::ConstraintsIndexesPropertyDialog::onokPushButtonClicked().

Member Data Documentation

te::qt::widgets::DoubleListWidget* te::qt::widgets::IndexWidget::m_doubleListWidget
private

Definition at line 90 of file IndexWidget.h.

Referenced by checkParameters(), getIndex(), IndexWidget(), and setIndex().

te::da::DataSetType* te::qt::widgets::IndexWidget::m_dsType
private

Definition at line 91 of file IndexWidget.h.

Referenced by getIndex(), IndexWidget(), and setIndex().

std::unique_ptr<Ui::IndexWidgetForm> te::qt::widgets::IndexWidget::m_ui
private

Definition at line 89 of file IndexWidget.h.

Referenced by checkParameters(), getForm(), getIndex(), IndexWidget(), and setIndex().


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