Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved How to scroll QScrollArea by number of viewport pixels?

    General and Desktop
    1
    1
    103
    Loading More Posts
    • 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.
    • P
      patrickkidd last edited by

      As the title says, I am trying to figure out how to scroll a QScrollArea by a number of viewport pixels. The scroll bar units are set to the number of pixels on the scrollbar itself.

      This math is right in my cognitive blindspot. Does anyone have a code snippet?

      Thanks!

      https://vedanamedia.com/

      1 Reply Last reply Reply Quote 0
      • First post
        Last post