PDA

View Full Version : QMenu Help pls



munna
18th March 2006, 06:59
Hi,

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

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

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