51 #define FILEMENU tr("File") 54 #define VIEWMENU tr("View") 57 #define TOOLSMENU tr("Tools") 60 #define ALGORITHMMENU tr("Algorithms") 63 #define PYTHONMENU tr("Python") 98 virtual void getMenubarMenu (QString _name, QMenu *& _menu,
bool _create) {};
194 Q_DECLARE_INTERFACE(
MenuInterface,
"OpenFlipper.MenuInterface/1.0")
virtual void addMenubarActions(std::vector< QAction *> &_actions, QString _name)
Add multiple actions to the menu bar.
virtual ~MenuInterface()
Destructor.
virtual void addMenubarAction(QAction *_action, QString _name)
Adds an action to the menubar.
virtual void getMenubarMenu(QString _name, QMenu *&_menu, bool _create)
Get a existing top level menu pointer or create a new one.
Interface for all plugins which provide entries to the main menubar.