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
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
Last edited by munna; 18th March 2006 at 13:05. Reason: Grammar Correction
keep track of the inserted action in a QList<QAction*>...
Current Qt projects : QCodeEdit, RotiDeCode
I assume there is already an internal list. Can't you access that somehow? Because I create my menu's in Designer.
Last edited by Michiel; 19th March 2006 at 16:37. Reason: Added designer comment
"The strength of a civilization is not measured by its ability to wage wars, but rather by its ability to prevent them." - Gene Roddenberry
Bookmarks