A dialog used to execute vector identity. More...
#include <IdentityDialog.h>
Classes | |
| struct | DataStruct |
Public Member Functions | |
| te::map::AbstractLayerPtr | getLayer () |
| std::vector< std::string > | getWarnings () |
| IdentityDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
| Set the layer that can be used. More... | |
| ~IdentityDialog () | |
Protected Slots | |
| void | onCancelPushButtonClicked () |
| void | onInputLayerComboBoxChanged (int index) |
| void | onIntersectionLayerComboBoxChanged (int index) |
| void | onOkPushButtonClicked () |
| void | onTargetDatasourceToolButtonPressed () |
| void | onTargetFileToolButtonPressed () |
Protected Member Functions | |
| std::map< int, std::vector< std::string > > | getSelectedProperties () |
| void | updateDoubleListWidget () |
| void | updateInputLayerComboBox () |
| void | updateIntersectionLayerComboBox () |
Private Attributes | |
| std::unique_ptr< te::qt::widgets::DoubleInputListWidget > | m_inputDoubleInputListWidget |
| std::vector< te::vp::InputParams > | m_inputParams |
| A vector of input parameters. More... | |
| te::map::AbstractLayerPtr | m_inputSelectedLayer |
| Input layer selected. More... | |
| te::map::AbstractLayerPtr | m_intersectionSelectedLayer |
| Identity layer selected. More... | |
| te::map::AbstractLayerPtr | m_layerResult |
| Generated Layer. More... | |
| std::list< te::map::AbstractLayerPtr > | m_layers |
| The vector layers in Layer Explorer. More... | |
| te::da::DataSourceInfoPtr | m_outputDatasource |
| DataSource information. More... | |
| te::vp::AlgorithmParams * | m_params |
| Algorithm parameters. More... | |
| bool | m_toFile |
| The result is in a file? More... | |
| std::unique_ptr< Ui::IdentityDialogForm > | m_ui |
| std::vector< std::string > | m_warnings |
| Warnings during the operation. More... | |
A dialog used to execute vector identity.
Definition at line 63 of file IdentityDialog.h.
| te::vp::IdentityDialog::IdentityDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
|
default |
Referenced by Q_DECLARE_METATYPE().
| te::map::AbstractLayerPtr te::vp::IdentityDialog::getLayer | ( | ) |
Definition at line 141 of file IdentityDialog.cpp.
References m_layerResult.
Referenced by te::qt::plugins::vp::IdentityAction::onActionActivated().
|
protected |
Definition at line 152 of file IdentityDialog.cpp.
References m_inputDoubleInputListWidget.
Referenced by onOkPushButtonClicked().
| std::vector< std::string > te::vp::IdentityDialog::getWarnings | ( | ) |
Definition at line 146 of file IdentityDialog.cpp.
References m_warnings.
Referenced by te::qt::plugins::vp::IdentityAction::onActionActivated().
|
protectedslot |
Definition at line 681 of file IdentityDialog.cpp.
|
protectedslot |
Definition at line 287 of file IdentityDialog.cpp.
References m_inputDoubleInputListWidget, m_inputSelectedLayer, m_ui, updateDoubleListWidget(), and updateIntersectionLayerComboBox().
Referenced by updateInputLayerComboBox().
|
protectedslot |
Definition at line 302 of file IdentityDialog.cpp.
References m_inputDoubleInputListWidget, m_intersectionSelectedLayer, m_ui, and updateDoubleListWidget().
Referenced by updateIntersectionLayerComboBox().
|
protectedslot |
Definition at line 358 of file IdentityDialog.cpp.
References te::common::Convert2LCase(), ds, dt, te::vp::Identity::executeMemory(), te::core::FileSystem::exists(), te::da::GetDataSource(), te::vp::GetDataStructFromLayer(), te::common::Singleton< DataSourceInfoManager >::getInstance(), te::common::Singleton< DataSourceManager >::getInstance(), getSelectedProperties(), te::vp::DataStruct::m_dataSet, te::vp::DataStruct::m_dataSetType, te::vp::InputParams::m_inputDataSet, te::vp::InputParams::m_inputDataSetType, te::vp::InputParams::m_inputDataSource, m_inputParams, m_inputSelectedLayer, m_intersectionSelectedLayer, m_layerResult, m_outputDatasource, m_params, m_toFile, m_ui, te::da::DataSourceFactory::make(), te::vp::AlgorithmParams::setInputParams(), te::vp::AlgorithmParams::setOutputDataSetName(), te::vp::AlgorithmParams::setOutputDataSource(), te::vp::AlgorithmParams::setSpecificParams(), TE_LOG_ERROR, and TE_UNKNOWN_SRS.
|
protectedslot |
Definition at line 315 of file IdentityDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds(), m_outputDatasource, m_toFile, and m_ui.
|
protectedslot |
Definition at line 336 of file IdentityDialog.cpp.
References te::qt::widgets::FileDialog::exec(), te::qt::widgets::FileDialog::getFileName(), te::qt::widgets::FileDialog::getPath(), m_toFile, m_ui, te::qt::widgets::FileDialog::VECTOR, and te::common::Exception::what().
| void te::vp::IdentityDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
| layers | List of AbstractLayerPtr |
Definition at line 118 of file IdentityDialog.cpp.
References m_layers, updateDoubleListWidget(), updateInputLayerComboBox(), and updateIntersectionLayerComboBox().
Referenced by te::qt::plugins::vp::IdentityAction::onActionActivated().
|
protected |
Definition at line 240 of file IdentityDialog.cpp.
References te::dt::GEOMETRY_TYPE, m_inputDoubleInputListWidget, m_inputSelectedLayer, and m_intersectionSelectedLayer.
Referenced by onInputLayerComboBoxChanged(), onIntersectionLayerComboBoxChanged(), and setLayers().
|
protected |
Definition at line 187 of file IdentityDialog.cpp.
References m_inputSelectedLayer, m_layers, m_ui, and onInputLayerComboBoxChanged().
Referenced by setLayers().
|
protected |
Definition at line 211 of file IdentityDialog.cpp.
References m_intersectionSelectedLayer, m_layers, m_ui, and onIntersectionLayerComboBoxChanged().
Referenced by onInputLayerComboBoxChanged(), and setLayers().
|
private |
Definition at line 137 of file IdentityDialog.h.
Referenced by getSelectedProperties(), onInputLayerComboBoxChanged(), onIntersectionLayerComboBoxChanged(), and updateDoubleListWidget().
|
private |
A vector of input parameters.
Definition at line 127 of file IdentityDialog.h.
Referenced by onOkPushButtonClicked().
|
private |
Input layer selected.
Definition at line 124 of file IdentityDialog.h.
Referenced by onInputLayerComboBoxChanged(), onOkPushButtonClicked(), updateDoubleListWidget(), and updateInputLayerComboBox().
|
private |
Identity layer selected.
Definition at line 125 of file IdentityDialog.h.
Referenced by onIntersectionLayerComboBoxChanged(), onOkPushButtonClicked(), updateDoubleListWidget(), and updateIntersectionLayerComboBox().
|
private |
Generated Layer.
Definition at line 131 of file IdentityDialog.h.
Referenced by getLayer(), and onOkPushButtonClicked().
|
private |
The vector layers in Layer Explorer.
Definition at line 123 of file IdentityDialog.h.
Referenced by setLayers(), updateInputLayerComboBox(), and updateIntersectionLayerComboBox().
|
private |
DataSource information.
Definition at line 130 of file IdentityDialog.h.
Referenced by onOkPushButtonClicked(), and onTargetDatasourceToolButtonPressed().
|
private |
Algorithm parameters.
Definition at line 128 of file IdentityDialog.h.
Referenced by onOkPushButtonClicked().
|
private |
The result is in a file?
Definition at line 133 of file IdentityDialog.h.
Referenced by onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), and onTargetFileToolButtonPressed().
|
private |
Definition at line 122 of file IdentityDialog.h.
Referenced by onInputLayerComboBoxChanged(), onIntersectionLayerComboBoxChanged(), onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), updateInputLayerComboBox(), and updateIntersectionLayerComboBox().
|
private |
Warnings during the operation.
Definition at line 134 of file IdentityDialog.h.
Referenced by getWarnings().