[Qt-interest] Custom widget in designer with simple container

Friedemann Kleint Friedemann.Kleint at nokia.com
Thu Sep 16 17:02:46 CEST 2010


Hi Mario,

you need to make the internal widget known to Qt Designer as  a container page 
by implementing the QDesignerContainerExtension for your widget (see
http://doc.qt.nokia.com/4.6/qdesignercontainerextension.html and examples).
The XML returned by QDesignerCustomWidgetInterface::domXml () should already 
contain one the page.

Optionally, overwrite QDesignerTaskMenuExtension to prevent the "Add/Remove 
page" context menu items to be shown.

Regards,
Friedemann 
-- 
Friedemann Kleint
Nokia, Qt Development Frameworks



More information about the Qt-interest-old mailing list