|
open_iA 2024.9
|
Functions | |
| void | addToMenuSorted (QMenu *menu, QAction *action) |
| Add a given action to a menu, such that the (previously sorted) menu stays alphabetically sorted. | |
| QMenu * | getOrAddSubMenu (QMenu *parentMenu, QString const &title, bool addSeparator) |
| Search in the given menu for a menu with the given title; if it doesn't exist, add it (alphabetically sorted). | |
| void addToMenuSorted | ( | QMenu * | menu, |
| QAction * | action ) |
Add a given action to a menu, such that the (previously sorted) menu stays alphabetically sorted.
| QMenu * getOrAddSubMenu | ( | QMenu * | parentMenu, |
| QString const & | title, | ||
| bool | addSeparator ) |
Search in the given menu for a menu with the given title; if it doesn't exist, add it (alphabetically sorted).