26 #ifndef __TE_QT_PLUGINS_VP_INTERNAL_ABSTRACTACTION_H
27 #define __TE_QT_PLUGINS_VP_INTERNAL_ABSTRACTACTION_H
33 #include <QtCore/QObject>
34 #include <QtGui/QMenu>
35 #include <QtGui/QAction>
87 void createAction(std::string name, std::string pixmap =
"");
100 #endif //__TE_QT_PLUGINS_VP_INTERNAL_ABSTRACTACTION_H
QAction * m_action
Action used to call the process.
AbstractAction(QMenu *menu)
Constructor.
virtual ~AbstractAction()
Destructor.
virtual void onActionActivated(bool checked)=0
Slot function used when a action was selected.
Configuration flags for the VP Qt Widget plugin.
This is an abstract class used to register actions into vp pluging.
QMenu * m_menu
Parent Menu.
void createAction(std::string name, std::string pixmap="")
Create and set the actions parameters.