All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 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::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 83 of file DirectExchangerDialog.cpp.

Member Function Documentation

bool te::qt::widgets::DirectExchangerDialog::exchangeToFile ( )
protected
void te::qt::widgets::DirectExchangerDialog::onDataSoruceToolButtonClicked ( )
protectedslot

Definition at line 410 of file DirectExchangerDialog.cpp.

Referenced by DirectExchangerDialog().

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

Definition at line 342 of file DirectExchangerDialog.cpp.

Referenced by DirectExchangerDialog().

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

Definition at line 399 of file DirectExchangerDialog.cpp.

Referenced by DirectExchangerDialog().

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

Definition at line 391 of file DirectExchangerDialog.cpp.

Referenced by DirectExchangerDialog().

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

Definition at line 419 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 118 of file DirectExchangerDialog.cpp.

References te::common::Singleton< DataSourceInfoManager >::getInstance().

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

Referenced by DirectExchangerDialog().

Member Data Documentation

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

Definition at line 100 of file DirectExchangerDialog.h.

Referenced by DirectExchangerDialog().

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

Definition at line 96 of file DirectExchangerDialog.h.

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

Definition at line 98 of file DirectExchangerDialog.h.

Referenced by DirectExchangerDialog().

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

Definition at line 94 of file DirectExchangerDialog.h.

Referenced by DirectExchangerDialog().


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