Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

QT4: Is it possible to make a QListView scroll smoothly?

Tags:

qt

qt4

pyqt4

I have a QListView in Icon mode with lots of icons, so that a scrollbar appears, but the scrolling is not smooth and this IMHO confuses the user since it jumps abruptly from one point to another at each scroll. I would like to make the scrolling smooth but I didn't find anything in the docs. Is it possible?

like image 416
Massimiliano Torromeo Avatar asked Jan 06 '10 21:01

Massimiliano Torromeo


1 Answers

Maybe QListView.setVerticalScrollMode(QAbstractItemView::ScrollPerPixel)

like image 200
Gary van der Merwe Avatar answered Oct 02 '22 19:10

Gary van der Merwe