Quote Originally Posted by MrDeath View Post
i did not go through your whole code .. but i think your approach is wrong... basically you are inheriting a qmenu and then placing a qmenu again as its child? why? why cant you just add action to the
QPlot3DMenu class itself?
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