This class register the line to polygon action into VP Plugin. More...
#include <LineToPolygonAction.h>
Signals | |
| void | triggered (te::qt::af::evt::Event *e) |
Public Member Functions | |
| QAction * | getAction () |
| LineToPolygonAction (QMenu *menu) | |
| virtual | ~LineToPolygonAction () |
Protected Slots | |
| virtual void | onActionActivated (bool checked) |
Protected Member Functions | |
| void | addNewLayer (te::map::AbstractLayerPtr layer) |
| Add a new layer into layer explorer widget. More... | |
| void | configSettings () |
| void | createAction (std::string name, std::string pixmap="") |
| Create and set the actions parameters. More... | |
| void | createSpatialIndex (te::map::AbstractLayerPtr layer) |
| std::list< te::map::AbstractLayerPtr > | getLayers () |
| Get the list of layers from app. More... | |
| bool | hasShapeFileSpatialIndex (const QString &path) |
Protected Attributes | |
| QAction * | m_action |
| Action used to call the process. More... | |
| QMenu * | m_menu |
| Parent Menu. More... | |
This class register the line to polygon action into VP Plugin.
Definition at line 47 of file LineToPolygonAction.h.
| te::qt::plugins::vp::LineToPolygonAction::LineToPolygonAction | ( | QMenu * | menu | ) |
Definition at line 39 of file LineToPolygonAction.cpp.
References te::qt::plugins::vp::AbstractAction::createAction(), te::qt::plugins::vp::AbstractAction::m_action, and ~LineToPolygonAction().
|
virtualdefault |
Referenced by LineToPolygonAction().
|
protectedinherited |
Add a new layer into layer explorer widget.
| layer | The layer auto pointer |
Definition at line 72 of file vp/AbstractAction.cpp.
References te::qt::plugins::vp::AbstractAction::configSettings(), te::qt::plugins::vp::AbstractAction::createSpatialIndex(), te::da::GetDataSource(), te::common::Singleton< T >::getInstance(), te::qt::plugins::vp::AbstractAction::hasShapeFileSpatialIndex(), and te::qt::plugins::vp::AbstractAction::triggered().
Referenced by te::qt::plugins::vp::BufferAction::onActionActivated(), te::qt::plugins::vp::UnionAction::onActionActivated(), te::qt::plugins::vp::PolygonToLineAction::onActionActivated(), te::qt::plugins::vp::MultipartToSinglepartAction::onActionActivated(), te::qt::plugins::vp::MergeAction::onActionActivated(), onActionActivated(), te::qt::plugins::vp::IntersectionAction::onActionActivated(), te::qt::plugins::vp::IdentityAction::onActionActivated(), te::qt::plugins::vp::GeometricOpAction::onActionActivated(), te::qt::plugins::vp::DissolveAction::onActionActivated(), and te::qt::plugins::vp::DifferenceAction::onActionActivated().
|
protectedinherited |
Definition at line 224 of file vp/AbstractAction.cpp.
Referenced by te::qt::plugins::vp::AbstractAction::addNewLayer().
|
protectedinherited |
Create and set the actions parameters.
| name | The action name. |
| pixmap | The action pixmap name. |
Definition at line 56 of file vp/AbstractAction.cpp.
References te::qt::plugins::vp::AbstractAction::m_action, te::qt::plugins::vp::AbstractAction::m_menu, te::qt::plugins::vp::AbstractAction::onActionActivated(), and te::qt::plugins::vp::AbstractAction::triggered().
Referenced by te::qt::plugins::vp::BufferAction::BufferAction(), te::qt::plugins::vp::CheckGeomValidityAction::CheckGeomValidityAction(), te::qt::plugins::vp::DifferenceAction::DifferenceAction(), te::qt::plugins::vp::DissolveAction::DissolveAction(), te::qt::plugins::vp::GeometricOpAction::GeometricOpAction(), te::qt::plugins::vp::IdentityAction::IdentityAction(), te::qt::plugins::vp::IntersectionAction::IntersectionAction(), LineToPolygonAction(), te::qt::plugins::vp::MergeAction::MergeAction(), te::qt::plugins::vp::MultipartToSinglepartAction::MultipartToSinglepartAction(), te::qt::plugins::vp::PolygonToLineAction::PolygonToLineAction(), and te::qt::plugins::vp::UnionAction::UnionAction().
|
protectedinherited |
Definition at line 206 of file vp/AbstractAction.cpp.
References te::da::GetDataSource(), and te::common::Singleton< ApplicationController >::getInstance().
Referenced by te::qt::plugins::vp::AbstractAction::addNewLayer().
|
inlineinherited |
Definition at line 126 of file vp/AbstractAction.h.
Referenced by te::qt::plugins::vp::Plugin::registerActions().
|
protectedinherited |
Get the list of layers from app.
Definition at line 144 of file vp/AbstractAction.cpp.
References te::qt::af::evt::GetLayerSelected::m_layer, te::qt::af::evt::GetAvailableLayers::m_layers, and te::qt::plugins::vp::AbstractAction::triggered().
Referenced by te::qt::plugins::vp::BufferAction::onActionActivated(), te::qt::plugins::vp::UnionAction::onActionActivated(), te::qt::plugins::vp::PolygonToLineAction::onActionActivated(), te::qt::plugins::vp::MultipartToSinglepartAction::onActionActivated(), te::qt::plugins::vp::MergeAction::onActionActivated(), onActionActivated(), te::qt::plugins::vp::IntersectionAction::onActionActivated(), te::qt::plugins::vp::IdentityAction::onActionActivated(), te::qt::plugins::vp::GeometricOpAction::onActionActivated(), te::qt::plugins::vp::DissolveAction::onActionActivated(), and te::qt::plugins::vp::DifferenceAction::onActionActivated().
|
protectedinherited |
Definition at line 181 of file vp/AbstractAction.cpp.
Referenced by te::qt::plugins::vp::AbstractAction::addNewLayer().
|
protectedvirtualslot |
Definition at line 48 of file LineToPolygonAction.cpp.
References te::qt::plugins::vp::AbstractAction::addNewLayer(), te::common::Singleton< ApplicationController >::getInstance(), te::vp::LineToPolygonDialog::getLayer(), te::qt::plugins::vp::AbstractAction::getLayers(), and te::vp::LineToPolygonDialog::setLayers().
|
signalinherited |
|
protectedinherited |
Action used to call the process.
Definition at line 134 of file vp/AbstractAction.h.
Referenced by te::qt::plugins::vp::BufferAction::BufferAction(), te::qt::plugins::vp::CheckGeomValidityAction::CheckGeomValidityAction(), te::qt::plugins::vp::AbstractAction::createAction(), te::qt::plugins::vp::DifferenceAction::DifferenceAction(), te::qt::plugins::vp::DissolveAction::DissolveAction(), te::qt::plugins::vp::GeometricOpAction::GeometricOpAction(), te::qt::plugins::vp::IdentityAction::IdentityAction(), te::qt::plugins::vp::IntersectionAction::IntersectionAction(), LineToPolygonAction(), te::qt::plugins::vp::MergeAction::MergeAction(), te::qt::plugins::vp::MultipartToSinglepartAction::MultipartToSinglepartAction(), te::qt::plugins::vp::PolygonToLineAction::PolygonToLineAction(), and te::qt::plugins::vp::UnionAction::UnionAction().
|
protectedinherited |
Parent Menu.
Definition at line 133 of file vp/AbstractAction.h.
Referenced by te::qt::plugins::vp::AbstractAction::createAction().