[Interest] How to scroll QScrollArea by number of pixels?
Igor Mironchik
igor.mironchik at gmail.com
Wed Apr 11 09:09:26 CEST 2018
Hello,
[virtual protected ] void scrollContentsBy(int dx, int dy)
On 11.04.2018 08:31, Patrick Stinson wrote:
> Hello!
>
> Is there a way to scroll a QScrollArea by a precise number of pixels on the viewport widget? Or do you have to use relative units as calculated by the size fo the scrollbar handle and slider zone of the scroll bar?
>
> Thanks!
> -Patrick
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180411/4054f816/attachment.html>
More information about the Interest
mailing list