te::qt::widgets::DirectExchangerDialog Class Reference

#include <DirectExchangerDialog.h>

Inheritance diagram for te::qt::widgets::DirectExchangerDialog:

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 onOutputLayerSRSTriggered ()
 
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::AbstractLayerPtrm_layers
 
std::string m_outputDataSourceType
 
std::auto_ptr< Ui::DirectExchangerDialogForm > m_ui
 

Detailed Description

Definition at line 49 of file DirectExchangerDialog.h.

Constructor & Destructor Documentation

te::qt::widgets::DirectExchangerDialog::DirectExchangerDialog ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
te::qt::widgets::DirectExchangerDialog::~DirectExchangerDialog ( )

Definition at line 92 of file DirectExchangerDialog.cpp.

Member Function Documentation

void te::qt::widgets::DirectExchangerDialog::onDataSoruceToolButtonClicked ( )
protectedslot

Definition at line 680 of file DirectExchangerDialog.cpp.

Referenced by DirectExchangerDialog().

void te::qt::widgets::DirectExchangerDialog::onDataSourceTypeActivated ( int  index)
protectedslot

Definition at line 587 of file DirectExchangerDialog.cpp.

Referenced by DirectExchangerDialog().

void te::qt::widgets::DirectExchangerDialog::onDirToolButtonClicked ( )
protectedslot

Definition at line 669 of file DirectExchangerDialog.cpp.

Referenced by DirectExchangerDialog().

void te::qt::widgets::DirectExchangerDialog::onInputLayerActivated ( QString  value)
protectedslot

Definition at line 636 of file DirectExchangerDialog.cpp.

References TE_UNKNOWN_SRS.

Referenced by DirectExchangerDialog().

void te::qt::widgets::DirectExchangerDialog::onOkPushButtonClicked ( )
protectedslot

Definition at line 692 of file DirectExchangerDialog.cpp.

References TE_UNKNOWN_SRS.

Referenced by DirectExchangerDialog().

void te::qt::widgets::DirectExchangerDialog::onOutputLayerSRSTriggered ( )
protectedslot
void te::qt::widgets::DirectExchangerDialog::setDataSources ( )
protected

Set the list of data sources that can be used.

Definition at line 132 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.

Parameters
dataSourceLast data source name used

Definition at line 127 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.

Parameters
layersList of AbstractLayerPtr

Definition at line 96 of file DirectExchangerDialog.cpp.

Referenced by te::qt::af::BaseApplication::onToolsDataExchangerDirectPopUpTriggered(), and te::qt::af::BaseApplication::onToolsDataExchangerDirectTriggered().

Member Data Documentation

bool te::qt::widgets::DirectExchangerDialog::m_exchangeToFile
private

Definition at line 111 of file DirectExchangerDialog.h.

Referenced by DirectExchangerDialog().

std::string te::qt::widgets::DirectExchangerDialog::m_lastDsType
private

Definition at line 109 of file DirectExchangerDialog.h.

Referenced by DirectExchangerDialog().

std::list<te::map::AbstractLayerPtr> te::qt::widgets::DirectExchangerDialog::m_layers
private

Definition at line 105 of file DirectExchangerDialog.h.

std::string te::qt::widgets::DirectExchangerDialog::m_outputDataSourceType
private

Definition at line 107 of file DirectExchangerDialog.h.

Referenced by DirectExchangerDialog().

std::auto_ptr<Ui::DirectExchangerDialogForm> te::qt::widgets::DirectExchangerDialog::m_ui
private

Definition at line 103 of file DirectExchangerDialog.h.

Referenced by DirectExchangerDialog().


The documentation for this class was generated from the following files: