How to scroll QScrollArea by number of viewport pixels?
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?