#include <LineToPolygonDialog.h>
Public Member Functions | |
| te::map::AbstractLayerPtr | getLayer () |
| LineToPolygonDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| void | setLayers (std::list< te::map::AbstractLayerPtr > layers) |
| Set the layer that can be used. More... | |
| ~LineToPolygonDialog () | |
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::LineToPolygonDialogForm > | m_ui |
Definition at line 55 of file LineToPolygonDialog.h.
| te::vp::LineToPolygonDialog::LineToPolygonDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Definition at line 68 of file LineToPolygonDialog.cpp.
References m_ui, onCancelPushButtonClicked(), onLayerComboBoxChanged(), onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), and ~LineToPolygonDialog().
|
default |
Referenced by LineToPolygonDialog().
| te::map::AbstractLayerPtr te::vp::LineToPolygonDialog::getLayer | ( | ) |
Definition at line 125 of file LineToPolygonDialog.cpp.
References m_outLayer.
Referenced by te::qt::plugins::vp::LineToPolygonAction::onActionActivated().
|
protectedslot |
Definition at line 396 of file LineToPolygonDialog.cpp.
Referenced by LineToPolygonDialog().
|
protectedslot |
Definition at line 130 of file LineToPolygonDialog.cpp.
References m_layers, m_selectedLayer, and m_ui.
Referenced by LineToPolygonDialog().
|
protectedslot |
Definition at line 192 of file LineToPolygonDialog.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< DataSourceManager >::getInstance(), te::common::Singleton< DataSourceInfoManager >::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::LineToPolygonOp::paramsAreValid(), te::vp::LineToPolygonOp::run(), te::vp::LineToPolygonOp::setInput(), te::vp::LineToPolygonOp::setOutput(), te::vp::LineToPolygonOp::setParams(), te::da::DataSourceCapabilities::supportsPreparedQueryAPI(), te::da::QueryCapabilities::supportsSpatialSQLDialect(), and TE_LOG_ERROR.
Referenced by LineToPolygonDialog().
|
protectedslot |
Definition at line 149 of file LineToPolygonDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds(), m_outputDatasource, m_toFile, and m_ui.
Referenced by LineToPolygonDialog().
|
protectedslot |
Definition at line 170 of file LineToPolygonDialog.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 LineToPolygonDialog().
| void te::vp::LineToPolygonDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Set the layer that can be used.
| layers | List of AbstractLayerPtr |
Definition at line 98 of file LineToPolygonDialog.cpp.
References te::dt::GEOMETRY_TYPE, te::gm::GeometryProperty::getGeometryType(), te::gm::LineStringMType, te::gm::LineStringType, te::gm::LineStringZMType, te::gm::LineStringZType, m_layers, m_ui, te::gm::MultiLineStringMType, te::gm::MultiLineStringType, te::gm::MultiLineStringZMType, and te::gm::MultiLineStringZType.
Referenced by te::qt::plugins::vp::LineToPolygonAction::onActionActivated().
|
private |
List of layers.
Definition at line 90 of file LineToPolygonDialog.h.
Referenced by onLayerComboBoxChanged(), and setLayers().
|
private |
Resulting layer.
Definition at line 92 of file LineToPolygonDialog.h.
Referenced by getLayer(), and onOkPushButtonClicked().
|
private |
DataSource information.
Definition at line 89 of file LineToPolygonDialog.h.
Referenced by onOkPushButtonClicked(), and onTargetDatasourceToolButtonPressed().
|
private |
Layer used for operation.
Definition at line 91 of file LineToPolygonDialog.h.
Referenced by onLayerComboBoxChanged(), and onOkPushButtonClicked().
|
private |
Definition at line 93 of file LineToPolygonDialog.h.
Referenced by onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), and onTargetFileToolButtonPressed().
|
private |
Definition at line 88 of file LineToPolygonDialog.h.
Referenced by LineToPolygonDialog(), onLayerComboBoxChanged(), onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), onTargetFileToolButtonPressed(), and setLayers().