#include <PolygonToLineDialog.h>
Public Member Functions | |
| te::map::AbstractLayerPtr | getLayer () |
| PolygonToLineDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
| Set the layer that can be used. More... | |
| ~PolygonToLineDialog () | |
Protected Slots | |
| void | onCancelPushButtonClicked () |
| void | onLayerComboBoxChanged (int index) |
| void | onOkPushButtonClicked () |
| void | onTargetDatasourceToolButtonPressed () |
| void | onTargetFileToolButtonPressed () |
Private Attributes | |
| std::list< te::map::AbstractLayerPtr > | m_layers |
| List of layers. More... | |
| te::map::AbstractLayerPtr | m_outLayer |
| Resulting layer. 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::PolygonToLineDialogForm > | m_ui |
Definition at line 55 of file PolygonToLineDialog.h.
| te::vp::PolygonToLineDialog::PolygonToLineDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Definition at line 69 of file PolygonToLineDialog.cpp.
References m_ui, onCancelPushButtonClicked(), onLayerComboBoxChanged(), onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), and ~PolygonToLineDialog().
|
default |
Referenced by PolygonToLineDialog().
| te::map::AbstractLayerPtr te::vp::PolygonToLineDialog::getLayer | ( | ) |
Definition at line 126 of file PolygonToLineDialog.cpp.
References m_outLayer.
Referenced by te::qt::plugins::vp::PolygonToLineAction::onActionActivated().
|
protectedslot |
Definition at line 395 of file PolygonToLineDialog.cpp.
Referenced by PolygonToLineDialog().
|
protectedslot |
Definition at line 131 of file PolygonToLineDialog.cpp.
References m_layers, m_selectedLayer, and m_ui.
Referenced by PolygonToLineDialog().
|
protectedslot |
Definition at line 192 of file PolygonToLineDialog.cpp.
References te::da::AssociateDataSetTypeConverterSRID(), ds, dt, te::core::FileSystem::exists(), te::map::AbstractLayer::getDataSetName(), te::da::GetDataSource(), te::map::AbstractLayer::getDataSourceId(), te::common::Singleton< DataSourceInfoManager >::getInstance(), te::common::Singleton< DataSourceManager >::getInstance(), te::da::DataSourceCapabilities::getQueryCapabilities(), te::map::DataSetLayer::getSchema(), te::map::AbstractLayer::getSRID(), m_outLayer, m_outputDatasource, m_selectedLayer, m_toFile, m_ui, te::da::DataSourceFactory::make(), te::vp::PolygonToLineOp::paramsAreValid(), te::vp::PolygonToLineOp::run(), te::vp::PolygonToLineOp::setInput(), te::vp::PolygonToLineOp::setOutput(), te::da::DataSourceCapabilities::supportsPreparedQueryAPI(), te::da::QueryCapabilities::supportsSpatialSQLDialect(), and TE_LOG_ERROR.
Referenced by PolygonToLineDialog().
|
protectedslot |
Definition at line 150 of file PolygonToLineDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds(), m_outputDatasource, m_toFile, and m_ui.
Referenced by PolygonToLineDialog().
|
protectedslot |
Definition at line 171 of file PolygonToLineDialog.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().
Referenced by PolygonToLineDialog().
| void te::vp::PolygonToLineDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
| layers | List of AbstractLayerPtr |
Definition at line 99 of file PolygonToLineDialog.cpp.
References te::dt::GEOMETRY_TYPE, te::gm::GeometryProperty::getGeometryType(), m_layers, m_ui, te::gm::MultiPolygonMType, te::gm::MultiPolygonType, te::gm::MultiPolygonZMType, te::gm::MultiPolygonZType, te::gm::PolygonMType, te::gm::PolygonType, te::gm::PolygonZMType, and te::gm::PolygonZType.
Referenced by te::qt::plugins::vp::PolygonToLineAction::onActionActivated().
|
private |
List of layers.
Definition at line 90 of file PolygonToLineDialog.h.
Referenced by onLayerComboBoxChanged(), and setLayers().
|
private |
Resulting layer.
Definition at line 92 of file PolygonToLineDialog.h.
Referenced by getLayer(), and onOkPushButtonClicked().
|
private |
DataSource information.
Definition at line 89 of file PolygonToLineDialog.h.
Referenced by onOkPushButtonClicked(), and onTargetDatasourceToolButtonPressed().
|
private |
Layer used for operation.
Definition at line 91 of file PolygonToLineDialog.h.
Referenced by onLayerComboBoxChanged(), and onOkPushButtonClicked().
|
private |
Definition at line 93 of file PolygonToLineDialog.h.
Referenced by onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), and onTargetFileToolButtonPressed().
|
private |
Definition at line 88 of file PolygonToLineDialog.h.
Referenced by onLayerComboBoxChanged(), onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), PolygonToLineDialog(), and setLayers().