te::qt::plugins::rp::ColorTransformAction Class Reference

This class register the colorTransform action into RP Plugin. More...

#include <ColorTransformAction.h>

Inheritance diagram for te::qt::plugins::rp::ColorTransformAction:
te::qt::plugins::rp::AbstractAction

Signals

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

Public Member Functions

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

Protected Slots

void addLayer (te::map::AbstractLayerPtr outputLayer)
 
void closeTool ()
 
virtual void onActionActivated (bool checked)
 
virtual void onPopUpActionActivated (bool checked)
 Slot function used when a action was selected from layer pop up. More...
 

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

Private Attributes

te::qt::widgets::ColorTransformDialogm_colorTransfDlg
 

Detailed Description

This class register the colorTransform action into RP Plugin.

Definition at line 48 of file ColorTransformAction.h.

Constructor & Destructor Documentation

te::qt::plugins::rp::ColorTransformAction::ColorTransformAction ( QMenu *  menu,
QMenu *  popupMenu 
)
virtual te::qt::plugins::rp::ColorTransformAction::~ColorTransformAction ( )
virtual

Member Function Documentation

void te::qt::plugins::rp::ColorTransformAction::addLayer ( te::map::AbstractLayerPtr  outputLayer)
protectedslot
void te::qt::plugins::rp::AbstractAction::addNewLayer ( te::map::AbstractLayerPtr  layer)
protectedinherited

Add a new layer into layer explorer widget.

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

Create and set the actions parameters.

Parameters
nameThe action name.
pixmapThe action pixmap name.
void te::qt::plugins::rp::AbstractAction::createPopUpAction ( 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::rp::AbstractAction::getAction ( )
inlineinherited

Definition at line 145 of file AbstractAction.h.

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

te::map::AbstractLayerPtr te::qt::plugins::rp::AbstractAction::getCurrentLayer ( )
protectedinherited

Get the selected layer from layer explorer in app.

Returns
The layer auto pointer
std::list<te::map::AbstractLayerPtr> te::qt::plugins::rp::AbstractAction::getLayers ( )
protectedinherited

Get the list of layers from app.

Returns
The list pf layer auto pointers
virtual void te::qt::plugins::rp::ColorTransformAction::onActionActivated ( bool  checked)
protectedvirtualslot
virtual void te::qt::plugins::rp::AbstractAction::onPopUpActionActivated ( bool  checked)
protectedvirtualslotinherited

Slot function used when a action was selected from layer pop up.

Parameters
checkedFlag used in case a toggle action.
void te::qt::plugins::rp::AbstractAction::triggered ( te::qt::af::evt::Event e)
signalinherited

Member Data Documentation

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

Action used to call the process.

Definition at line 154 of file AbstractAction.h.

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

te::qt::widgets::ColorTransformDialog* te::qt::plugins::rp::ColorTransformAction::m_colorTransfDlg
private

Definition at line 67 of file ColorTransformAction.h.

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

Parent Menu.

Definition at line 152 of file AbstractAction.h.

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

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

Parent popMenu.

Definition at line 153 of file AbstractAction.h.


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