[Qt-interest] transparent window

Alexander Vasiliev alexvasiljev at gmail.com
Mon Mar 30 17:30:04 CEST 2009


Ok, this works and window becomes transparent. But now i can't draw anything
upon it, cause everyting is drawn with opacity 0.2. Exactly i wanna make
only background of the window transparent.

Thanks for reply.

2009/3/30 arun kumar <arunkumaraymuo at gmail.com>

>
> try this method,
>
>
>  obj->setAutoFillBackground(true);
>     obj->setWindowOpacity(0.2);
>
> this will change the background color to transparent .
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090330/f123b965/attachment.html 


More information about the Qt-interest-old mailing list