[PyQt] override wheelEvent issue
    Vicent Mas 
    uvemas at gmail.com
       
    Wed Jan 23 16:12:46 GMT 2013
    
    
  
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wheelevent_issue.py
Type: application/octet-stream
Size: 761 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20130123/f4fb45da/attachment.obj>
    
    
More information about the PyQt
mailing list