te::qt::widgets::FieldsDialog Class Reference

#include <FieldsDialog.h>

Inheritance diagram for te::qt::widgets::FieldsDialog:

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::FieldsgetFields ()
 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::auto_ptr< DoubleListWidgetm_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...
 

Detailed Description

Definition at line 52 of file FieldsDialog.h.

Constructor & Destructor Documentation

te::qt::widgets::FieldsDialog::FieldsDialog ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Constructor.

It constructs a FieldsWidget.

Parameters
parentthis widget's parent
fWindow flags used to configure this widget
te::qt::widgets::FieldsDialog::~FieldsDialog ( )

Destructor.

Member Function Documentation

void te::qt::widgets::FieldsDialog::clearInputValues ( )

Clears the input values list.

void te::qt::widgets::FieldsDialog::clearOutputValues ( )

Clears the output values list.

te::da::Fields* te::qt::widgets::FieldsDialog::getFields ( )

Returns the selected fields.

Note
By default, all fields will be used
The caller will take ownership of the returned pointer
te::da::JoinType te::qt::widgets::FieldsDialog::getJoinType ( )

Returns the selected JoinType.

void te::qt::widgets::FieldsDialog::onCancelPushButtonClicked ( )
protectedslot
void te::qt::widgets::FieldsDialog::onOkPushButtonClicked ( )
protectedslot
void te::qt::widgets::FieldsDialog::setFixedOutputValues ( std::vector< std::string >  values,
std::string  iconName 
)

Sets the fixed output values list.

void te::qt::widgets::FieldsDialog::setInputValues ( std::vector< std::string >  values)

Sets the input values list.

void te::qt::widgets::FieldsDialog::setLeftLabel ( const QString &  value)

Sets the label displayed above the left list widget.

void te::qt::widgets::FieldsDialog::setOutputValues ( std::vector< std::string >  values)

Sets the output values list.

void te::qt::widgets::FieldsDialog::setRightLabel ( const QString &  value)

Sets the label displayed above the right list widget.

Member Data Documentation

std::auto_ptr<DoubleListWidget> te::qt::widgets::FieldsDialog::m_fieldsWidget
private

The widget used to select which fields will be added to the query.

Definition at line 132 of file FieldsDialog.h.

std::auto_ptr<Ui::FieldsDialogForm> te::qt::widgets::FieldsDialog::m_ui
private

The widget's form.

Definition at line 133 of file FieldsDialog.h.


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