#include <FieldsDialog.h>
Public Member Functions | |
| void | clearInputValues () |
| Clears the input values list. More... | |
| void | clearOutputValues () |
| Clears the output values list. More... | |
| FieldsDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor. More... | |
| te::da::Fields * | getFields () |
| Returns the selected fields. More... | |
| te::da::JoinType | getJoinType () |
| Returns the selected JoinType. More... | |
| void | setFixedOutputValues (std::vector< std::string > values, std::string iconName) |
| Sets the fixed output values list. More... | |
| void | setInputValues (std::vector< std::string > values) |
| Sets the input values list. More... | |
| void | setLeftLabel (const QString &value) |
| Sets the label displayed above the left list widget. More... | |
| void | setOutputValues (std::vector< std::string > values) |
| Sets the output values list. More... | |
| void | setRightLabel (const QString &value) |
| Sets the label displayed above the right list widget. More... | |
| ~FieldsDialog () | |
| Destructor. More... | |
Protected Slots | |
| void | onCancelPushButtonClicked () |
| void | onOkPushButtonClicked () |
Private Attributes | |
| std::unique_ptr< DoubleListWidget > | m_fieldsWidget |
| The widget used to select which fields will be added to the query. More... | |
| std::unique_ptr< Ui::FieldsDialogForm > | m_ui |
| The widget's form. More... | |
Definition at line 54 of file FieldsDialog.h.
| te::qt::widgets::FieldsDialog::FieldsDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor.
It constructs a FieldsWidget.
| parent | this widget's parent |
| f | Window flags used to configure this widget |
Definition at line 39 of file FieldsDialog.cpp.
References m_fieldsWidget, m_ui, onCancelPushButtonClicked(), onOkPushButtonClicked(), and ~FieldsDialog().
|
default |
Destructor.
Referenced by FieldsDialog().
| void te::qt::widgets::FieldsDialog::clearInputValues | ( | ) |
Clears the input values list.
Definition at line 60 of file FieldsDialog.cpp.
References m_fieldsWidget.
| void te::qt::widgets::FieldsDialog::clearOutputValues | ( | ) |
Clears the output values list.
Definition at line 65 of file FieldsDialog.cpp.
References m_fieldsWidget.
| te::da::Fields * te::qt::widgets::FieldsDialog::getFields | ( | ) |
Returns the selected fields.
Definition at line 95 of file FieldsDialog.cpp.
References m_fieldsWidget.
| te::da::JoinType te::qt::widgets::FieldsDialog::getJoinType | ( | ) |
Returns the selected JoinType.
Definition at line 111 of file FieldsDialog.cpp.
References te::da::JOIN, te::da::LEFT_JOIN, m_ui, and te::da::RIGHT_JOIN.
|
protectedslot |
Definition at line 126 of file FieldsDialog.cpp.
References m_fieldsWidget, and m_ui.
Referenced by FieldsDialog().
|
protectedslot |
Definition at line 121 of file FieldsDialog.cpp.
Referenced by FieldsDialog().
| void te::qt::widgets::FieldsDialog::setFixedOutputValues | ( | std::vector< std::string > | values, |
| std::string | iconName | ||
| ) |
Sets the fixed output values list.
Definition at line 80 of file FieldsDialog.cpp.
References m_fieldsWidget.
| void te::qt::widgets::FieldsDialog::setInputValues | ( | std::vector< std::string > | values | ) |
Sets the input values list.
Definition at line 70 of file FieldsDialog.cpp.
References m_fieldsWidget.
| void te::qt::widgets::FieldsDialog::setLeftLabel | ( | const QString & | value | ) |
Sets the label displayed above the left list widget.
Definition at line 85 of file FieldsDialog.cpp.
References m_fieldsWidget.
| void te::qt::widgets::FieldsDialog::setOutputValues | ( | std::vector< std::string > | values | ) |
Sets the output values list.
Definition at line 75 of file FieldsDialog.cpp.
References m_fieldsWidget.
| void te::qt::widgets::FieldsDialog::setRightLabel | ( | const QString & | value | ) |
Sets the label displayed above the right list widget.
Definition at line 90 of file FieldsDialog.cpp.
References m_fieldsWidget.
|
private |
The widget used to select which fields will be added to the query.
Definition at line 134 of file FieldsDialog.h.
Referenced by clearInputValues(), clearOutputValues(), FieldsDialog(), getFields(), onCancelPushButtonClicked(), setFixedOutputValues(), setInputValues(), setLeftLabel(), setOutputValues(), and setRightLabel().
|
private |
The widget's form.
Definition at line 135 of file FieldsDialog.h.
Referenced by FieldsDialog(), getJoinType(), and onCancelPushButtonClicked().