[PyQt] simpler 'connect' function
Peter Shinners
pshinners at blizzard.com
Wed Jan 16 17:58:18 GMT 2008
Pete Shinners:
> Creating a method or constant for each type of signal does solve
> "d" and "f", but comes at a cost.
>
> 1) Adds new methods or symbols that are not a part of Qt.
> 2) Breaks non-qt widgets that have custom signals.
> 3) Ambiguity for overloaded signals like QComboBox's "activated".
>
> There is no cost to enhancing connect to work as a method, other
> than remembering there is another calling style.
Also do not forget the creating of signals in Python. The usefulness of
Pyqt's short circuited signals would require a tricky framework to work
the same as the predefined signals inside Qt.
_______________________________________________
PyQt mailing list PyQt at riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
More information about the PyQt
mailing list