All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::addressgeocoding::MainWindowDialog Class Reference

#include <MainWindowDialog.h>

Inheritance diagram for te::addressgeocoding::MainWindowDialog:

Public Member Functions

te::map::AbstractLayerPtr getLayer ()
 Get the generated layer. More...
 
 MainWindowDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 
void setLayers (std::list< te::map::AbstractLayerPtr > layers)
 Set the layer that can be used. More...
 
 ~MainWindowDialog ()
 

Protected Slots

void onAddressComboBoxChanged (int index)
 
void onCancelPushButtonClicked ()
 
void onConfigureLayerClicked ()
 
void onEditAddressToolButtonPressed ()
 
void onFinalLeftComboBoxChanged (int index)
 
void onFinalRightComboBoxChanged (int index)
 
void onHelpPushButtonClicked ()
 
void onInitialLeftComboBoxChanged (int index)
 
void onInitialRightComboBoxChanged (int index)
 
void onLayerComboBoxChanged (int index)
 
void onOkPushButtonClicked ()
 
void onRemoveAddressToolButtonPressed ()
 
void onTargetDatasourceToolButtonPressed ()
 
void onTargetFileAddressToolButtonPressed ()
 
void onTargetFileToolButtonPressed ()
 

Private Member Functions

void GetAddressDataSource (std::string fileName)
 
void GetAddressFilePathToSettings (std::map< std::string, std::vector< std::string > > &mapFields)
 

Private Attributes

te::da::DataSourcePtr m_addressDataSource
 
std::string m_addressFile
 
std::vector< std::string > m_associatedProps
 
std::string m_finalLeft
 
std::string m_finalRight
 
std::string m_initialLeft
 
std::string m_initialRight
 
te::da::DataSourcePtr m_layerDataSource
 
std::list
< te::map::AbstractLayerPtr
m_layers
 List of layers. More...
 
std::map< std::string,
std::vector< std::string > > 
m_mapFields
 
te::map::AbstractLayerPtr m_newColumnLayer
 Layer used for tsVector column. More...
 
te::da::DataSourceInfoPtr m_outputDatasource
 DataSource information. More...
 
std::vector< te::dt::Property * > m_properties
 Properties related to the selected Layer. More...
 
te::map::AbstractLayerPtr m_resultLayer
 Generated Layer. More...
 
te::map::AbstractLayerPtr m_selectedLayer
 List of layers. More...
 
std::string m_streetNumber
 
bool m_toFile
 
std::auto_ptr
< Ui::MainWindowDialogForm > 
m_ui
 

Detailed Description

Definition at line 53 of file MainWindowDialog.h.

Constructor & Destructor Documentation

te::addressgeocoding::MainWindowDialog::~MainWindowDialog ( )

Definition at line 114 of file MainWindowDialog.cpp.

Member Function Documentation

void te::addressgeocoding::MainWindowDialog::GetAddressDataSource ( std::string  fileName)
private
void te::addressgeocoding::MainWindowDialog::GetAddressFilePathToSettings ( std::map< std::string, std::vector< std::string > > &  mapFields)
private

Definition at line 609 of file MainWindowDialog.cpp.

Referenced by MainWindowDialog().

te::map::AbstractLayerPtr te::addressgeocoding::MainWindowDialog::getLayer ( )

Get the generated layer.

Returns
the generated layer.

Definition at line 139 of file MainWindowDialog.cpp.

Referenced by te::qt::plugins::addressgeocoding::Plugin::onActionActivated().

void te::addressgeocoding::MainWindowDialog::onAddressComboBoxChanged ( int  index)
protectedslot

Definition at line 229 of file MainWindowDialog.cpp.

Referenced by MainWindowDialog().

void te::addressgeocoding::MainWindowDialog::onCancelPushButtonClicked ( )
protectedslot

Definition at line 604 of file MainWindowDialog.cpp.

Referenced by MainWindowDialog().

void te::addressgeocoding::MainWindowDialog::onConfigureLayerClicked ( )
protectedslot
void te::addressgeocoding::MainWindowDialog::onFinalLeftComboBoxChanged ( int  index)
protectedslot

Definition at line 199 of file MainWindowDialog.cpp.

Referenced by MainWindowDialog().

void te::addressgeocoding::MainWindowDialog::onFinalRightComboBoxChanged ( int  index)
protectedslot

Definition at line 209 of file MainWindowDialog.cpp.

Referenced by MainWindowDialog().

void te::addressgeocoding::MainWindowDialog::onHelpPushButtonClicked ( )
protectedslot

Definition at line 422 of file MainWindowDialog.cpp.

Referenced by MainWindowDialog().

void te::addressgeocoding::MainWindowDialog::onInitialLeftComboBoxChanged ( int  index)
protectedslot

Definition at line 194 of file MainWindowDialog.cpp.

Referenced by MainWindowDialog().

void te::addressgeocoding::MainWindowDialog::onInitialRightComboBoxChanged ( int  index)
protectedslot

Definition at line 204 of file MainWindowDialog.cpp.

Referenced by MainWindowDialog().

void te::addressgeocoding::MainWindowDialog::onLayerComboBoxChanged ( int  index)
protectedslot
void te::addressgeocoding::MainWindowDialog::onRemoveAddressToolButtonPressed ( )
protectedslot

Definition at line 368 of file MainWindowDialog.cpp.

Referenced by MainWindowDialog().

void te::addressgeocoding::MainWindowDialog::onTargetDatasourceToolButtonPressed ( )
protectedslot
void te::addressgeocoding::MainWindowDialog::onTargetFileToolButtonPressed ( )
protectedslot

Definition at line 401 of file MainWindowDialog.cpp.

Referenced by MainWindowDialog().

void te::addressgeocoding::MainWindowDialog::setLayers ( std::list< te::map::AbstractLayerPtr layers)

Set the layer that can be used.

Parameters
layersList of AbstractLayerPtr

Definition at line 118 of file MainWindowDialog.cpp.

Referenced by te::qt::plugins::addressgeocoding::Plugin::onActionActivated().

Member Data Documentation

te::da::DataSourcePtr te::addressgeocoding::MainWindowDialog::m_addressDataSource
private

Definition at line 129 of file MainWindowDialog.h.

std::string te::addressgeocoding::MainWindowDialog::m_addressFile
private

Definition at line 131 of file MainWindowDialog.h.

std::vector<std::string> te::addressgeocoding::MainWindowDialog::m_associatedProps
private

Definition at line 132 of file MainWindowDialog.h.

std::string te::addressgeocoding::MainWindowDialog::m_finalLeft
private

Definition at line 125 of file MainWindowDialog.h.

std::string te::addressgeocoding::MainWindowDialog::m_finalRight
private

Definition at line 127 of file MainWindowDialog.h.

std::string te::addressgeocoding::MainWindowDialog::m_initialLeft
private

Definition at line 124 of file MainWindowDialog.h.

std::string te::addressgeocoding::MainWindowDialog::m_initialRight
private

Definition at line 126 of file MainWindowDialog.h.

te::da::DataSourcePtr te::addressgeocoding::MainWindowDialog::m_layerDataSource
private

Definition at line 118 of file MainWindowDialog.h.

std::list<te::map::AbstractLayerPtr> te::addressgeocoding::MainWindowDialog::m_layers
private

List of layers.

Definition at line 116 of file MainWindowDialog.h.

std::map<std::string, std::vector<std::string> > te::addressgeocoding::MainWindowDialog::m_mapFields
private

Definition at line 130 of file MainWindowDialog.h.

Referenced by MainWindowDialog().

te::map::AbstractLayerPtr te::addressgeocoding::MainWindowDialog::m_newColumnLayer
private

Layer used for tsVector column.

Definition at line 119 of file MainWindowDialog.h.

te::da::DataSourceInfoPtr te::addressgeocoding::MainWindowDialog::m_outputDatasource
private

DataSource information.

Definition at line 121 of file MainWindowDialog.h.

std::vector<te::dt::Property*> te::addressgeocoding::MainWindowDialog::m_properties
private

Properties related to the selected Layer.

Definition at line 120 of file MainWindowDialog.h.

te::map::AbstractLayerPtr te::addressgeocoding::MainWindowDialog::m_resultLayer
private

Generated Layer.

Definition at line 122 of file MainWindowDialog.h.

te::map::AbstractLayerPtr te::addressgeocoding::MainWindowDialog::m_selectedLayer
private

List of layers.

Definition at line 117 of file MainWindowDialog.h.

std::string te::addressgeocoding::MainWindowDialog::m_streetNumber
private

Definition at line 133 of file MainWindowDialog.h.

bool te::addressgeocoding::MainWindowDialog::m_toFile
private

Definition at line 135 of file MainWindowDialog.h.

std::auto_ptr<Ui::MainWindowDialogForm> te::addressgeocoding::MainWindowDialog::m_ui
private

Definition at line 115 of file MainWindowDialog.h.

Referenced by MainWindowDialog().


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