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

#include <DirectExchangerDialog.h>

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

Public Types

enum  EnumDataSourceType { GDAL, ORG, VECTOR, POSTGIS }
 

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, te::map::AbstractLayerPtr currentLayer=te::map::AbstractLayerPtr())
 Set the layer that can be used. More...
 
 ~DirectExchangerDialog ()
 

Protected Slots

void onDataSoruceToolButtonClicked ()
 
void onDataSourceTypeActivated (int index)
 
void onDirToolButtonClicked ()
 
void onInputLayerActivated (int index)
 
void onOkPushButtonClicked ()
 
void onOutputLayerSRSTriggered ()
 
void setOutputDataSources ()
 

Protected Member Functions

bool exchangeToDatabase ()
 
bool exchangeToFile ()
 
bool exchangeToRasterFile ()
 
void exchangeTypeChanged ()
 
void setDataSources ()
 Set the list of data sources that can be used. More...
 

Private Attributes

te::map::AbstractLayerPtr m_currentLayer
 
bool m_exchangeToFile
 
bool m_exchangeToRasterFile
 
std::string m_lastDsType
 
std::list< te::map::AbstractLayerPtrm_layers
 
std::string m_outputDataSourceType
 
std::unique_ptr< Ui::DirectExchangerDialogForm > m_ui
 

Detailed Description

Definition at line 51 of file DirectExchangerDialog.h.

Member Enumeration Documentation

◆ EnumDataSourceType

Enumerator
GDAL 
ORG 
VECTOR 
POSTGIS 

Definition at line 57 of file DirectExchangerDialog.h.

Constructor & Destructor Documentation

◆ DirectExchangerDialog()

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

◆ ~DirectExchangerDialog()

te::qt::widgets::DirectExchangerDialog::~DirectExchangerDialog ( )

Member Function Documentation

◆ exchangeToDatabase()

bool te::qt::widgets::DirectExchangerDialog::exchangeToDatabase ( )
protected

◆ exchangeToFile()

bool te::qt::widgets::DirectExchangerDialog::exchangeToFile ( )
protected

◆ exchangeToRasterFile()

bool te::qt::widgets::DirectExchangerDialog::exchangeToRasterFile ( )
protected

◆ exchangeTypeChanged()

void te::qt::widgets::DirectExchangerDialog::exchangeTypeChanged ( )
protected

◆ onDataSoruceToolButtonClicked

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

◆ onDataSourceTypeActivated

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

◆ onDirToolButtonClicked

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

◆ onInputLayerActivated

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

◆ onOkPushButtonClicked

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

◆ onOutputLayerSRSTriggered

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

◆ setDataSources()

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

Set the list of data sources that can be used.

◆ setLastDataSource()

void te::qt::widgets::DirectExchangerDialog::setLastDataSource ( std::string  dataSource)

Function used to set the last data source used.

Parameters
dataSourceLast data source name used

◆ setLayers()

void te::qt::widgets::DirectExchangerDialog::setLayers ( std::list< te::map::AbstractLayerPtr layers,
te::map::AbstractLayerPtr  currentLayer = te::map::AbstractLayerPtr() 
)

Set the layer that can be used.

Parameters
layersList of AbstractLayerPtr

◆ setOutputDataSources

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

Member Data Documentation

◆ m_currentLayer

te::map::AbstractLayerPtr te::qt::widgets::DirectExchangerDialog::m_currentLayer
private

Definition at line 129 of file DirectExchangerDialog.h.

◆ m_exchangeToFile

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

Definition at line 125 of file DirectExchangerDialog.h.

◆ m_exchangeToRasterFile

bool te::qt::widgets::DirectExchangerDialog::m_exchangeToRasterFile
private

Definition at line 127 of file DirectExchangerDialog.h.

◆ m_lastDsType

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

Definition at line 123 of file DirectExchangerDialog.h.

◆ m_layers

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

Definition at line 119 of file DirectExchangerDialog.h.

◆ m_outputDataSourceType

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

Definition at line 121 of file DirectExchangerDialog.h.

◆ m_ui

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

Definition at line 117 of file DirectExchangerDialog.h.


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