... More...
#include <DoubleListWidget.h>
Signals | |
| void | itemAdded (std::vector< int > ids) |
| void | itemChanged () |
| void | itemRemoved (std::vector< int > ids) |
Public Member Functions | |
| void | addItems (QList< QListWidgetItem * > list) |
| void | addItems (std::vector< int > ids) |
| void | clearInputValues () |
| void | clearOutputValues () |
| DoubleListWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Ui::DoubleListWidgetForm * | getForm () const |
| std::vector< int > | getOutputDataValues () |
| std::vector< std::string > | getOutputValues () |
| void | removeItems (QList< QListWidgetItem * > list) |
| void | removeItems (std::vector< int > ids) |
| void | setFixedOutputValues (std::vector< std::string > values, std::string iconName) |
| void | setInputDataValues (std::vector< std::string > values, std::vector< int > ids) |
| void | setInputValues (std::vector< std::string > values) |
| void | setLeftLabel (const QString &value) |
| void | setOutputDataValues (std::vector< std::string > values, std::vector< int > ids) |
| void | setOutputValues (std::vector< std::string > values) |
| void | setRightLabel (const QString &value) |
| void | setVisibledOrderButtons (bool state) |
| ~DoubleListWidget () | |
Protected Slots | |
| void | onAddAllToolButtonPressed () |
| void | onAddToolButtonPressed () |
| void | onDownToolButtonPressed () |
| void | onLeftListItemSelectionChanged () |
| void | onRemoveAllToolButtonPressed () |
| void | onRemoveToolButtonPressed () |
| void | onRightListItemSelectionChanged () |
| void | onUpToolButtonPressed () |
Private Member Functions | |
| QListWidgetItem * | getItemFromId (const int &id) |
Private Attributes | |
| std::unique_ptr< Ui::DoubleListWidgetForm > | m_ui |
...
Definition at line 53 of file DoubleListWidget.h.
| te::qt::widgets::DoubleListWidget::DoubleListWidget | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Definition at line 34 of file DoubleListWidget.cpp.
References m_ui, onAddAllToolButtonPressed(), onAddToolButtonPressed(), onDownToolButtonPressed(), onLeftListItemSelectionChanged(), onRemoveAllToolButtonPressed(), onRemoveToolButtonPressed(), onRightListItemSelectionChanged(), onUpToolButtonPressed(), and ~DoubleListWidget().
|
default |
Referenced by DoubleListWidget().
| void te::qt::widgets::DoubleListWidget::addItems | ( | QList< QListWidgetItem * > | list | ) |
Definition at line 218 of file DoubleListWidget.cpp.
References itemAdded(), itemChanged(), and m_ui.
Referenced by addItems(), onAddAllToolButtonPressed(), and onAddToolButtonPressed().
| void te::qt::widgets::DoubleListWidget::addItems | ( | std::vector< int > | ids | ) |
Definition at line 243 of file DoubleListWidget.cpp.
References addItems(), and getItemFromId().
| void te::qt::widgets::DoubleListWidget::clearInputValues | ( | ) |
Definition at line 196 of file DoubleListWidget.cpp.
References m_ui.
Referenced by te::sa::SkaterDialog::onInputLayerComboBoxActivated().
| void te::qt::widgets::DoubleListWidget::clearOutputValues | ( | ) |
Definition at line 204 of file DoubleListWidget.cpp.
References m_ui.
Referenced by te::sa::SkaterDialog::onInputLayerComboBoxActivated().
| Ui::DoubleListWidgetForm * te::qt::widgets::DoubleListWidget::getForm | ( | ) | const |
Definition at line 65 of file DoubleListWidget.cpp.
References m_ui.
Referenced by te::qt::widgets::ConstraintWidget::ConstraintWidget(), and te::qt::widgets::IndexWidget::IndexWidget().
|
private |
Definition at line 446 of file DoubleListWidget.cpp.
References m_ui.
Referenced by addItems(), and removeItems().
| std::vector< int > te::qt::widgets::DoubleListWidget::getOutputDataValues | ( | ) |
Definition at line 179 of file DoubleListWidget.cpp.
References m_ui.
| std::vector< std::string > te::qt::widgets::DoubleListWidget::getOutputValues | ( | ) |
Definition at line 165 of file DoubleListWidget.cpp.
References m_ui.
Referenced by te::qt::widgets::ConstraintWidget::checkParameters(), te::qt::widgets::IndexWidget::checkParameters(), te::qt::widgets::PrimaryKeyConstraintWidget::getConstraint(), te::qt::widgets::UniqueKeyConstraintWidget::getConstraint(), te::qt::widgets::IndexWidget::getIndex(), te::sa::SkaterDialog::onOkPushButtonClicked(), and te::attributefill::VectorToVectorDialog::onSelectAttrToolButtonPressed().
|
signal |
Referenced by addItems().
|
signal |
Referenced by addItems(), and removeItems().
|
signal |
Referenced by removeItems().
|
protectedslot |
Definition at line 312 of file DoubleListWidget.cpp.
References addItems(), and m_ui.
Referenced by DoubleListWidget().
|
protectedslot |
Definition at line 302 of file DoubleListWidget.cpp.
References addItems(), and m_ui.
Referenced by DoubleListWidget().
|
protectedslot |
Definition at line 346 of file DoubleListWidget.cpp.
References m_ui.
Referenced by DoubleListWidget().
|
protectedslot |
Definition at line 414 of file DoubleListWidget.cpp.
References m_ui.
Referenced by DoubleListWidget().
|
protectedslot |
Definition at line 334 of file DoubleListWidget.cpp.
References m_ui, and removeItems().
Referenced by DoubleListWidget().
|
protectedslot |
Definition at line 324 of file DoubleListWidget.cpp.
References m_ui, and removeItems().
Referenced by DoubleListWidget().
|
protectedslot |
Definition at line 427 of file DoubleListWidget.cpp.
References m_ui.
Referenced by DoubleListWidget().
|
protectedslot |
Definition at line 380 of file DoubleListWidget.cpp.
References m_ui.
Referenced by DoubleListWidget().
| void te::qt::widgets::DoubleListWidget::removeItems | ( | QList< QListWidgetItem * > | list | ) |
Definition at line 259 of file DoubleListWidget.cpp.
References itemChanged(), itemRemoved(), and m_ui.
Referenced by onRemoveAllToolButtonPressed(), onRemoveToolButtonPressed(), and removeItems().
| void te::qt::widgets::DoubleListWidget::removeItems | ( | std::vector< int > | ids | ) |
Definition at line 286 of file DoubleListWidget.cpp.
References getItemFromId(), and removeItems().
| void te::qt::widgets::DoubleListWidget::setFixedOutputValues | ( | std::vector< std::string > | values, |
| std::string | iconName | ||
| ) |
Definition at line 144 of file DoubleListWidget.cpp.
References m_ui.
| void te::qt::widgets::DoubleListWidget::setInputDataValues | ( | std::vector< std::string > | values, |
| std::vector< int > | ids | ||
| ) |
Definition at line 85 of file DoubleListWidget.cpp.
References m_ui.
| void te::qt::widgets::DoubleListWidget::setInputValues | ( | std::vector< std::string > | values | ) |
Definition at line 70 of file DoubleListWidget.cpp.
References m_ui.
Referenced by te::qt::widgets::ConstraintWidget::ConstraintWidget(), te::qt::widgets::IndexWidget::IndexWidget(), te::sa::SkaterDialog::onInputLayerComboBoxActivated(), te::attributefill::VectorToVectorDialog::onSelectAttrToolButtonPressed(), te::qt::widgets::PrimaryKeyConstraintWidget::setConstraint(), te::qt::widgets::UniqueKeyConstraintWidget::setConstraint(), te::qt::widgets::IndexWidget::setIndex(), and UtilsWidgets().
| void te::qt::widgets::DoubleListWidget::setLeftLabel | ( | const QString & | value | ) |
Definition at line 155 of file DoubleListWidget.cpp.
References m_ui.
Referenced by te::attributefill::VectorToVectorDialog::onSelectAttrToolButtonPressed(), and UtilsWidgets().
| void te::qt::widgets::DoubleListWidget::setOutputDataValues | ( | std::vector< std::string > | values, |
| std::vector< int > | ids | ||
| ) |
Definition at line 122 of file DoubleListWidget.cpp.
References m_ui.
| void te::qt::widgets::DoubleListWidget::setOutputValues | ( | std::vector< std::string > | values | ) |
Definition at line 107 of file DoubleListWidget.cpp.
References m_ui.
Referenced by te::attributefill::VectorToVectorDialog::onSelectAttrToolButtonPressed(), te::qt::widgets::PrimaryKeyConstraintWidget::setConstraint(), te::qt::widgets::UniqueKeyConstraintWidget::setConstraint(), and te::qt::widgets::IndexWidget::setIndex().
| void te::qt::widgets::DoubleListWidget::setRightLabel | ( | const QString & | value | ) |
Definition at line 160 of file DoubleListWidget.cpp.
References m_ui.
Referenced by te::attributefill::VectorToVectorDialog::onSelectAttrToolButtonPressed(), and UtilsWidgets().
| void te::qt::widgets::DoubleListWidget::setVisibledOrderButtons | ( | bool | state | ) |
Definition at line 212 of file DoubleListWidget.cpp.
References m_ui.
|
private |
Definition at line 129 of file DoubleListWidget.h.
Referenced by addItems(), clearInputValues(), clearOutputValues(), DoubleListWidget(), getForm(), getItemFromId(), getOutputDataValues(), getOutputValues(), onAddAllToolButtonPressed(), onAddToolButtonPressed(), onDownToolButtonPressed(), onLeftListItemSelectionChanged(), onRemoveAllToolButtonPressed(), onRemoveToolButtonPressed(), onRightListItemSelectionChanged(), onUpToolButtonPressed(), removeItems(), setFixedOutputValues(), setInputDataValues(), setInputValues(), setLeftLabel(), setOutputDataValues(), setOutputValues(), setRightLabel(), and setVisibledOrderButtons().