Hi,

I have a subclass of QScrollBar and I'd like to customize how it
handles the QEvent.Wheel event. My first idea was to override its
wheelEvent() method, but this method gets never called when I wheel
the scrollbar. If I override the event() method and filter the wheel
events then everything goes fine. I'd like to know why my first
approach (to override the wheelEvent() method) fails. The attached
script shows the problem.


TIA

Vicent

--
Share what you know, learn what you don't.

Attachment: wheelevent_issue.py
Description: Binary data

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to