[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] event filters vs subclassing
From:       David Douard <david.douard () logilab ! fr>
Date:       2010-08-25 6:53:56
Message-ID: 201008250853.57496.david.douard () logilab ! fr
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


> On Tue, Aug 3, 2010 at 2:27 PM, Dan Halbert <halbert@halwitz.org> wrote:
[...]
> The best solution would be if PyQt could be extended with a new
> installEventFilter method which also takes an optional list with event
> classes you are only interested in.

I strongly agree. I would be very helpful to have such python-specific 
"extensions" to Qt (thus not sticking to Qt bare API, which is something is 
already done with new style signal, IMO).

This "extension" being IMHO one of the most necessary. An other one would be 
to have the possibility to "filter" the QAbstractItemModel.data method, since 
the general case is to only be interested in implementing it for 
Qt.DisplayRole.

Regards,
David

["signature.asc" (application/pgp-signature)]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic