This file defines a class for a Query Data Source Dialog Dialog. More...
#include <QueryDataSourceDialog.h>
Signals | |
void | createNewLayer (te::map::AbstractLayerPtr layer) |
Public Member Functions | |
QueryDataSourceDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
void | setAppMapDisplay (te::qt::widgets::MapDisplay *appMapDisplay) |
void | setLayerList (std::list< te::map::AbstractLayerPtr > layerList) |
This method is used to set the list of layers. More... | |
~QueryDataSourceDialog () | |
Protected Slots | |
void | onApplyPushButtonClicked () |
void | onApplySelToolButtonClicked () |
void | onBaseDataSetSelected (int index) |
void | onClearPushButtonClicked () |
void | onCreateLayerToolButtonClicked () |
void | onDataSetItemClicked (QListWidgetItem *item) |
void | onDataSourceSelected (int index) |
void | onOpenSqlToolButtonClicked () |
void | onPkTableComboBoxSelected (int index) |
void | onSaveSqlToolButtonClicked () |
void | onSQLEditorTextChanged () |
void | onTargetDatasourceToolButtonPressed () |
void | onTargetFileToolButtonPressed () |
Protected Member Functions | |
void | buildMap () |
void | loadDataSourcesInformation () |
Private Attributes | |
te::qt::widgets::MapDisplay * | m_appMapDisplay |
te::qt::widgets::DataSetDisplay * | m_dataSetDisplay |
std::map< std::string, Qt::GlobalColor > | m_keyWords |
std::list< te::map::AbstractLayerPtr > | m_layerList |
te::da::DataSourceInfoPtr | m_outputDatasource |
te::qt::widgets::DataSetTableModel * | m_tableModel |
bool | m_toFile |
std::auto_ptr< Ui::QueryDataSourceDialogForm > | m_ui |
This file defines a class for a Query Data Source Dialog Dialog.
Definition at line 65 of file QueryDataSourceDialog.h.
te::qt::widgets::QueryDataSourceDialog::QueryDataSourceDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 69 of file QueryDataSourceDialog.cpp.
References loadDataSourcesInformation(), m_appMapDisplay, m_dataSetDisplay, m_tableModel, m_ui, onApplyPushButtonClicked(), onApplySelToolButtonClicked(), onBaseDataSetSelected(), onClearPushButtonClicked(), onCreateLayerToolButtonClicked(), onDataSetItemClicked(), onDataSourceSelected(), onOpenSqlToolButtonClicked(), onPkTableComboBoxSelected(), onSaveSqlToolButtonClicked(), onSQLEditorTextChanged(), onTargetDatasourceToolButtonPressed(), and onTargetFileToolButtonPressed().
te::qt::widgets::QueryDataSourceDialog::~QueryDataSourceDialog | ( | ) |
Definition at line 120 of file QueryDataSourceDialog.cpp.
|
protected |
Definition at line 161 of file QueryDataSourceDialog.cpp.
References dialect, te::da::GetDataSource(), and te::da::SQLDialect::getRegisteredNames().
|
signal |
This signal is emitted when the layer objects must be highlighted.
|
protected |
Definition at line 138 of file QueryDataSourceDialog.cpp.
References dialect, te::da::GetDataSource(), and te::common::Singleton< DataSourceInfoManager >::getInstance().
Referenced by QueryDataSourceDialog().
|
protectedslot |
Definition at line 298 of file QueryDataSourceDialog.cpp.
References te::dt::GEOMETRY_TYPE, te::da::GetDataSetType(), and te::da::GetDataSource().
Referenced by QueryDataSourceDialog().
|
protectedslot |
Definition at line 527 of file QueryDataSourceDialog.cpp.
References te::da::GenerateOIDSet(), te::da::GetDataSetType(), te::da::GetDataSource(), te::da::ObjectIdSet::setExpressionByInClause(), and te::common::Exception::what().
Referenced by QueryDataSourceDialog().
|
protectedslot |
Definition at line 231 of file QueryDataSourceDialog.cpp.
Referenced by QueryDataSourceDialog().
|
protectedslot |
Definition at line 381 of file QueryDataSourceDialog.cpp.
References te::common::LATIN1.
Referenced by QueryDataSourceDialog().
|
protectedslot |
Definition at line 612 of file QueryDataSourceDialog.cpp.
References te::da::PrimaryKey::add(), te::da::AssociateDataSetTypeConverterSRID(), te::dt::Property::clone(), te::common::Convert2String(), te::common::Convert2UCase(), te::da::CreateAdapter(), te::dt::GEOMETRY_TYPE, te::da::GetDataSetType(), te::da::GetDataSource(), te::common::Singleton< DataSourceManager >::getInstance(), te::common::Singleton< DataSourceInfoManager >::getInstance(), te::dt::Property::getName(), te::dt::NUMERIC_TYPE, te::dt::STRING_TYPE, te::dt::VAR_STRING, and te::common::Exception::what().
Referenced by QueryDataSourceDialog().
|
protectedslot |
Definition at line 257 of file QueryDataSourceDialog.cpp.
References te::da::GetDataSetType(), and te::dt::CompositeProperty::getProperties().
Referenced by QueryDataSourceDialog().
|
protectedslot |
Definition at line 197 of file QueryDataSourceDialog.cpp.
References te::da::GetDataSetNames(), and te::da::GetDataSource().
Referenced by QueryDataSourceDialog().
|
protectedslot |
Definition at line 495 of file QueryDataSourceDialog.cpp.
Referenced by QueryDataSourceDialog().
|
protectedslot |
Definition at line 280 of file QueryDataSourceDialog.cpp.
References te::da::GetDataSetType(), and te::dt::CompositeProperty::getProperties().
Referenced by QueryDataSourceDialog().
|
protectedslot |
Definition at line 470 of file QueryDataSourceDialog.cpp.
Referenced by QueryDataSourceDialog().
|
protectedslot |
Definition at line 390 of file QueryDataSourceDialog.cpp.
References te::at::Bold, and te::sa::Normal.
Referenced by QueryDataSourceDialog().
|
protectedslot |
Definition at line 815 of file QueryDataSourceDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds().
Referenced by QueryDataSourceDialog().
|
protectedslot |
Definition at line 837 of file QueryDataSourceDialog.cpp.
Referenced by QueryDataSourceDialog().
void te::qt::widgets::QueryDataSourceDialog::setAppMapDisplay | ( | te::qt::widgets::MapDisplay * | appMapDisplay | ) |
Definition at line 133 of file QueryDataSourceDialog.cpp.
Referenced by te::qt::af::BaseApplication::onToolsQueryDataSourceTriggered().
void te::qt::widgets::QueryDataSourceDialog::setLayerList | ( | std::list< te::map::AbstractLayerPtr > | layerList | ) |
This method is used to set the list of layers.
Definition at line 125 of file QueryDataSourceDialog.cpp.
Referenced by te::qt::af::BaseApplication::onToolsQueryDataSourceTriggered().
|
private |
Definition at line 136 of file QueryDataSourceDialog.h.
Referenced by QueryDataSourceDialog().
|
private |
Definition at line 134 of file QueryDataSourceDialog.h.
Referenced by QueryDataSourceDialog().
|
private |
Definition at line 142 of file QueryDataSourceDialog.h.
|
private |
Definition at line 130 of file QueryDataSourceDialog.h.
|
private |
Definition at line 138 of file QueryDataSourceDialog.h.
|
private |
Definition at line 132 of file QueryDataSourceDialog.h.
Referenced by QueryDataSourceDialog().
|
private |
Definition at line 140 of file QueryDataSourceDialog.h.
|
private |
Definition at line 128 of file QueryDataSourceDialog.h.
Referenced by QueryDataSourceDialog().