[PyQt] Proposal for New-style Signals

Ewald de Wit erdewit at zonnet.nl
Tue Jan 22 14:28:15 GMT 2008

On Monday 21 January 2008 16:20:16 Phil Thompson wrote:

> Question: An alternative approach would be to define a "default" signal (in
> the .sip files) which would identify the overload to be used with the
> "short form".  As most Qt signals aren't overloaded this would mean that
> the type string would not have to be specified in the majority of cases. 
> Is this worthwhile? (My feeling is yes.)

This approach makes the common case simple and the uncommon case possible,
so it must be a good design. The less a Python user has to worry about the C++ 
signature string, the better.

My feeling is this approach would be very valuable.

  --  Ewald

More information about the PyQt mailing list