The code is not the full example (but the other code is in principle the same). I have many submenus which have actions. And since submenus are supported by Qt, I do not see what is wrong about it.
But about the constructors. Should it be the parent class (the widget from whichin the popup-menu is constructed), or the 'this', the menu class itsself? Is it correct the way it is now? There the parent of QMenus is the current class, but the parent of the actions is the parent QWidget.
The principle question is still unsolved. Why do I not see the Actions as a selection group, like shown here: http://doc.trolltech.com/4.5/qactiongroup.html#details
Matthias





Reply With Quote
Bookmarks