Scroll a pdf document in QPdfView
-
Is it possible to programmatically scroll a pdf document in QPdfView?
-
Is it possible to programmatically scroll a pdf document in QPdfView?
@Faust-Faust Since it inherits https://doc.qt.io/qt-6/qabstractscrollarea.html it is possible
-
@Faust-Faust Since it inherits https://doc.qt.io/qt-6/qabstractscrollarea.html it is possible
@jsulm said in Scroll a pdf document in QPdfView:
@Faust-Faust Since it inherits https://doc.qt.io/qt-6/qabstractscrollarea.html it is possible
I knew, but he didn't give me the method.
QScrollBar *scrol = view->verticalScrollBar();
scrol->setSliderPosition(scrol->sliderPosition() + 100);
Thank you.