#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::auto_ptr < Ui::LineToPolygonDialogForm > | m_ui |
Definition at line 53 of file LineToPolygonDialog.h.
te::vp::LineToPolygonDialog::LineToPolygonDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 66 of file LineToPolygonDialog.cpp.
References m_ui, onCancelPushButtonClicked(), onLayerComboBoxChanged(), onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), and onTargetFileToolButtonPressed().
te::vp::LineToPolygonDialog::~LineToPolygonDialog | ( | ) |
Definition at line 94 of file LineToPolygonDialog.cpp.
te::map::AbstractLayerPtr te::vp::LineToPolygonDialog::getLayer | ( | ) |
Definition at line 125 of file LineToPolygonDialog.cpp.
Referenced by te::qt::plugins::vp::LineToPolygonAction::onActionActivated().
|
protectedslot |
Definition at line 390 of file LineToPolygonDialog.cpp.
Referenced by LineToPolygonDialog().
|
protectedslot |
Definition at line 130 of file LineToPolygonDialog.cpp.
Referenced by LineToPolygonDialog().
|
protectedslot |
Definition at line 191 of file LineToPolygonDialog.cpp.
References te::common::ProgressManager::addViewer(), te::map::DataSetLayer::getDataSetName(), te::da::GetDataSource(), te::map::DataSetLayer::getDataSourceId(), te::common::Singleton< DataSourceInfoManager >::getInstance(), te::common::Singleton< ProgressManager >::getInstance(), te::common::Singleton< DataSourceManager >::getInstance(), te::da::DataSourceCapabilities::getQueryCapabilities(), te::da::DataSourceFactory::make(), te::vp::LineToPolygonOp::paramsAreValid(), te::common::ProgressManager::removeViewer(), te::vp::LineToPolygonOp::run(), te::vp::LineToPolygonOp::setInput(), te::vp::LineToPolygonOp::setOutput(), te::da::DataSourceCapabilities::supportsPreparedQueryAPI(), and te::da::QueryCapabilities::supportsSpatialSQLDialect().
Referenced by LineToPolygonDialog().
|
protectedslot |
Definition at line 149 of file LineToPolygonDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds().
Referenced by LineToPolygonDialog().
|
protectedslot |
Definition at line 170 of file LineToPolygonDialog.cpp.
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, 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 88 of file LineToPolygonDialog.h.
|
private |
Resulting layer.
Definition at line 90 of file LineToPolygonDialog.h.
|
private |
DataSource information.
Definition at line 87 of file LineToPolygonDialog.h.
|
private |
Layer used for operation.
Definition at line 89 of file LineToPolygonDialog.h.
|
private |
Definition at line 91 of file LineToPolygonDialog.h.
|
private |
Definition at line 86 of file LineToPolygonDialog.h.
Referenced by LineToPolygonDialog().