[Qt-interest] Is it possible to replace QWebFrame scrollbars with custom scrollbars?
Frank Hemer
frank at hemer.org
Wed Feb 17 19:14:17 CET 2010
On Wednesday 17 February 2010 17:36:34 Girish Ramakrishnan wrote:
> Frank Hemer wrote:
> > qt4.6.x:
> >
> > I didn't find a hint about this issue in the docs -
> >
> > maybe someone can clarify whether it is possible to replace the
> > scrollbars that get displayed in QWebView when showing html content with
> > customized scrollbars that inherit from QScrollBar?
>
> Create a custom QStyle that draws the scrollbar and set it on the QWebView.
Hmm - its not just the drawing ...
I have a custom scrollbar that in addition to its style has advanced
functionality used througout my application that I would like to use in
QWebFrames too ...
But I guess (didn't dig the source though) that the scrollbars are webkits
private ones?
Frank
More information about the Qt-interest-old
mailing list