On Thu, 22 Jun 2006 19:54:44 -0700, Kenneth B Harris wrote: [...] > Your ideas did lead to a solution, though: a global event filter (as in > your example) that watches for QWheelEvent where obj.parent() is a > QSpinBox. For some reason, it sends events from a plain QObject > instance. I can post an example (120 lines) that shows my 3 failed > approaches and the one that worked, if anybody likes. :-) That would be interesting to see. The QObject may just be a widget without a corresponding Python wrapper. You should be able to obtain its class name via its className() method. > > It's all a matter of where you install the event filter, and > > how much dirty tricks you can stand ;-). See attached script > > et.py as a starter. > > I was hoping for "no dirty tricks at all", or "692 dirty tricks, so I > have an excuse to upgrade to PyQt4". :-) Do you really need an excuse for that?! ;-) David _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde