[Qt-interest] Making part of QWebView as transaparent

Stefano Rosellini s.rosellini at iv-srl.it
Tue Dec 15 14:23:10 CET 2009


Il 15/12/2009 13:53, Samuel Rødal ha scritto:
> Nitin Mahajan wrote:
>    
>> Hello,
>>
>> I am trying to make a part of QWebView as transparent using setMask(). I am doing this experiment with the demo browser.
>>
>> The demo browser is allowed to run for some time.Later some region of web view is made transparent using setMask().
>>
>> What I find is that the region where a whole should have been punched remains white, instead of becoming transparent. Can some one help me with this?
>>
>> regards
>>
>> -Nitin
>>      
> Are you sure you're using setMask() on a top-level widget? Otherwise
> there won't be any transparency as there'll be another widget behind.
>
> --
> Samuel
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>    
I agree with Samuel.
If the problem persist try to post a simple not working example.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: s_rosellini.vcf
Type: text/x-vcard
Size: 261 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091215/b7c907bc/attachment.vcf 


More information about the Qt-interest-old mailing list