26 #ifndef __TE_QT_PLUGINS_SA_INTERNAL_ABSTRACTACTION_H
27 #define __TE_QT_PLUGINS_SA_INTERNAL_ABSTRACTACTION_H
31 #include "../../../maptools/AbstractLayer.h"
98 void createAction(std::string name, std::string pixmap =
"");
122 std::list<te::map::AbstractLayerPtr>
getLayers();
145 #endif //__TE_QT_PLUGINS_SA_INTERNAL_ABSTRACTACTION_H
QAction * m_action
Action used to call the process.
A base class for application events.
Configuration flags for the SA Qt Widget plugin.
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.
void triggered(te::qt::af::evt::Event *e)
void addNewLayer(te::map::AbstractLayerPtr layer)
Add a new layer into layer explorer widget.
virtual ~AbstractAction()
Destructor.
AbstractAction(QMenu *menu)
Constructor.
void createAction(std::string name, std::string pixmap="")
Create and set the actions parameters.
This is an abstract class used to register actions into sa pluging.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
std::list< te::map::AbstractLayerPtr > getLayers()
Get the list of layers from app.
QMenu * m_menu
Parent Menu.