This class represents a TableLinkDialog component. More...
#include <TableLinkDialog.h>
  
 Public Slots | |
| int | exec () | 
Public Member Functions | |
| te::da::Join * | getJoin () | 
| 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< FieldsDialog > | m_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< DataSetTableView > | m_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... | |
This class represents a TableLinkDialog component.
Definition at line 57 of file TableLinkDialog.h.
| te::qt::widgets::TableLinkDialog::TableLinkDialog | ( | QWidget * | parent = 0,  | 
        
| Qt::WindowFlags | f = 0  | 
        ||
| ) | 
Constructor.
It constructs a TableLinkDialog.
| parent | this dialogs's parent | 
| f | Window flags used to configure this dialog | 
Definition at line 57 of file TableLinkDialog.cpp.
References m_fieldsDialog, m_tabularView, m_ui, onDataCBIndexChanged(), onDataToolButtonnClicked(), and onOkPushButtonClicked().
| te::qt::widgets::TableLinkDialog::~TableLinkDialog | ( | ) | 
Destructor.
Definition at line 94 of file TableLinkDialog.cpp.
      
  | 
  protectedslot | 
Definition at line 302 of file TableLinkDialog.cpp.
References te::dt::INT16_TYPE, te::dt::STRING_TYPE, and te::dt::UINT64_TYPE.
      
  | 
  slot | 
Definition at line 333 of file TableLinkDialog.cpp.
      
  | 
  protected | 
Definition at line 175 of file TableLinkDialog.cpp.
References te::da::GetDataSetNames().
| te::da::Join * te::qt::widgets::TableLinkDialog::getJoin | ( | ) | 
Returns the generated Join.
Definition at line 110 of file TableLinkDialog.cpp.
      
  | 
  protected | 
Definition at line 201 of file TableLinkDialog.cpp.
References te::dt::GEOMETRY_TYPE, te::da::Constraint::getName(), and te::da::PrimaryKey::has().
| te::map::AbstractLayerPtr te::qt::widgets::TableLinkDialog::getQueryLayer | ( | ) | 
Returns a new query layer based on the requested parameters.
Definition at line 150 of file TableLinkDialog.cpp.
References te::se::CreateFeatureTypeStyle(), te::da::GetFirstGeomProperty(), and te::gm::GeometryProperty::setSRID().
| te::da::Select te::qt::widgets::TableLinkDialog::getSelectQuery | ( | ) | 
Returns a new query based on the requested parameters.
Definition at line 133 of file TableLinkDialog.cpp.
References te::da::Select::getFields().
      
  | 
  protectedslot | 
Displays or hides the widget's used to configure the query's fields.
Definition at line 379 of file TableLinkDialog.cpp.
      
  | 
  protectedslot | 
Definition at line 351 of file TableLinkDialog.cpp.
Referenced by TableLinkDialog().
      
  | 
  protectedslot | 
Displays or hides the data of the tabular Dataset.
Definition at line 363 of file TableLinkDialog.cpp.
Referenced by TableLinkDialog().
      
  | 
  protectedslot | 
Definition at line 388 of file TableLinkDialog.cpp.
Referenced by TableLinkDialog().
| void te::qt::widgets::TableLinkDialog::setInputLayer | ( | te::map::AbstractLayerPtr | inLayer | ) | 
It sets the Datasource that is being used to generate the new Layer.
| datasource | The dasource being used. | 
Definition at line 98 of file TableLinkDialog.cpp.
References te::common::Singleton< DataSourceManager >::getInstance().
      
  | 
  private | 
The dasource of the layers to be linked.
Definition at line 137 of file TableLinkDialog.h.
      
  | 
  private | 
The widget used to select which fields will be added to the query.
Definition at line 139 of file TableLinkDialog.h.
Referenced by TableLinkDialog().
      
  | 
  private | 
The layer the will serve as the base for the link.
Definition at line 136 of file TableLinkDialog.h.
      
  | 
  private | 
The widget used to preview the data of the tabular dataset.
Definition at line 138 of file TableLinkDialog.h.
Referenced by TableLinkDialog().
      
  | 
  private | 
The widget's form.
Definition at line 140 of file TableLinkDialog.h.
Referenced by TableLinkDialog().