A dialog window for showing the OGR connector widget. More...
#include <OGRConnectorDialog.h>
Public Slots | |
| void | openPushButtonPressed () |
| void | searchFeatureToolButtonPressed () |
| void | testPushButtonPressed () |
Public Member Functions | |
| const te::da::DataSourceInfoPtr & | getDataSource () const |
| const te::da::DataSourcePtr & | getDriver () const |
| OGRConnectorDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| void | set (const te::da::DataSourceInfoPtr &ds) |
| ~OGRConnectorDialog () | |
Protected Member Functions | |
| const std::string | getConnectionInfo () const |
| void | setConnectionInfo (const std::string &connInfo) |
Private Attributes | |
| te::da::DataSourceInfoPtr | m_datasource |
| te::da::DataSourcePtr | m_driver |
| std::unique_ptr< Ui::OGRConnectorDialogForm > | m_ui |
A dialog window for showing the OGR connector widget.
Definition at line 56 of file OGRConnectorDialog.h.
| te::qt::plugins::ogr::OGRConnectorDialog::OGRConnectorDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Definition at line 55 of file OGRConnectorDialog.cpp.
References m_ui, openPushButtonPressed(), searchFeatureToolButtonPressed(), testPushButtonPressed(), and ~OGRConnectorDialog().
|
default |
Referenced by OGRConnectorDialog().
|
protected |
Definition at line 263 of file OGRConnectorDialog.cpp.
Referenced by openPushButtonPressed(), and testPushButtonPressed().
| const te::da::DataSourceInfoPtr & te::qt::plugins::ogr::OGRConnectorDialog::getDataSource | ( | ) | const |
Definition at line 73 of file OGRConnectorDialog.cpp.
References m_datasource.
| const te::da::DataSourcePtr & te::qt::plugins::ogr::OGRConnectorDialog::getDriver | ( | ) | const |
Definition at line 78 of file OGRConnectorDialog.cpp.
References m_driver.
|
slot |
Definition at line 97 of file OGRConnectorDialog.cpp.
References ds, te::da::DataSourceFactory::find(), getConnectionInfo(), te::qt::plugins::ogr::HasShapeFileSpatialIndex(), te::qt::plugins::ogr::IsShapeFile(), m_datasource, m_driver, m_ui, te::da::DataSourceFactory::make(), and TE_TR.
Referenced by OGRConnectorDialog().
|
slot |
Definition at line 226 of file OGRConnectorDialog.cpp.
References te::qt::widgets::AddFilePathToSettings(), te::qt::widgets::GetFilePathFromSettings(), and m_ui.
Referenced by OGRConnectorDialog().
| void te::qt::plugins::ogr::OGRConnectorDialog::set | ( | const te::da::DataSourceInfoPtr & | ds | ) |
Definition at line 83 of file OGRConnectorDialog.cpp.
References ds, m_datasource, m_ui, and setConnectionInfo().
|
protected |
Definition at line 279 of file OGRConnectorDialog.cpp.
References te::core::URI::host(), m_ui, te::core::URI::path(), and te::core::URIDecode().
Referenced by set().
|
slot |
Definition at line 188 of file OGRConnectorDialog.cpp.
References ds, te::da::DataSourceFactory::find(), getConnectionInfo(), m_ui, te::da::DataSourceFactory::make(), and TE_TR.
Referenced by OGRConnectorDialog().
|
private |
Definition at line 89 of file OGRConnectorDialog.h.
Referenced by getDataSource(), openPushButtonPressed(), and set().
|
private |
Definition at line 90 of file OGRConnectorDialog.h.
Referenced by getDriver(), and openPushButtonPressed().
|
private |
Definition at line 88 of file OGRConnectorDialog.h.
Referenced by getConnectionInfo(), OGRConnectorDialog(), openPushButtonPressed(), searchFeatureToolButtonPressed(), set(), setConnectionInfo(), and testPushButtonPressed().