26 #ifndef __TE_QT_PLUGINS_VP_INTERNAL_ABSTRACTACTION_H 27 #define __TE_QT_PLUGINS_VP_INTERNAL_ABSTRACTACTION_H 31 #include "../../../maptools/AbstractLayer.h" 114 void createAction(std::string name, std::string pixmap =
"");
130 std::list<te::map::AbstractLayerPtr>
getLayers();
138 void showDialog(
const std::string& operationName);
162 #endif //__TE_QT_PLUGINS_VP_INTERNAL_ABSTRACTACTION_H
QMenu * m_menu
Parent Menu.
void createActionByName(const std::string &operationName)
Create and set the actions parameters.
A base class for application events.
void showDialog(const std::string &operationName)
void createSpatialIndex(te::map::AbstractLayerPtr layer)
bool hasShapeFileSpatialIndex(const QString &path)
Configuration flags for the VP Qt Widget plugin.
virtual ~AbstractAction()
Destructor.
std::list< te::map::AbstractLayerPtr > getLayers()
Get the list of layers from app.
static te::qt::plugins::vp::AbstractAction * createAction(QMenu *menu, const std::string &operationName)
AbstractAction(QMenu *menu)
Constructor.
QAction * m_action
Action used to call the process.
virtual void onActionActivated(bool checked)
Slot function used when a action was selected.
This is an abstract class used to register actions into vp pluging.
void addNewLayer(te::map::AbstractLayerPtr layer, bool confirmIndexCreation=true)
Add a new layer into layer explorer widget.
std::string m_operationName
The name of the operation to be used.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
void triggered(te::qt::af::evt::Event *e)