QWebView - Scrolling / PageDown
-
Hi,
You can try to set scroll position on QWebFrame - "doc":http://doc.qt.digia.com/qt/qwebframe.html#scrollPosition-prop
-
Check the Scroll Position of the Page's Main frame...
@QPoint currentPosition = webView->page()->mainFrame()->scrollPosition();
if (currentPosition.y() == webView->page()->mainFrame()->scrollBarMinimum(Qt::Vertical))
{
qDebug() << "Start Scroll Position";
}if (currentPosition.y() == webView->page()->mainFrame()->scrollBarMaximum(Qt::Vertical))
{
qDebug() << "End Scroll Position";
}
@