[PyQt] New style signals question
Baz Walter
bazwal at ftml.net
Wed Aug 4 20:20:11 BST 2010
On 04/08/10 20:07, Phil Thompson wrote:
> Specific overloads are obtained by indexing the bound signal with the
> signature you want, so...
>
> act.triggered[()].connect(self.myslot)
can you explain why i see errors like this when using that syntax:
File "menusys.py", line 1522, in __init__
self.triggered[()].connect(handler)
TypeError: focusNextChild() has no overload that is compatible with
triggered()
the old style would simply throw away any excess arguments.
More information about the PyQt
mailing list