[PyQt] Issue with pyqtSignal

Phil Thompson phil at riverbankcomputing.com
Fri Nov 4 17:04:40 GMT 2011


On Fri, 4 Nov 2011 11:23:07 +0100, Detlev Offenbach
<detlev at die-offenbachs.de> wrote:
> 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).

Use long instead of int?

Phil


More information about the PyQt mailing list