te::qt::widgets::TableLinkDialog Class Reference

This class represents a TableLinkDialog component. More...

#include <TableLinkDialog.h>

Inheritance diagram for te::qt::widgets::TableLinkDialog:

Public Slots

int exec ()
 

Public Member Functions

te::da::JoingetJoin ()
 Returns the generated Join. More...
 
te::map::AbstractLayerPtr getQueryLayer ()
 Returns a new query layer based on the requested parameters. More...
 
te::da::Select getSelectQuery ()
 Returns a new query based on the requested parameters. More...
 
void setInputLayer (te::map::AbstractLayerPtr inLayer)
 It sets the Datasource that is being used to generate the new Layer. More...
 
 TableLinkDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor. More...
 
 ~TableLinkDialog ()
 Destructor. More...
 

Protected Slots

void done (int r)
 
void onAdvancedToolButtonnClicked ()
 Displays or hides the widget's used to configure the query's fields. More...
 
void onDataCBIndexChanged (int index)
 
void onDataToolButtonnClicked ()
 Displays or hides the data of the tabular Dataset. More...
 
void onOkPushButtonClicked ()
 

Protected Member Functions

void getDataSets ()
 
void getProperties ()
 

Private Attributes

te::da::DataSourcePtr m_ds
 The dasource of the layers to be linked. More...
 
std::auto_ptr< FieldsDialogm_fieldsDialog
 The widget used to select which fields will be added to the query. More...
 
te::map::DataSetLayerPtr m_inputLayer
 The layer the will serve as the base for the link. More...
 
std::auto_ptr< DataSetTableViewm_tabularView
 The widget used to preview the data of the tabular dataset. More...
 
std::auto_ptr< Ui::TableLinkDialogForm > m_ui
 The widget's form. More...
 

Detailed Description

This class represents a TableLinkDialog component.

Definition at line 57 of file TableLinkDialog.h.

Constructor & Destructor Documentation

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

Constructor.

It constructs a TableLinkDialog.

Parameters
parentthis dialogs's parent
fWindow flags used to configure this dialog
te::qt::widgets::TableLinkDialog::~TableLinkDialog ( )

Destructor.

Member Function Documentation

void te::qt::widgets::TableLinkDialog::done ( int  r)
protectedslot
int te::qt::widgets::TableLinkDialog::exec ( )
slot
void te::qt::widgets::TableLinkDialog::getDataSets ( )
protected
te::da::Join* te::qt::widgets::TableLinkDialog::getJoin ( )

Returns the generated Join.

Note
The caller will take ownership of the returned pointer
void te::qt::widgets::TableLinkDialog::getProperties ( )
protected
te::map::AbstractLayerPtr te::qt::widgets::TableLinkDialog::getQueryLayer ( )

Returns a new query layer based on the requested parameters.

te::da::Select te::qt::widgets::TableLinkDialog::getSelectQuery ( )

Returns a new query based on the requested parameters.

void te::qt::widgets::TableLinkDialog::onAdvancedToolButtonnClicked ( )
protectedslot

Displays or hides the widget's used to configure the query's fields.

void te::qt::widgets::TableLinkDialog::onDataCBIndexChanged ( int  index)
protectedslot
void te::qt::widgets::TableLinkDialog::onDataToolButtonnClicked ( )
protectedslot

Displays or hides the data of the tabular Dataset.

void te::qt::widgets::TableLinkDialog::onOkPushButtonClicked ( )
protectedslot
void te::qt::widgets::TableLinkDialog::setInputLayer ( te::map::AbstractLayerPtr  inLayer)

It sets the Datasource that is being used to generate the new Layer.

Parameters
datasourceThe dasource being used.

Member Data Documentation

te::da::DataSourcePtr te::qt::widgets::TableLinkDialog::m_ds
private

The dasource of the layers to be linked.

Definition at line 137 of file TableLinkDialog.h.

std::auto_ptr<FieldsDialog> te::qt::widgets::TableLinkDialog::m_fieldsDialog
private

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

Definition at line 139 of file TableLinkDialog.h.

te::map::DataSetLayerPtr te::qt::widgets::TableLinkDialog::m_inputLayer
private

The layer the will serve as the base for the link.

Definition at line 136 of file TableLinkDialog.h.

std::auto_ptr<DataSetTableView> te::qt::widgets::TableLinkDialog::m_tabularView
private

The widget used to preview the data of the tabular dataset.

Definition at line 138 of file TableLinkDialog.h.

std::auto_ptr<Ui::TableLinkDialogForm> te::qt::widgets::TableLinkDialog::m_ui
private

The widget's form.

Definition at line 140 of file TableLinkDialog.h.


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