PDA

View Full Version : Transparent QScrollbar groove in QWebView



Jonas
20th October 2008, 09:55
Hi,

I'm trying to get the scrollbar grooves of my webview transparent. Neither setting the style nor implementing my own style works so far.

I have derived my style from QWindowsStyle and overridden the drawControl function. I am able to get all kinds of things customized now for my scrollbars, but I am not able to get a transparent groove.

I think I have to do it where the CE_ScrollBarAddPage element is painted, but setting the background color of the groove before filling the rect does not bring me the required result.

Has anybody some suggestions about that?

P.S.: My target platform is Windows CE 5.0.

Jonas