[PyQt] Scroll-by-row in QTableView using mouse wheel

Benno Dielmann lists at benno-dielmann.de
Mon Jul 7 13:31:02 BST 2008


Hi there, 

I'd like my QTableView to scroll one row at a time when using the mouse wheel. 
On my KDE 3.5.9 it always scrolls three rows at once. 

Is there any convenient way I missed to adjust this or do I have to subclass 
QTableView, catch the MouseWheel event and do the scrolling by myself?

Thanks in advance for any hints on this, 

Benno. 


More information about the PyQt mailing list