[Qt-interest] custom widgets in designer
Friedemann Kleint
Friedemann.Kleint at nokia.com
Mon Feb 23 12:11:18 CET 2009
Hi Alex,
> Does it mean that it is still possible to add custom widgets? How can
> I do it? Thanks.
This can be achieved by using the class promotion functionality of Qt
Designer. The widget context menu contains an entry "Promote to". This pops
up a dialog in which you can add class name and include file of the custom
widget. The widget will then be "promoted" to the custom class, that is, it
acts as a placeholder for the custom widget in Designer. uic will compile in
the custom widget.
I hope this helps,
Friedemann
--
Friedemann Kleint
Senior Software Engineer
Nokia, Qt Software
More information about the Qt-interest-old
mailing list