[Qt-interest] ui form inheritance
Luc Devallonné
luc.devallonne at mnemis.com
Tue Jan 27 20:43:34 CET 2009
On Tue, Jan 27, 2009 at 8:24 PM, Chris <chris1.noreply at googlemail.com> wrote:
> 2009/1/27 phil prentice <philp.cheer at talktalk.net>:
>> Is there any simple way that I can continue to use designer to create my
>> QTreeWidget object and yet somehow tell my code to treat the object using my
>> new parent class?
>
> I think a custom widget would do the job. There are some details here:
>
> http://doc.trolltech.com/4.2/designer-creating-custom-widgets.html
>
You may consider as well widget promotion, which is pretty straight
forward if you do not need to change the contract of the widget:
http://doc.trolltech.com/4.2/designer-using-custom-widgets.html#promoting-widgets
Luc
More information about the Qt-interest-old
mailing list