Re: [PyQt] override wheelEvent issue

2013-01-23 Thread Vicent Mas
On Wed, Jan 23, 2013 at 6:41 PM, Vincent Vande Vyvre wrote: > 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 neve

Re: [PyQt] override wheelEvent issue

2013-01-23 Thread Vincent Vande Vyvre
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() met

[PyQt] override wheelEvent issue

2013-01-23 Thread Vicent Mas
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 goe