[Qt-interest] Transparent QWidget
matteo
matteo.ceruti at task84.it
Wed Oct 7 09:54:05 CEST 2009
Yes, but I must to reimplemente the paintEvent. How can I to
reimplemente it so that the widget is design on the top of the screen?
Thanks
Teo
Girish Ramakrishnan wrote:
> matteo wrote:
>
>>Hi,
>>I need create a transparent QWidget. I try with Api Windows
>>
>>SetWindowLong(oHandle, GWL_EXSTYLE, GetWindowLong(oHandle, GWL_EXSTYLE)
>>WS_EX_LAYERED);
>>SetLayeredWindowAttributes(oHandle, 0, (255 * 70) / 100, LWA_ALPHA);
>>
>>but I would prefer to use portable instructions.
>
>
> QWidget::setWindowOpacity() ?
>
> Girish
More information about the Qt-interest-old
mailing list