26#ifndef __TE_QT_PLUGINS_MNT_INTERNAL_ABSTRACTACTION_H
27#define __TE_QT_PLUGINS_MNT_INTERNAL_ABSTRACTACTION_H
36#include <QtCore/QObject>
This is the base class for Layers.
QAction * m_action
Action used to call the process.
AbstractAction(QMenu *menu)
Constructor.
std::list< te::map::AbstractLayerPtr > getLayers()
Get the list of layers from app.
void addNewLayer(te::map::AbstractLayerPtr layer)
Add a new layer into layer explorer widget.
te::map::AbstractLayerPtr getCurrentLayer()
Get the selected layer from layer explorer in app.
virtual void onActionActivated(bool checked)=0
Slot function used when a action was selected.
virtual ~AbstractAction()
Destructor.
void createAction(std::string name, std::string pixmap="")
Create and set the actions parameters.
QMenu * m_menu
Parent Menu.
void triggered(te::qt::af::evt::Event *e)
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
Namespace for the Qt Application Framework module of TerraLib.
Namespace for the Qt module of TerraLib.
A base class for application events.
Configuration flags for the MNT Qt Widget plugin.