[Qt-interest] Promoting a QMenu to my CustomMenu
Friedemann Kleint
Friedemann.Kleint at nokia.com
Mon Oct 4 09:03:29 CEST 2010
Hi,
>
> Can I promote a QMenu to my CustomMenu class in Designer.
> Please tell me the steps in doing so, in case it is possible.
> I would like to override showEvent(QShowEvent*) on QMenu.
Right-click the menu in the Object Inspector and choose "Promote to...".
Other than that, it is equivalent to promoting widgets.
Regards,
Friedemann Kleint
--
Friedemann Kleint
Nokia, Qt Development Frameworks
More information about the Qt-interest-old
mailing list