te::qt::plugins::vp::DifferenceAction Class Reference

This class register the difference action into VP Plugin. More...

#include <DifferenceAction.h>

Inheritance diagram for te::qt::plugins::vp::DifferenceAction:
te::qt::plugins::vp::AbstractAction

Signals

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

Public Member Functions

 DifferenceAction (QMenu *menu)
 
QAction * getAction ()
 
virtual ~DifferenceAction ()
 

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...
 
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...
 

Detailed Description

This class register the difference action into VP Plugin.

Definition at line 47 of file DifferenceAction.h.

Constructor & Destructor Documentation

te::qt::plugins::vp::DifferenceAction::DifferenceAction ( QMenu *  menu)
virtual te::qt::plugins::vp::DifferenceAction::~DifferenceAction ( )
virtual

Member Function Documentation

void te::qt::plugins::vp::AbstractAction::addNewLayer ( te::map::AbstractLayerPtr  layer)
protectedinherited

Add a new layer into layer explorer widget.

Parameters
layerThe layer auto pointer
void te::qt::plugins::vp::AbstractAction::createAction ( std::string  name,
std::string  pixmap = "" 
)
protectedinherited

Create and set the actions parameters.

Parameters
nameThe action name.
pixmapThe action pixmap name.
QAction* te::qt::plugins::vp::AbstractAction::getAction ( )
inlineinherited

Definition at line 120 of file AbstractAction.h.

References te::qt::plugins::vp::AbstractAction::m_action.

std::list<te::map::AbstractLayerPtr> te::qt::plugins::vp::AbstractAction::getLayers ( )
protectedinherited

Get the list of layers from app.

Returns
The list pf layer auto pointers
virtual void te::qt::plugins::vp::DifferenceAction::onActionActivated ( bool  checked)
protectedvirtualslot
void te::qt::plugins::vp::AbstractAction::triggered ( te::qt::af::evt::Event e)
signalinherited

Member Data Documentation

QAction* te::qt::plugins::vp::AbstractAction::m_action
protectedinherited

Action used to call the process.

Definition at line 128 of file AbstractAction.h.

Referenced by te::qt::plugins::vp::AbstractAction::getAction().

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

Parent Menu.

Definition at line 127 of file AbstractAction.h.


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