[Development] QScroller behavior with QAbstractItemView subclasses

Adam Treat adam.treat at qt.io
Wed Aug 7 17:51:15 CEST 2019


Hi,

In working on https://bugreports.qt.io/browse/QTBUG-64543 I've seen that 
the QAbstractItemView::autoScroll property interferes with QScroller 
managing the flick/scroll. The problematic behavior goes away if users 
of the API manually set this property to false on the instance of 
QAbstractItemView subclass, but ideally when using a QScroller we should 
have a way to turn this autoscroll behavior off automatically. Since 
QScroller does not know anything of the target that it is using... what 
is the best way to do this?

Cheers,
Adam


More information about the Development mailing list