[PyQt] signal/slot vs Qt.UniqueConnection ?

Zoltan Szalai defaultdict at gmail.com
Thu Apr 7 11:49:43 BST 2011


Hi,

I'm quite sure I'm missing something fundamental here but I can't get 
QObject.connect to work as expected when using Qt.UniqueConnection as a 
connection type.
I attached some code that demonstrates my problem. I would expect that 
the slot is called only once.

versions:
PyQt4: 4.8.3
Qt: 4.7.0
sip: 4.12.1
python: 2.6.5

thx
Zoli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uniqueconnection_test.py
Type: text/x-python
Size: 606 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110407/6cc8290a/attachment.py>


More information about the PyQt mailing list