#include <MainWindowDialog.h>
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 | 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 |
Definition at line 53 of file MainWindowDialog.h.
te::addressgeocoding::MainWindowDialog::MainWindowDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 67 of file MainWindowDialog.cpp.
References GetAddressFilePathToSettings(), m_mapFields, m_ui, onAddressComboBoxChanged(), onCancelPushButtonClicked(), onConfigureLayerClicked(), onEditAddressToolButtonPressed(), onFinalLeftComboBoxChanged(), onFinalRightComboBoxChanged(), onInitialLeftComboBoxChanged(), onInitialRightComboBoxChanged(), onLayerComboBoxChanged(), onOkPushButtonClicked(), onRemoveAddressToolButtonPressed(), onTargetDatasourceToolButtonPressed(), onTargetFileAddressToolButtonPressed(), and onTargetFileToolButtonPressed().
te::addressgeocoding::MainWindowDialog::~MainWindowDialog | ( | ) |
Definition at line 116 of file MainWindowDialog.cpp.
|
private |
Definition at line 639 of file MainWindowDialog.cpp.
References te::qt::widgets::AddFilePathToSettings(), te::common::Singleton< DataSourceInfoManager >::getInstance(), and te::da::DataSourceFactory::make().
|
private |
Definition at line 606 of file MainWindowDialog.cpp.
Referenced by MainWindowDialog().
te::map::AbstractLayerPtr te::addressgeocoding::MainWindowDialog::getLayer | ( | ) |
Get the generated layer.
Definition at line 141 of file MainWindowDialog.cpp.
Referenced by te::qt::plugins::addressgeocoding::Plugin::onActionActivated().
|
protectedslot |
Definition at line 231 of file MainWindowDialog.cpp.
Referenced by MainWindowDialog().
|
protectedslot |
Definition at line 601 of file MainWindowDialog.cpp.
Referenced by MainWindowDialog().
|
protectedslot |
Definition at line 216 of file MainWindowDialog.cpp.
References te::addressgeocoding::ConfigInputLayerDialog::getDataSource(), te::addressgeocoding::ConfigInputLayerDialog::getLayer(), and te::addressgeocoding::ConfigInputLayerDialog::setLayers().
Referenced by MainWindowDialog().
|
protectedslot |
Definition at line 318 of file MainWindowDialog.cpp.
References te::addressgeocoding::ConfigInputAddressDialog::getAddressFileName(), te::addressgeocoding::ConfigInputAddressDialog::getDataSource(), te::addressgeocoding::ConfigInputAddressDialog::getStreetName(), te::addressgeocoding::ConfigInputAddressDialog::getStreetNeighborhood(), te::addressgeocoding::ConfigInputAddressDialog::getStreetNumber(), te::addressgeocoding::ConfigInputAddressDialog::getStreetPostalCode(), te::addressgeocoding::ConfigInputAddressDialog::getStreetTitle(), te::addressgeocoding::ConfigInputAddressDialog::getStreetType(), te::addressgeocoding::ConfigInputAddressDialog::setDataSource(), te::addressgeocoding::ConfigInputAddressDialog::setStreetName(), te::addressgeocoding::ConfigInputAddressDialog::setStreetNeighborhood(), te::addressgeocoding::ConfigInputAddressDialog::setStreetNumber(), te::addressgeocoding::ConfigInputAddressDialog::setStreetPostalCode(), te::addressgeocoding::ConfigInputAddressDialog::setStreetTitle(), and te::addressgeocoding::ConfigInputAddressDialog::setStreetType().
Referenced by MainWindowDialog().
|
protectedslot |
Definition at line 201 of file MainWindowDialog.cpp.
Referenced by MainWindowDialog().
|
protectedslot |
Definition at line 211 of file MainWindowDialog.cpp.
Referenced by MainWindowDialog().
|
protectedslot |
Definition at line 196 of file MainWindowDialog.cpp.
Referenced by MainWindowDialog().
|
protectedslot |
Definition at line 206 of file MainWindowDialog.cpp.
Referenced by MainWindowDialog().
|
protectedslot |
Definition at line 146 of file MainWindowDialog.cpp.
References te::dt::DOUBLE_TYPE, te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::INT64_TYPE, and te::dt::NUMERIC_TYPE.
Referenced by MainWindowDialog().
|
protectedslot |
Definition at line 424 of file MainWindowDialog.cpp.
References te::da::GetDataSource(), te::map::DataSetLayer::getDataSourceId(), te::common::Singleton< DataSourceInfoManager >::getInstance(), te::common::Singleton< DataSourceManager >::getInstance(), te::da::DataSourceFactory::make(), te::addressgeocoding::AddressGeocodingOp::paramsAreValid(), te::addressgeocoding::AddressGeocodingOp::run(), te::addressgeocoding::AddressGeocodingOp::setInput(), te::addressgeocoding::AddressGeocodingOp::setNumAttributes(), te::addressgeocoding::AddressGeocodingOp::setOutput(), and te::addressgeocoding::AddressGeocodingOp::setParams().
Referenced by MainWindowDialog().
|
protectedslot |
Definition at line 370 of file MainWindowDialog.cpp.
Referenced by MainWindowDialog().
|
protectedslot |
Definition at line 382 of file MainWindowDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds().
Referenced by MainWindowDialog().
|
protectedslot |
Definition at line 268 of file MainWindowDialog.cpp.
References te::addressgeocoding::ConfigInputAddressDialog::getAddressFileName(), te::addressgeocoding::ConfigInputAddressDialog::getDataSource(), te::qt::widgets::GetFilePathFromSettings(), te::addressgeocoding::ConfigInputAddressDialog::getStreetName(), te::addressgeocoding::ConfigInputAddressDialog::getStreetNeighborhood(), te::addressgeocoding::ConfigInputAddressDialog::getStreetNumber(), te::addressgeocoding::ConfigInputAddressDialog::getStreetPostalCode(), te::addressgeocoding::ConfigInputAddressDialog::getStreetTitle(), te::addressgeocoding::ConfigInputAddressDialog::getStreetType(), and te::addressgeocoding::ConfigInputAddressDialog::setDataSource().
Referenced by MainWindowDialog().
|
protectedslot |
Definition at line 403 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.
layers | List of AbstractLayerPtr |
Definition at line 120 of file MainWindowDialog.cpp.
Referenced by te::qt::plugins::addressgeocoding::Plugin::onActionActivated().
|
private |
Definition at line 127 of file MainWindowDialog.h.
|
private |
Definition at line 129 of file MainWindowDialog.h.
|
private |
Definition at line 130 of file MainWindowDialog.h.
|
private |
Definition at line 123 of file MainWindowDialog.h.
|
private |
Definition at line 125 of file MainWindowDialog.h.
|
private |
Definition at line 122 of file MainWindowDialog.h.
|
private |
Definition at line 124 of file MainWindowDialog.h.
|
private |
Definition at line 116 of file MainWindowDialog.h.
|
private |
List of layers.
Definition at line 114 of file MainWindowDialog.h.
|
private |
Definition at line 128 of file MainWindowDialog.h.
Referenced by MainWindowDialog().
|
private |
Layer used for tsVector column.
Definition at line 117 of file MainWindowDialog.h.
|
private |
DataSource information.
Definition at line 119 of file MainWindowDialog.h.
|
private |
Properties related to the selected Layer.
Definition at line 118 of file MainWindowDialog.h.
|
private |
Generated Layer.
Definition at line 120 of file MainWindowDialog.h.
|
private |
List of layers.
Definition at line 115 of file MainWindowDialog.h.
|
private |
Definition at line 131 of file MainWindowDialog.h.
|
private |
Definition at line 133 of file MainWindowDialog.h.
|
private |
Definition at line 113 of file MainWindowDialog.h.
Referenced by MainWindowDialog().