26 #ifndef __TE_QT_PLUGINS_VP_INTERNAL_ABSTRACTACTION_H 
   27 #define __TE_QT_PLUGINS_VP_INTERNAL_ABSTRACTACTION_H 
   30 #include "../../../maptools/AbstractLayer.h" 
   34 #include <QtCore/QObject> 
   88             void createAction(std::string name, std::string pixmap = 
"");
 
  112             std::list<te::map::AbstractLayerPtr> 
getLayers();
 
  125 #endif //__TE_QT_PLUGINS_VP_INTERNAL_ABSTRACTACTION_H 
QMenu * m_menu
Parent Menu. 
 
te::map::AbstractLayerPtr getCurrentLayer()
Get the selected layer from layer explorer in app. 
 
void createAction(std::string name, std::string pixmap="")
Create and set the actions parameters. 
 
Configuration flags for the VP Qt Widget plugin. 
 
void addNewLayer(te::map::AbstractLayerPtr layer)
Add a new layer into layer explorer widget. 
 
AbstractAction(QMenu *menu)
Constructor. 
 
QAction * m_action
Action used to call the process. 
 
std::list< te::map::AbstractLayerPtr > getLayers()
Get the list of layers from app. 
 
virtual ~AbstractAction()
Destructor. 
 
This is an abstract class used to register actions into vp pluging. 
 
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
 
virtual void onActionActivated(bool checked)=0
Slot function used when a action was selected.