[PyQt] Pyqt 5.7.1 no signature compatible with focusChanged

Florian Bruhin me at the-compiler.org
Sat Aug 27 22:40:16 BST 2016

* oliver <oliver.schoenborn at gmail.com> [2016-08-26 21:39:55 +0000]:
> @pyqtSlot(QWidget, QWidget)

This should be 'QWidget*' because that's what the function takes - not
a QWidget, but a pointer to it.

> - does it matter of we don't use pyqtSlot decorator (if not,  why not?)

Probably not apart from the slight speed difference mentioned in the

> - should we be using Google an event filter instead, or is it equivalent
> (just want to catch keyboard focus changes)

Probably that'd be harder to implement.


http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160827/8c7d4b87/attachment.sig>

More information about the PyQt mailing list