te::qt::plugins::rp::VectorizationAction Class Reference

#include <VectorizationAction.h>

Inheritance diagram for te::qt::plugins::rp::VectorizationAction:
te::qt::plugins::rp::AbstractAction QObject

Signals

void triggered (te::qt::af::evt::Event *e)
 

Public Member Functions

QAction * getAction ()
 
 VectorizationAction (QMenu *menu, QMenu *popupMenu)
 
virtual ~VectorizationAction ()
 

Protected Slots

virtual void onActionActivated (bool checked)
 
virtual void onPopUpActionActivated (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...
 
void createPopUpAction (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::AbstractLayerPtrgetLayers ()
 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...
 
QAction * m_popupAction
 Action used to call the process from pop up layer. More...
 
QMenu * m_popupMenu
 Parent popMenu. More...
 

Detailed Description

Definition at line 35 of file VectorizationAction.h.

Constructor & Destructor Documentation

te::qt::plugins::rp::VectorizationAction::VectorizationAction ( QMenu *  menu,
QMenu *  popupMenu 
)
te::qt::plugins::rp::VectorizationAction::~VectorizationAction ( )
virtualdefault

Referenced by VectorizationAction().

Member Function Documentation

void te::qt::plugins::rp::AbstractAction::addNewLayer ( te::map::AbstractLayerPtr  layer)
protectedinherited
void te::qt::plugins::rp::AbstractAction::createAction ( std::string  name,
std::string  pixmap = "" 
)
protectedinherited
void te::qt::plugins::rp::AbstractAction::createPopUpAction ( std::string  name,
std::string  pixmap = "" 
)
protectedinherited
QAction* te::qt::plugins::rp::AbstractAction::getAction ( )
inlineinherited

Definition at line 145 of file rp/AbstractAction.h.

Referenced by te::qt::plugins::rp::Plugin::registerActions().

void te::qt::plugins::rp::VectorizationAction::onPopUpActionActivated ( bool  checked)
protectedvirtualslot

Definition at line 52 of file VectorizationAction.cpp.

Member Data Documentation

QMenu* te::qt::plugins::rp::AbstractAction::m_menu
protectedinherited

Parent Menu.

Definition at line 152 of file rp/AbstractAction.h.

Referenced by te::qt::plugins::rp::AbstractAction::createAction().

QAction* te::qt::plugins::rp::AbstractAction::m_popupAction
protectedinherited

Action used to call the process from pop up layer.

Definition at line 155 of file rp/AbstractAction.h.

Referenced by te::qt::plugins::rp::AbstractAction::createPopUpAction().

QMenu* te::qt::plugins::rp::AbstractAction::m_popupMenu
protectedinherited

Parent popMenu.

Definition at line 153 of file rp/AbstractAction.h.

Referenced by te::qt::plugins::rp::AbstractAction::createPopUpAction().


The documentation for this class was generated from the following files: