This is an abstract class used to register actions into vp pluging. More...
#include <AbstractAction.h>
Public Member Functions | |
AbstractAction (QMenu *menu) | |
Constructor. More... | |
virtual | ~AbstractAction () |
Destructor. More... | |
Protected Slots | |
virtual void | onActionActivated (bool checked)=0 |
Slot function used when a action was selected. More... | |
Protected Member Functions | |
void | createAction (std::string name, std::string pixmap="") |
Create and set the actions parameters. More... | |
Protected Attributes | |
QAction * | m_action |
Action used to call the process. More... | |
QMenu * | m_menu |
Parent Menu. More... | |
This is an abstract class used to register actions into vp pluging.
Definition at line 51 of file AbstractAction.h.
te::qt::plugins::vp::AbstractAction::AbstractAction | ( | QMenu * | menu | ) |
Constructor.
menu | The parent menu object. |
Definition at line 31 of file AbstractAction.cpp.
|
virtual |
Destructor.
Definition at line 35 of file AbstractAction.cpp.
|
protected |
Create and set the actions parameters.
name | The action name. |
pixmap | The action pixmap name. |
Definition at line 39 of file AbstractAction.cpp.
Referenced by te::qt::plugins::vp::AggregationAction::AggregationAction(), te::qt::plugins::vp::BasicGeographicOperationAction::BasicGeographicOperationAction(), te::qt::plugins::vp::BufferAction::BufferAction(), te::qt::plugins::vp::IntersectionAction::IntersectionAction(), te::qt::plugins::vp::PolygonToLineAction::PolygonToLineAction(), te::qt::plugins::vp::SummarizationAction::SummarizationAction(), and te::qt::plugins::vp::TransformationAction::TransformationAction().
|
protectedpure virtualslot |
Slot function used when a action was selected.
checked | Flag used in case a toggle action. |
|
protected |
Action used to call the process.
Definition at line 92 of file AbstractAction.h.
|
protected |
Parent Menu.
Definition at line 91 of file AbstractAction.h.