Go to the documentation of this file.
26 #ifndef __TE_QT_PLUGINS_MNT_INTERNAL_ABSTRACTACTION_H
27 #define __TE_QT_PLUGINS_MNT_INTERNAL_ABSTRACTACTION_H
31 #include "../../../maptools/AbstractLayer.h"
36 #include <QtCore/QObject>
145 #endif //__TE_QT_PLUGINS_MNT_INTERNAL_ABSTRACTACTION_H
std::list< te::map::AbstractLayerPtr > getLayers()
Get the list of layers from app.
QMenu * m_menu
Parent Menu.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
void addNewLayer(te::map::AbstractLayerPtr layer)
Add a new layer into layer explorer widget.
virtual void onActionActivated(bool checked)=0
Slot function used when a action was selected.
A base class for application events.
This is an abstract class used to register actions into mnt pluging.
void createAction(std::string name, std::string pixmap="")
Create and set the actions parameters.
virtual ~AbstractAction()
Destructor.
QAction * m_action
Action used to call the process.
Proxy configuration file for TerraView (see terraview_config.h).
void triggered(te::qt::af::evt::Event *e)
te::map::AbstractLayerPtr getCurrentLayer()
Get the selected layer from layer explorer in app.
AbstractAction(QMenu *menu)
Constructor.