Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Scroll a pdf document in QPdfView
Forum Updated to NodeBB v4.3 + New Features

Scroll a pdf document in QPdfView

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 374 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Faust Faust
    wrote on last edited by
    #1

    Is it possible to programmatically scroll a pdf document in QPdfView?

    jsulmJ 1 Reply Last reply
    0
    • F Faust Faust

      Is it possible to programmatically scroll a pdf document in QPdfView?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Faust-Faust Since it inherits https://doc.qt.io/qt-6/qabstractscrollarea.html it is possible

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      F 1 Reply Last reply
      1
      • jsulmJ jsulm

        @Faust-Faust Since it inherits https://doc.qt.io/qt-6/qabstractscrollarea.html it is possible

        F Offline
        F Offline
        Faust Faust
        wrote on last edited by
        #3

        @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.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved