On Friday 25 January 2013 15:05:38 Wilhelm wrote:
> Am 25.01.2013 14:04, schrieb Frank Hemer:
> > On Friday 25 January 2013 13:47:45 Wilhelm wrote:
> >> Hi all,
> >> 
> >> this may be a very dumb question: how get access to the scrollbars of a
> >> QWebView?
> >> 
> >> I want to connect to the sliderMoved() signal to store the actual
> >> position for later use.
> > 
> > You can use javascript to achieve this:-)
> 
> Well, that's weird!
> 
> No chance from C++ to do this?

Then I guess you're looking for this:

QWebFrame * frame = webView->page ()->mainFrame ();

and use frame's methods:
scrollPosition/scrollBarValue and setScroppPosition/setScrollBarValue

Frank
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to