te::qt::plugins::mnt::ShowValuesAction Class Reference

This class register the show values action into MNT Plugin. More...

#include <ShowValuesAction.h>

Inheritance diagram for te::qt::plugins::mnt::ShowValuesAction:
te::qt::plugins::mnt::AbstractAction QObject

Signals

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

Public Member Functions

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

Protected Slots

virtual void onActionActivated (bool checked)
 
void onChecked (bool status)
 

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::AbstractLayerPtrgetLayers ()
 Get the list of layers from app. More...
 

Protected Attributes

QAction * m_action
 Action used to call the process. More...
 
te::qt::af::BaseApplicationm_app
 
QMenu * m_menu
 Parent Menu. More...
 
ShowValuesToolm_readpixel
 

Private Attributes

bool m_status
 

Detailed Description

This class register the show values action into MNT Plugin.

Definition at line 48 of file ShowValuesAction.h.

Constructor & Destructor Documentation

te::qt::plugins::mnt::ShowValuesAction::ShowValuesAction ( QMenu *  menu)
te::qt::plugins::mnt::ShowValuesAction::~ShowValuesAction ( )
virtual

Definition at line 51 of file ShowValuesAction.cpp.

References m_readpixel.

Member Function Documentation

QAction* te::qt::plugins::mnt::AbstractAction::getAction ( )
inlineinherited

Definition at line 129 of file mnt/AbstractAction.h.

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

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

Get the selected layer from layer explorer in app.

Returns
The layer auto pointer

Definition at line 67 of file mnt/AbstractAction.cpp.

References te::qt::af::evt::GetLayerSelected::m_layer, and te::qt::plugins::mnt::AbstractAction::triggered().

void te::qt::plugins::mnt::ShowValuesAction::onChecked ( bool  status)
protectedslot

Member Data Documentation

te::qt::af::BaseApplication* te::qt::plugins::mnt::ShowValuesAction::m_app
protected

Definition at line 68 of file ShowValuesAction.h.

Referenced by onActionActivated().

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

Parent Menu.

Definition at line 136 of file mnt/AbstractAction.h.

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

ShowValuesTool* te::qt::plugins::mnt::ShowValuesAction::m_readpixel
protected

Definition at line 67 of file ShowValuesAction.h.

Referenced by onActionActivated(), ShowValuesAction(), and ~ShowValuesAction().

bool te::qt::plugins::mnt::ShowValuesAction::m_status
private

Definition at line 64 of file ShowValuesAction.h.

Referenced by onActionActivated(), and ShowValuesAction().


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