[PyQt] Issue with pyqtSignal

Detlev Offenbach detlev at die-offenbachs.de
Fri Nov 4 10:23:07 GMT 2011


Hello,

I am defining a signal in one of my classes like this.

    tabRelocateRequested = pyqtSignal(int, int, int)

When this signal is emitted, the first parameter is bigger than an int (e.g. by using id()). This causes the signal receiver to get a first parameter, that is different to the value given in the emit call. How can I correct my code (code i within eric4/5).

Regards,
Detlev

Detlev Offenbach
detlev at die-offenbachs.de





More information about the PyQt mailing list