I wonder why this doesn't work?
webView->triggerPageAction(QWebPage::MoveToEndOfDocument);
webView->triggerPageAction(QWebPage::MoveToEndOfDocument);
To copy to clipboard, switch view to plain text mode
I wanted to scroll to the top so did:
webView->page()->mainFrame()->setScrollBarValue(Qt::Vertical, 0);
webView->page()->mainFrame()->setScrollBarValue(Qt::Vertical, 0);
To copy to clipboard, switch view to plain text mode
Anyone know how to scroll to say chapters of a page?
I suppose you could do similar and hard code scrollbar position, but that would be ugly, especially if the HTML is modified.
Bookmarks