Don't know if this will help you, but for every menu, you can get a list of it's actions by calling:
QList<QAction*> actions = menu->actions();
QList<QAction*> actions = menu->actions();
To copy to clipboard, switch view to plain text mode
QMainWindow menus created in designer are held in QMenuBar, maybe you can get list of all menus inserted in menu bar by "findChildren" method:
QList<QMenu*> menus = mainWindow->menuBar()->findChildren<QMenu*>();
QList<QMenu*> menus = mainWindow->menuBar()->findChildren<QMenu*>();
To copy to clipboard, switch view to plain text mode
Be sure to read documentation for above methods before using them.
Still, I don't know what do you want to do with such lists.
Bookmarks