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

mario dodiesis at gmail.com
Thu Sep 16 15:26:38 CEST 2010


Hi all.

I am successfully using a custom widget in my qtcreator designer.
This widget should be a container and provides an empty QFrame where
other widget should be placed.
Now I can place widgets in this QFrame (
QDesignerCustomWidgetInterface::isContainer() returns true ) , but
designer refuses to set a layout: when I select the QFrame, it select
the entire custom widget and disables the layout buttons (Vertical,
Horizontal, Split...)

How can I tell designer that the QFrame inside my widget can be "layout-ted" ?
Tnx

-- 
Mario Signorino | www.sgrunt.net



More information about the Qt-interest-old mailing list