[Qt-interest] Widget promotion feature

Patric userqt at gmail.com
Mon Jun 1 22:33:12 CEST 2009


Yes, cool, now I understand.
Thank you very much Paul and have a nice day. :)

Regards,
Patric

----- Original Message ----- 
From: "Paul Dixon" <lordelph at gmail.com>
To: "qt-interest" <qt-interest at trolltech.com>
Sent: Monday, June 01, 2009 11:18 PM
Subject: Re: [Qt-interest] Widget promotion feature


>> I have created a widget with QT Designer and promoted it in my Main 
>> Window.
>> And it's there when I run the program. :)
>> But unfortunately, there is no visualization of my widget contents in 
>> Main
>> Window, when I'm just looking at it from the Designer.
>>
>> I hope you understood what I meaned here...
>
> yes - promotion is just a quick way to get your widget into a layout,
> but Qt Designer just treats it like whatever base class you selected.
>
> If you want your custom widget to behave like the Qt supplies ones in
> Qt Designer, you have to do more work - see
> http://doc.trolltech.com/4.5/designer-creating-custom-widgets.html
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus 
> signature database 4098 (20090522) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> 


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4098 (20090522) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






More information about the Qt-interest-old mailing list