On 23.11.2010 23:42, ext Chris Morgan wrote:
I think it's well worth while specifying how multiple arguments will
work, which may not necessarily be obvious - signal.activated[unicode,
int].connect(myfunc) (gives __getitem__ a tuple, no need for extra ()
around it).

OK, I'll add that (although this PSEP is not about specifying the complete signal connection syntax, but just a specific special case).

If the target function has been decorated with QtCore.Slot, specifying
the signature/s it wants, I also think it would be nice if
signal.activated.connect(target) would use that/those rather than
raising an error.

I'd like to hear the opinion of the core dev team members here - is this feasible to implement?

Cheers,

ma.
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to