Le 23/01/13 17:12, Vicent Mas a écrit : > 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. > > > _______________________________________________ > PyQt mailing list PyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt Works with Qt-4.6.2 & PyQt-4.7.2 don't works with Qt-4.8.1 & PyQt-4.9.1
Both are on Ubuntu. -- Vincent V.V. Oqapy <https://launchpad.net/oqapy> . Qarte <https://launchpad.net/qarte> . PaQager <https://launchpad.net/paqager> _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt