#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::auto_ptr < Ui::PolygonToLineDialogForm > | m_ui |
Definition at line 53 of file PolygonToLineDialog.h.
te::vp::PolygonToLineDialog::PolygonToLineDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 66 of file PolygonToLineDialog.cpp.
References m_ui, onCancelPushButtonClicked(), onLayerComboBoxChanged(), onOkPushButtonClicked(), onTargetDatasourceToolButtonPressed(), and onTargetFileToolButtonPressed().
te::vp::PolygonToLineDialog::~PolygonToLineDialog | ( | ) |
Definition at line 94 of file PolygonToLineDialog.cpp.
te::map::AbstractLayerPtr te::vp::PolygonToLineDialog::getLayer | ( | ) |
Definition at line 125 of file PolygonToLineDialog.cpp.
Referenced by te::qt::plugins::vp::PolygonToLineAction::onActionActivated().
|
protectedslot |
Definition at line 391 of file PolygonToLineDialog.cpp.
Referenced by PolygonToLineDialog().
|
protectedslot |
Definition at line 130 of file PolygonToLineDialog.cpp.
Referenced by PolygonToLineDialog().
|
protectedslot |
Definition at line 191 of file PolygonToLineDialog.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::PolygonToLineOp::paramsAreValid(), te::common::ProgressManager::removeViewer(), te::vp::PolygonToLineOp::run(), te::vp::PolygonToLineOp::setInput(), te::vp::PolygonToLineOp::setOutput(), te::da::DataSourceCapabilities::supportsPreparedQueryAPI(), and te::da::QueryCapabilities::supportsSpatialSQLDialect().
Referenced by PolygonToLineDialog().
|
protectedslot |
Definition at line 149 of file PolygonToLineDialog.cpp.
References te::qt::widgets::DataSourceSelectorDialog::getSelecteds().
Referenced by PolygonToLineDialog().
|
protectedslot |
Definition at line 170 of file PolygonToLineDialog.cpp.
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 98 of file PolygonToLineDialog.cpp.
References te::dt::GEOMETRY_TYPE, te::gm::GeometryProperty::getGeometryType(), 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 88 of file PolygonToLineDialog.h.
|
private |
Resulting layer.
Definition at line 90 of file PolygonToLineDialog.h.
|
private |
DataSource information.
Definition at line 87 of file PolygonToLineDialog.h.
|
private |
Layer used for operation.
Definition at line 89 of file PolygonToLineDialog.h.
|
private |
Definition at line 91 of file PolygonToLineDialog.h.
|
private |
Definition at line 86 of file PolygonToLineDialog.h.
Referenced by PolygonToLineDialog().