#include <MultipartToSinglepartDialog.h>
Public Member Functions | |
| te::map::AbstractLayerPtr | getLayer () |
| Get the generated layer. More... | |
| MultipartToSinglepartDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
| Set the layer that can be used. More... | |
| ~MultipartToSinglepartDialog () | |
Protected Slots | |
| void | onCancelPushButtonClicked () |
| void | onLayerComboBoxChanged (int index) |
| void | onOkPushButtonClicked () |
| void | onTargetDatasourceToolButtonPressed () |
| void | onTargetFileToolButtonPressed () |
Private Attributes | |
| te::map::AbstractLayerPtr | m_layer |
| Generated Layer. More... | |
| std::list< te::map::AbstractLayerPtr > | m_layers |
| List of layers. More... | |
| te::da::DataSourceInfoPtr | m_outputDatasource |
| DataSource information. More... | |
| te::map::AbstractLayerPtr | m_selectedLayer |
| Layer used for operation. More... | |
| bool | m_toFile |
| std::unique_ptr< Ui::MultipartToSinglepartDialogForm > | m_ui |
Definition at line 61 of file MultipartToSinglepartDialog.h.
| te::vp::MultipartToSinglepartDialog::MultipartToSinglepartDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
|
default |
Referenced by Q_DECLARE_METATYPE().
| te::map::AbstractLayerPtr te::vp::MultipartToSinglepartDialog::getLayer | ( | ) |
Get the generated layer.
Definition at line 117 of file MultipartToSinglepartDialog.cpp.
References m_layer.
Referenced by te::qt::plugins::vp::MultipartToSinglepartAction::onActionActivated().
|
protectedslot |
Definition at line 351 of file MultipartToSinglepartDialog.cpp.
|
protectedslot |
Definition at line 122 of file MultipartToSinglepartDialog.cpp.
References m_selectedLayer, and m_ui.
|
protectedslot |
Definition at line 173 of file MultipartToSinglepartDialog.cpp.
References ds, dt, te::core::FileSystem::exists(), te::map::AbstractLayer::getDataSetName(), te::da::GetDataSource(), te::map::AbstractLayer::getDataSourceId(), te::common::Singleton< DataSourceManager >::getInstance(), te::common::Singleton< DataSourceInfoManager >::getInstance(), te::map::DataSetLayer::getSchema(), m_layer, m_outputDatasource, m_selectedLayer, m_toFile, m_ui, te::da::DataSourceFactory::make(), te::vp::MultipartToSinglepart::run(), te::vp::MultipartToSinglepart::setInput(), te::vp::MultipartToSinglepart::setOutput(), and TE_LOG_ERROR.
|
protectedslot |
Definition at line 130 of file MultipartToSinglepartDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds(), m_outputDatasource, m_toFile, and m_ui.
|
protectedslot |
Definition at line 151 of file MultipartToSinglepartDialog.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::MultipartToSinglepartDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
| layers | List of AbstractLayerPtr |
Definition at line 101 of file MultipartToSinglepartDialog.cpp.
References m_layers, and m_ui.
Referenced by te::qt::plugins::vp::MultipartToSinglepartAction::onActionActivated().
|
private |
Generated Layer.
Definition at line 103 of file MultipartToSinglepartDialog.h.
Referenced by getLayer(), and onOkPushButtonClicked().
|
private |
List of layers.
Definition at line 101 of file MultipartToSinglepartDialog.h.
Referenced by setLayers().
|
private |
DataSource information.
Definition at line 100 of file MultipartToSinglepartDialog.h.
Referenced by onOkPushButtonClicked(), and onTargetDatasourceToolButtonPressed().
|
private |
Layer used for operation.
Definition at line 102 of file MultipartToSinglepartDialog.h.
Referenced by onLayerComboBoxChanged(), and onOkPushButtonClicked().
|
private |
Definition at line 104 of file MultipartToSinglepartDialog.h.
Referenced by onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), and onTargetFileToolButtonPressed().
|
private |
Definition at line 99 of file MultipartToSinglepartDialog.h.
Referenced by onLayerComboBoxChanged(), onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), and setLayers().