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 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 Member Functions

TableLinkDialogoperator= (const TableLinkDialog &rhs)
 
 TableLinkDialog (const TableLinkDialog &rhs)
 

Private Attributes

te::da::DataSourcePtr m_ds
 The dasource of the layers to be linked. More...
 
te::map::DataSetLayerPtr m_inputLayer
 The layer the will serve as the base for the link. More...
 
std::vector< std::string > m_properties
 The name of the properties that the output layer will contain. More...
 
std::unique_ptr< DataSetTableViewm_tabularView
 The widget used to preview the data of the tabular dataset. More...
 
std::unique_ptr< Ui::TableLinkDialogForm > m_ui
 The widget's form. More...
 
std::vector< std::string > m_uniqueProps
 The name of the properties that must be unique in the output layer. More...
 

Detailed Description

This class represents a TableLinkDialog component.

Definition at line 58 of file TableLinkDialog.h.

Constructor & Destructor Documentation

◆ TableLinkDialog() [1/2]

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

◆ ~TableLinkDialog()

te::qt::widgets::TableLinkDialog::~TableLinkDialog ( )

Destructor.

◆ TableLinkDialog() [2/2]

te::qt::widgets::TableLinkDialog::TableLinkDialog ( const TableLinkDialog rhs)
private

Member Function Documentation

◆ done

void te::qt::widgets::TableLinkDialog::done ( int  r)
protectedslot

◆ exec

int te::qt::widgets::TableLinkDialog::exec ( )
slot

◆ getDataSets()

void te::qt::widgets::TableLinkDialog::getDataSets ( )
protected

◆ getJoin()

te::da::Join* te::qt::widgets::TableLinkDialog::getJoin ( )

Returns the generated Join.

Note
The caller will take ownership of the returned pointer

◆ getProperties()

void te::qt::widgets::TableLinkDialog::getProperties ( )
protected

◆ getQueryLayer()

te::map::AbstractLayerPtr te::qt::widgets::TableLinkDialog::getQueryLayer ( )

Returns a new query layer based on the requested parameters.

◆ getSelectQuery()

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

Returns a new query based on the requested parameters.

◆ onDataCBIndexChanged

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

◆ onDataToolButtonnClicked

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

Displays or hides the data of the tabular Dataset.

◆ onOkPushButtonClicked

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

◆ operator=()

TableLinkDialog& te::qt::widgets::TableLinkDialog::operator= ( const TableLinkDialog rhs)
private

◆ setInputLayer()

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

◆ m_ds

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.

◆ m_inputLayer

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.

◆ m_properties

std::vector<std::string> te::qt::widgets::TableLinkDialog::m_properties
private

The name of the properties that the output layer will contain.

Definition at line 138 of file TableLinkDialog.h.

◆ m_tabularView

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

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

Definition at line 140 of file TableLinkDialog.h.

◆ m_ui

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

The widget's form.

Definition at line 141 of file TableLinkDialog.h.

◆ m_uniqueProps

std::vector<std::string> te::qt::widgets::TableLinkDialog::m_uniqueProps
private

The name of the properties that must be unique in the output layer.

Definition at line 139 of file TableLinkDialog.h.


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