#include <ConfigInputLayerDialog.h>
Public Member Functions | |
| ConfigInputLayerDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| te::da::DataSourcePtr | getDataSource () |
| te::map::AbstractLayerPtr | getLayer () |
| void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
| Set the layer that can be used. More... | |
| ~ConfigInputLayerDialog () | |
Protected Slots | |
| void | onCancelPushButtonClicked () |
| void | onHelpPushButtonClicked () |
| void | onInputLayerComboBoxChanged (int index) |
| void | onNumberPushButtonClicked () |
| void | onOkPushButtonClicked () |
Private Attributes | |
| te::da::DataSourcePtr | m_dataSource |
| std::list< te::map::AbstractLayerPtr > | m_layers |
| List of layers. More... | |
| te::map::AbstractLayerPtr | m_selectedLayer |
| Layer used for address geocoding. More... | |
| std::vector< std::string > | m_selectedProps |
| Selected properties related to the selected Layer. More... | |
| std::unique_ptr< Ui::ConfigInputLayerDialogForm > | m_ui |
| std::unique_ptr< te::qt::widgets::DoubleListWidget > | m_widget |
Definition at line 53 of file ConfigInputLayerDialog.h.
| te::addressgeocoding::ConfigInputLayerDialog::ConfigInputLayerDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Definition at line 70 of file ConfigInputLayerDialog.cpp.
References m_ui, m_widget, onCancelPushButtonClicked(), onHelpPushButtonClicked(), onInputLayerComboBoxChanged(), and onOkPushButtonClicked().
| te::addressgeocoding::ConfigInputLayerDialog::~ConfigInputLayerDialog | ( | ) |
Definition at line 96 of file ConfigInputLayerDialog.cpp.
| te::da::DataSourcePtr te::addressgeocoding::ConfigInputLayerDialog::getDataSource | ( | ) |
Definition at line 127 of file ConfigInputLayerDialog.cpp.
References m_dataSource.
Referenced by te::addressgeocoding::MainWindowDialog::onConfigureLayerClicked().
| te::map::AbstractLayerPtr te::addressgeocoding::ConfigInputLayerDialog::getLayer | ( | ) |
Definition at line 122 of file ConfigInputLayerDialog.cpp.
References m_selectedLayer.
Referenced by te::addressgeocoding::MainWindowDialog::onConfigureLayerClicked().
|
protectedslot |
Definition at line 257 of file ConfigInputLayerDialog.cpp.
Referenced by ConfigInputLayerDialog().
|
protectedslot |
Definition at line 177 of file ConfigInputLayerDialog.cpp.
Referenced by ConfigInputLayerDialog().
|
protectedslot |
Definition at line 132 of file ConfigInputLayerDialog.cpp.
References te::dt::GEOMETRY_TYPE, m_layers, m_selectedLayer, m_ui, and m_widget.
Referenced by ConfigInputLayerDialog().
|
protectedslot |
Definition at line 161 of file ConfigInputLayerDialog.cpp.
References m_selectedLayer, and te::addressgeocoding::ConfigNumberDialog::setLayer().
|
protectedslot |
Definition at line 182 of file ConfigInputLayerDialog.cpp.
References te::da::GetDataSource(), te::map::AbstractLayer::getDataSourceId(), m_dataSource, m_selectedLayer, m_selectedProps, and m_widget.
Referenced by ConfigInputLayerDialog().
| void te::addressgeocoding::ConfigInputLayerDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
| layers | List of AbstractLayerPtr |
Definition at line 100 of file ConfigInputLayerDialog.cpp.
References te::da::GetFirstGeomProperty(), te::gm::GeometryProperty::getGeometryType(), te::gm::LineStringType, m_layers, m_ui, and te::gm::MultiLineStringType.
Referenced by te::addressgeocoding::MainWindowDialog::onConfigureLayerClicked().
|
private |
Definition at line 91 of file ConfigInputLayerDialog.h.
Referenced by getDataSource(), and onOkPushButtonClicked().
|
private |
List of layers.
Definition at line 90 of file ConfigInputLayerDialog.h.
Referenced by onInputLayerComboBoxChanged(), and setLayers().
|
private |
Layer used for address geocoding.
Definition at line 92 of file ConfigInputLayerDialog.h.
Referenced by getLayer(), onInputLayerComboBoxChanged(), onNumberPushButtonClicked(), and onOkPushButtonClicked().
|
private |
Selected properties related to the selected Layer.
Definition at line 93 of file ConfigInputLayerDialog.h.
Referenced by onOkPushButtonClicked().
|
private |
Definition at line 88 of file ConfigInputLayerDialog.h.
Referenced by ConfigInputLayerDialog(), onInputLayerComboBoxChanged(), and setLayers().
|
private |
Definition at line 89 of file ConfigInputLayerDialog.h.
Referenced by ConfigInputLayerDialog(), onInputLayerComboBoxChanged(), and onOkPushButtonClicked().