te::qt::plugins::terramobile::CreateLayerAction Class Reference

This file defines the Create Layer Action class. More...

#include <CreateLayerAction.h>

Inheritance diagram for te::qt::plugins::terramobile::CreateLayerAction:
te::qt::plugins::terramobile::AbstractAction QObject

Signals

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

Public Member Functions

 CreateLayerAction (QMenu *menu)
 
virtual ~CreateLayerAction ()
 

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 file defines the Create Layer Action class.

Definition at line 47 of file CreateLayerAction.h.

Constructor & Destructor Documentation

te::qt::plugins::terramobile::CreateLayerAction::CreateLayerAction ( QMenu *  menu)
te::qt::plugins::terramobile::CreateLayerAction::~CreateLayerAction ( )
virtual

Definition at line 43 of file CreateLayerAction.cpp.

Member Function Documentation

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

Add a new layer into layer explorer widget.

Parameters
layerThe layer auto pointer

Definition at line 61 of file mobile/AbstractAction.cpp.

References te::qt::plugins::terramobile::AbstractAction::triggered().

std::list< te::map::AbstractLayerPtr > te::qt::plugins::terramobile::AbstractAction::getLayers ( )
protectedinherited
void te::qt::plugins::terramobile::CreateLayerAction::onActionActivated ( bool  checked)
protectedvirtualslot

Member Data Documentation

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

Action used to call the process.

Definition at line 120 of file mobile/AbstractAction.h.

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

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

Parent Menu.

Definition at line 119 of file mobile/AbstractAction.h.

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


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