View Full Version : QMenu Help pls

18th March 2006, 07:59

This is the situation.

I have built a menu (QMenu) with actions (QAction). Now i want to add another action to it but before that i need to check if an action with the same name already exists in the menu or not.

How can i do this?

Thanks a lot

19th March 2006, 15:03
keep track of the inserted action in a QList<QAction*>...

19th March 2006, 16:36
I assume there is already an internal list. Can't you access that somehow? Because I create my menu's in Designer.