All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 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
 

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 87 of file DirectExchangerDialog.cpp.

Member Function Documentation

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

Definition at line 581 of file DirectExchangerDialog.cpp.

Referenced by DirectExchangerDialog().

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

Definition at line 513 of file DirectExchangerDialog.cpp.

Referenced by DirectExchangerDialog().

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

Definition at line 570 of file DirectExchangerDialog.cpp.

Referenced by DirectExchangerDialog().

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

Definition at line 562 of file DirectExchangerDialog.cpp.

Referenced by DirectExchangerDialog().

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

Definition at line 593 of file DirectExchangerDialog.cpp.

Referenced by DirectExchangerDialog().

void te::qt::widgets::DirectExchangerDialog::setDataSources ( )
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.

Parameters
dataSourceLast 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.

Parameters
layersList of AbstractLayerPtr

Definition at line 91 of file DirectExchangerDialog.cpp.

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

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

Definition at line 606 of file DirectExchangerDialog.cpp.

Referenced by DirectExchangerDialog().

Member Data Documentation

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

Definition at line 109 of file DirectExchangerDialog.h.

Referenced by DirectExchangerDialog().

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

Definition at line 107 of file DirectExchangerDialog.h.

Referenced by DirectExchangerDialog().

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

Definition at line 103 of file DirectExchangerDialog.h.

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

Definition at line 105 of file DirectExchangerDialog.h.

Referenced by DirectExchangerDialog().

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

Definition at line 101 of file DirectExchangerDialog.h.

Referenced by DirectExchangerDialog().


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