26 #ifndef __TE_QT_PLUGINS_LAYOUT_INTERNAL_ABSTRACTACTION_H
27 #define __TE_QT_PLUGINS_LAYOUT_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_LAYOUT_INTERNAL_ABSTRACTACTION_H
This is an abstract class used to register actions into vp pluging.
AbstractAction(QMenu *menu)
Constructor.
QMenu * m_menu
Parent Menu.
void createAction(std::string name, std::string pixmap="")
Create and set the actions parameters.
QAction * m_action
Action used to call the process.
Configuration flags for the LAYOUT Qt Widget plugin.
virtual void onActionActivated(bool checked)=0
Slot function used when a action was selected.
virtual ~AbstractAction()
Destructor.