[PyQt] Is the result of SIGNAL() a constant?

nytmyn nytmyn at gmail.com
Wed Jan 9 23:03:06 GMT 2008


I've played with signals and slots in PyQt about 2 month ago and came to
this:
- Qt signals added to Qt classes with names as in qt, implemented using
__get__ protocol,
so calls like connect(w.signal, w.slot) are possible
- overloaded signals - there are not many of them - e.g: clicked() and
clicked(bool)
are named the same way as in QtJambi - clicked() --> clicked, clicked(bool)
--> clickedBool
- class Signal used for declaring signals in Python
But it's nothing more then a quick prototype :)
Source code should be here:  http://www.nabble.com/file/p14723864/QtUtil.py
QtUtil.py 
Jakub

-- 
View this message in context: http://www.nabble.com/Is-the-result-of-SIGNAL%28%29-a-constant--tp14699105p14723864.html
Sent from the PyQt mailing list archive at Nabble.com.



More information about the PyQt mailing list