1 #ifndef GUI_ENABLEDACTIONS_H_INCLUDED
2 #define GUI_ENABLEDACTIONS_H_INCLUDED
43 void Set(std::vector<QAction*> actions);
52 std::vector<QAction*> actions;
53 std::vector<QMenu*> menus;
59 #endif // end_of_inclde_guard
Helper class to enable or disable a collection of QAction and QMenu objects at once.
void Add(QAction *a)
Add action object to collection.
void Enable()
Enable all actions and menus in collection.
see the online Qt documentation
void Disable()
Disable all actions and menus in collection.
Namespace for generic graphical shell for simulators.
void Set(std::vector< QAction * > actions)
Set action object collection.