#include <SHP2PostGISDialog.h>
Public Member Functions | |
void | setDataSources () |
Set the list of data sources that can be used. More... | |
void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
Set the layer that can be used. More... | |
SHP2PostGISDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
~SHP2PostGISDialog () | |
Protected Slots | |
void | onHelpPushButtonClicked () |
void | onOkPushButtonClicked () |
Private Attributes | |
std::auto_ptr < Ui::SHP2PostGisDialogForm > | m_ui |
Definition at line 49 of file SHP2PostGISDialog.h.
te::qt::widgets::SHP2PostGISDialog::SHP2PostGISDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 44 of file SHP2PostGISDialog.cpp.
References m_ui, onHelpPushButtonClicked(), onOkPushButtonClicked(), and setDataSources().
te::qt::widgets::SHP2PostGISDialog::~SHP2PostGISDialog | ( | ) |
Definition at line 62 of file SHP2PostGISDialog.cpp.
|
protectedslot |
Definition at line 118 of file SHP2PostGISDialog.cpp.
Referenced by SHP2PostGISDialog().
|
protectedslot |
Definition at line 123 of file SHP2PostGISDialog.cpp.
References te::da::Index::add(), te::gm::GeometryProperty::clone(), te::da::CreateAdapter(), te::map::DataSetLayer::getDataSourceId(), te::da::GetFirstGeomProperty(), te::common::Singleton< DataSourceManager >::getInstance(), te::dt::Property::getName(), te::da::DataSetTypeConverter::getResult(), te::da::LoadProperties(), te::da::R_TREE_TYPE, te::da::Index::setIndexType(), te::dt::Property::setName(), and te::da::Index::setName().
Referenced by SHP2PostGISDialog().
void te::qt::widgets::SHP2PostGISDialog::setDataSources | ( | ) |
Set the list of data sources that can be used.
Definition at line 97 of file SHP2PostGISDialog.cpp.
References te::common::Singleton< DataSourceInfoManager >::getInstance().
Referenced by SHP2PostGISDialog().
void te::qt::widgets::SHP2PostGISDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
layers | List of AbstractLayerPtr |
Definition at line 66 of file SHP2PostGISDialog.cpp.
References te::da::GetDataSource(), and te::map::DataSetLayer::getDataSourceId().
|
private |
Definition at line 79 of file SHP2PostGISDialog.h.
Referenced by SHP2PostGISDialog().