[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: RE: [PyQt] simpler 'connect' function
From: "Peter Shinners" <pshinners () blizzard ! com>
Date: 2008-01-16 17:58:18
Message-ID: EFF2EC227B08C542A0A947FF5D1A99F106323BE7 () BL-EXCHANGE ! corp ! blizzard ! net
[Download RAW message or body]
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@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic