Re: [Interest] How to scroll QScrollArea by number of pixels?

2018-04-11 Thread Igor Mironchik
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

[Interest] How to scroll QScrollArea by number of pixels?

2018-04-10 Thread Patrick Stinson
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 smime.p7s Description: S/MIME cryptographic signature