#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 (std::string 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 (std::string value) |
Sets the label displayed above the right list widget. More... | |
~FieldsDialog () | |
Destructor. More... | |
Protected Slots | |
void | onCancelPushButtonClicked () |
void | onOkPushButtonClicked () |
Private Attributes | |
std::auto_ptr< DoubleListWidget > | m_fieldsWidget |
The widget used to select which fields will be added to the query. More... | |
std::auto_ptr< Ui::FieldsDialogForm > | m_ui |
The widget's form. More... | |
Definition at line 52 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(), and onOkPushButtonClicked().
te::qt::widgets::FieldsDialog::~FieldsDialog | ( | ) |
Destructor.
Definition at line 58 of file FieldsDialog.cpp.
void te::qt::widgets::FieldsDialog::clearInputValues | ( | ) |
Clears the input values list.
Definition at line 62 of file FieldsDialog.cpp.
void te::qt::widgets::FieldsDialog::clearOutputValues | ( | ) |
Clears the output values list.
Definition at line 67 of file FieldsDialog.cpp.
te::da::Fields * te::qt::widgets::FieldsDialog::getFields | ( | ) |
Returns the selected fields.
Definition at line 97 of file FieldsDialog.cpp.
te::da::JoinType te::qt::widgets::FieldsDialog::getJoinType | ( | ) |
Returns the selected JoinType.
Definition at line 113 of file FieldsDialog.cpp.
References te::da::JOIN, te::da::LEFT_JOIN, and te::da::RIGHT_JOIN.
|
protectedslot |
Definition at line 128 of file FieldsDialog.cpp.
Referenced by FieldsDialog().
|
protectedslot |
Definition at line 123 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 82 of file FieldsDialog.cpp.
void te::qt::widgets::FieldsDialog::setInputValues | ( | std::vector< std::string > | values | ) |
Sets the input values list.
Definition at line 72 of file FieldsDialog.cpp.
void te::qt::widgets::FieldsDialog::setLeftLabel | ( | std::string | value | ) |
Sets the label displayed above the left list widget.
Definition at line 87 of file FieldsDialog.cpp.
void te::qt::widgets::FieldsDialog::setOutputValues | ( | std::vector< std::string > | values | ) |
Sets the output values list.
Definition at line 77 of file FieldsDialog.cpp.
void te::qt::widgets::FieldsDialog::setRightLabel | ( | std::string | value | ) |
Sets the label displayed above the right list widget.
Definition at line 92 of file FieldsDialog.cpp.
|
private |
The widget used to select which fields will be added to the query.
Definition at line 132 of file FieldsDialog.h.
Referenced by FieldsDialog().
|
private |