#include <DirectExchangerDialog.h>
Public Member Functions | |
DirectExchangerDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
void | setLastDataSource (std::string dataSource) |
Function used to set the last data source used. More... | |
void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
Set the layer that can be used. More... | |
~DirectExchangerDialog () | |
Protected Slots | |
void | onDataSoruceToolButtonClicked () |
void | onDataSourceTypeActivated (int index) |
void | onDirToolButtonClicked () |
void | onInputLayerActivated (QString value) |
void | onOkPushButtonClicked () |
void | setOutputDataSources () |
Protected Member Functions | |
bool | exchangeToDatabase () |
bool | exchangeToFile () |
void | setDataSources () |
Set the list of data sources that can be used. More... | |
Private Attributes | |
bool | m_exchangeToFile |
std::string | m_lastDsType |
std::list < te::map::AbstractLayerPtr > | m_layers |
std::string | m_outputDataSourceType |
std::auto_ptr < Ui::DirectExchangerDialogForm > | m_ui |
Definition at line 49 of file DirectExchangerDialog.h.
te::qt::widgets::DirectExchangerDialog::DirectExchangerDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 59 of file DirectExchangerDialog.cpp.
References m_exchangeToFile, m_lastDsType, m_outputDataSourceType, m_ui, onDataSoruceToolButtonClicked(), onDataSourceTypeActivated(), onDirToolButtonClicked(), onInputLayerActivated(), onOkPushButtonClicked(), and setOutputDataSources().
te::qt::widgets::DirectExchangerDialog::~DirectExchangerDialog | ( | ) |
Definition at line 87 of file DirectExchangerDialog.cpp.
|
protected |
Definition at line 300 of file DirectExchangerDialog.cpp.
References te::da::PrimaryKey::add(), te::da::Index::add(), te::gm::GeometryProperty::clone(), te::dt::Property::clone(), te::da::CreateAdapter(), te::da::GetFirstGeomProperty(), te::common::Singleton< DataSourceManager >::getInstance(), te::dt::Property::getName(), te::da::DataSetTypeConverter::getResult(), te::gm::GeometryProperty::getSRID(), te::da::R_TREE_TYPE, te::common::ReplaceSpecialChars(), te::da::Index::setIndexType(), te::da::Constraint::setName(), te::dt::Property::setName(), te::da::Index::setName(), and te::gm::GeometryProperty::setSRID().
|
protected |
Definition at line 148 of file DirectExchangerDialog.cpp.
References te::da::CreateAdapter(), te::da::GetFirstGeomProperty(), te::da::DataSetTypeConverter::getResult(), te::gm::GeometryProperty::getSRID(), te::da::DataSourceFactory::make(), te::common::ReplaceSpecialChars(), and te::gm::GeometryProperty::setSRID().
|
protectedslot |
Definition at line 581 of file DirectExchangerDialog.cpp.
Referenced by DirectExchangerDialog().
|
protectedslot |
Definition at line 513 of file DirectExchangerDialog.cpp.
Referenced by DirectExchangerDialog().
|
protectedslot |
Definition at line 570 of file DirectExchangerDialog.cpp.
Referenced by DirectExchangerDialog().
|
protectedslot |
Definition at line 562 of file DirectExchangerDialog.cpp.
Referenced by DirectExchangerDialog().
|
protectedslot |
Definition at line 593 of file DirectExchangerDialog.cpp.
Referenced by DirectExchangerDialog().
|
protected |
Set the list of data sources that can be used.
Definition at line 127 of file DirectExchangerDialog.cpp.
References te::common::Singleton< DataSourceInfoManager >::getInstance().
void te::qt::widgets::DirectExchangerDialog::setLastDataSource | ( | std::string | dataSource | ) |
Function used to set the last data source used.
dataSource | Last data source name used |
Definition at line 122 of file DirectExchangerDialog.cpp.
Referenced by te::qt::af::BaseApplication::onToolsDataExchangerDirectTriggered().
void te::qt::widgets::DirectExchangerDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
layers | List of AbstractLayerPtr |
Definition at line 91 of file DirectExchangerDialog.cpp.
Referenced by te::qt::af::BaseApplication::onToolsDataExchangerDirectPopUpTriggered(), and te::qt::af::BaseApplication::onToolsDataExchangerDirectTriggered().
|
protectedslot |
Definition at line 606 of file DirectExchangerDialog.cpp.
Referenced by DirectExchangerDialog().
|
private |
Definition at line 109 of file DirectExchangerDialog.h.
Referenced by DirectExchangerDialog().
|
private |
Definition at line 107 of file DirectExchangerDialog.h.
Referenced by DirectExchangerDialog().
|
private |
Definition at line 103 of file DirectExchangerDialog.h.
|
private |
Definition at line 105 of file DirectExchangerDialog.h.
Referenced by DirectExchangerDialog().
|
private |
Definition at line 101 of file DirectExchangerDialog.h.
Referenced by DirectExchangerDialog().