[Qt-interest] custom widgets in designer
Alex Custov
alex.custov at gmail.com
Sat Feb 21 19:14:03 CET 2009
Hi.
In Qt3 it was possible to add custom widgets in designer, simply
adding header file to the project. Then I was able to place this
custom widget on the form.
I didn't find this possibility in Qt4 designer. However recently I got
some project and found in its .ui file the following code:
<customwidgets>
<customwidget>
<class>MComboBox</class>
<extends>QComboBox</extends>
<header>MComboBox.h</header>
</customwidget>
</customwidgets>
"uic" generates well-formed .h file from it, including MComboBox.h as
it described in .ui file.
Does it mean that it is still possible to add custom widgets? How can
I do it? Thanks.
P.S. This project doesn't use plugins for designer.
--
More information about the Qt-interest-old
mailing list