This class register the contrast action into VP Plugin. More...
#include <IntersectionAction.h>
Public Member Functions | |
QAction * | getAction () |
IntersectionAction (QMenu *menu) | |
virtual | ~IntersectionAction () |
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 | createAction (std::string name, std::string pixmap="") |
Create and set the actions parameters. More... | |
te::map::AbstractLayerPtr | getCurrentLayer () |
Get the selected layer from layer explorer in app. More... | |
std::list< te::map::AbstractLayerPtr > | getLayers () |
Get the list of layers from app. More... | |
Protected Attributes | |
QAction * | m_action |
Action used to call the process. More... | |
QMenu * | m_menu |
Parent Menu. More... | |
This class register the contrast action into VP Plugin.
Definition at line 47 of file IntersectionAction.h.
te::qt::plugins::vp::IntersectionAction::IntersectionAction | ( | QMenu * | menu | ) |
Definition at line 41 of file IntersectionAction.cpp.
References te::qt::plugins::vp::AbstractAction::createAction(), and te::qt::plugins::vp::AbstractAction::m_action.
|
virtual |
Definition at line 48 of file IntersectionAction.cpp.
|
protectedinherited |
Add a new layer into layer explorer widget.
layer | The layer auto pointer |
Definition at line 59 of file AbstractAction.cpp.
References te::common::Singleton< ApplicationController >::getInstance().
|
protectedinherited |
Create and set the actions parameters.
name | The action name. |
pixmap | The action pixmap name. |
Definition at line 43 of file AbstractAction.cpp.
Referenced by te::qt::plugins::vp::AggregationAction::AggregationAction(), te::qt::plugins::vp::BufferAction::BufferAction(), te::qt::plugins::vp::GeometricOpAction::GeometricOpAction(), IntersectionAction(), te::qt::plugins::vp::LineToPolygonAction::LineToPolygonAction(), te::qt::plugins::vp::MultipartToSinglepartAction::MultipartToSinglepartAction(), te::qt::plugins::vp::PolygonToLineAction::PolygonToLineAction(), te::qt::plugins::vp::SummarizationAction::SummarizationAction(), and te::qt::plugins::vp::TransformationAction::TransformationAction().
|
inlineinherited |
Definition at line 115 of file AbstractAction.h.
References te::qt::plugins::vp::AbstractAction::m_action.
|
protectedinherited |
Get the selected layer from layer explorer in app.
Definition at line 66 of file AbstractAction.cpp.
References te::common::Singleton< ApplicationController >::getInstance(), and te::qt::af::evt::GetLayerSelected::m_layer.
|
protectedinherited |
Get the list of layers from app.
Definition at line 85 of file AbstractAction.cpp.
References te::qt::af::Project::getAllLayers(), and te::common::Singleton< ApplicationController >::getInstance().
|
protectedvirtualslot |
Definition at line 52 of file IntersectionAction.cpp.
References te::common::Singleton< ApplicationController >::getInstance(), te::vp::IntersectionDialog::getLayer(), te::qt::af::Project::getSingleLayers(), and te::vp::IntersectionDialog::setLayers().
|
protectedinherited |
Action used to call the process.
Definition at line 123 of file AbstractAction.h.
Referenced by te::qt::plugins::vp::AggregationAction::AggregationAction(), te::qt::plugins::vp::BufferAction::BufferAction(), te::qt::plugins::vp::GeometricOpAction::GeometricOpAction(), te::qt::plugins::vp::AbstractAction::getAction(), IntersectionAction(), te::qt::plugins::vp::LineToPolygonAction::LineToPolygonAction(), te::qt::plugins::vp::MultipartToSinglepartAction::MultipartToSinglepartAction(), te::qt::plugins::vp::PolygonToLineAction::PolygonToLineAction(), te::qt::plugins::vp::SummarizationAction::SummarizationAction(), and te::qt::plugins::vp::TransformationAction::TransformationAction().
|
protectedinherited |
Parent Menu.
Definition at line 122 of file AbstractAction.h.