This class is used to define a Index DataSet class object. More...
#include <IndexWidget.h>
Public Member Functions | |
| bool | checkParameters () |
| Check the interface parameters. More... | |
| Ui::IndexWidgetForm * | getForm () const |
| te::da::Index * | getIndex () |
| 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::DoubleListWidget * | m_doubleListWidget |
| te::da::DataSetType * | m_dsType |
| std::unique_ptr< Ui::IndexWidgetForm > | m_ui |
This class is used to define a Index DataSet class object.
Definition at line 55 of file IndexWidget.h.
| te::qt::widgets::IndexWidget::IndexWidget | ( | te::da::DataSetType * | dsType, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
Definition at line 38 of file IndexWidget.cpp.
References te::da::B_TREE_TYPE, te::qt::widgets::DoubleListWidget::getForm(), te::dt::Property::getName(), te::dt::CompositeProperty::getProperties(), te::dt::CompositeProperty::getProperty(), te::da::HASH_TYPE, m_doubleListWidget, m_dsType, m_ui, te::da::QUAD_TREE_TYPE, te::da::R_TREE_TYPE, te::qt::widgets::DoubleListWidget::setInputValues(), and ~IndexWidget().
|
default |
Referenced by IndexWidget().
| bool te::qt::widgets::IndexWidget::checkParameters | ( | ) |
Check the interface parameters.
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.
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().
| void te::qt::widgets::IndexWidget::setIndex | ( | te::da::Index * | idx | ) |
Definition at line 143 of file IndexWidget.cpp.
References te::da::Index::getIndexType(), te::da::Index::getName(), te::dt::CompositeProperty::getProperties(), te::da::Index::getProperties(), m_doubleListWidget, m_dsType, m_ui, te::qt::widgets::DoubleListWidget::setInputValues(), and te::qt::widgets::DoubleListWidget::setOutputValues().
Referenced by te::qt::widgets::ConstraintsIndexesPropertyDialog::setIndex().
|
private |
Definition at line 90 of file IndexWidget.h.
Referenced by checkParameters(), getIndex(), IndexWidget(), and setIndex().
|
private |
Definition at line 91 of file IndexWidget.h.
Referenced by getIndex(), IndexWidget(), and setIndex().
|
private |
Definition at line 89 of file IndexWidget.h.
Referenced by checkParameters(), getForm(), getIndex(), IndexWidget(), and setIndex().