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