tag:blogger.com,1999:blog-17722541.post7514401617787322194..comments2023-10-30T12:41:52.941+01:00Comments on don't code today what you can't debug tomorrow: transparent QWebView and QWebPageAriya Hidayathttp://www.blogger.com/profile/03121582140059106015noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-17722541.post-73818240475976629152010-01-15T14:32:19.495+01:002010-01-15T14:32:19.495+01:00thanks for the post,
but i also had to add the v...thanks for the post, <br /><br />but i also had to add the view->setPalette(palette) line to get it working.Unknownhttps://www.blogger.com/profile/01541413742147615727noreply@blogger.comtag:blogger.com,1999:blog-17722541.post-64584987289248541582009-05-15T04:22:00.000+02:002009-05-15T04:22:00.000+02:00Hi,
Thanks for this post, but I had a problem imp...Hi,<br /><br />Thanks for this post, but I had a problem implementing this. I don't know what I did wrong, but to make it work I had to add another line:<br /><br />view->setPalette(palette);<br /><br />I hope this is useful to someone.<br /><br />Terima KasihAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-17722541.post-5831611831973102832009-04-28T22:10:00.000+02:002009-04-28T22:10:00.000+02:00I'd suggest that this should be covered in the doc...I'd suggest that this should be covered in the docs. I for one wasn't aware of it.Rich Moorehttps://www.blogger.com/profile/06182816638082600922noreply@blogger.comtag:blogger.com,1999:blog-17722541.post-66656665554949964202009-04-28T19:13:00.000+02:002009-04-28T19:13:00.000+02:00@maininalift: looks like a bug.
@Aaron: the defau...@maininalift: looks like a bug.<br /><br />@Aaron: the default is always the tricky part, half of the planet will just hate it no matter what. Since opaque, non-transparent painting seems to be the common case, it's chosen to avoid the surprise.<br /><br />Anyway, QWebPage::palette documentation already says "The base brush of the palette is used to draw the background of the main frame."Ariya Hidayathttps://www.blogger.com/profile/03121582140059106015noreply@blogger.comtag:blogger.com,1999:blog-17722541.post-24154374552753657802009-04-28T18:51:00.000+02:002009-04-28T18:51:00.000+02:00on the one hand: awesome! now it's transparent.
o...on the one hand: awesome! now it's transparent.<br /><br />on the other hand: why isn't this the *default* behavior? why isn't there at a minimum some non-voodoo way to achieve this?Anonymoushttps://www.blogger.com/profile/06688610708513558784noreply@blogger.comtag:blogger.com,1999:blog-17722541.post-85966234084470223072009-04-28T17:55:00.000+02:002009-04-28T17:55:00.000+02:00thanks for the tip! i had actually tried to do thi...thanks for the tip! i had actually tried to do this last week and failed. this works great :)<br /><br />cheers.lfranchihttps://www.blogger.com/profile/12694129319859540445noreply@blogger.comtag:blogger.com,1999:blog-17722541.post-53836205533833468602009-04-28T17:27:00.000+02:002009-04-28T17:27:00.000+02:00The roadsign should be animated, is it? None of th...The roadsign should be animated, is it? None of the QWebKit based browsers animated the digging man (though they did a little better than Opera which didn't render the man at all and much better than KHTML which didn't render the svg at all). Firefox/Gecko was the only browser to render everything on my machine.<br /><br />(though perhaps it didn't render everything as I have nothing else to compare it to)maninalifthttps://www.blogger.com/profile/08040522135159233946noreply@blogger.com