Re: [PyQt] Issue with pyqtSignal

2011-11-05 Thread Detlev Offenbach
Am 05.11.2011 um 14:48 schrieb Phil Thompson: > On Sat, 5 Nov 2011 10:05:45 +0100, Detlev Offenbach > wrote: >> Am 04.11.2011 um 18:04 schrieb Phil Thompson: >> >>> On Fri, 4 Nov 2011 11:23:07 +0100, Detlev Offenbach >>> wrote: Hello, I am defining a signal in one of my classes

Re: [PyQt] Issue with pyqtSignal

2011-11-05 Thread Phil Thompson
On Sat, 5 Nov 2011 10:05:45 +0100, Detlev Offenbach wrote: > Am 04.11.2011 um 18:04 schrieb Phil Thompson: > >> On Fri, 4 Nov 2011 11:23:07 +0100, Detlev Offenbach >> wrote: >>> Hello, >>> >>> I am defining a signal in one of my classes like this. >>> >>>tabRelocateRequested = pyqtSignal(i

Re: [PyQt] Issue with pyqtSignal

2011-11-05 Thread Detlev Offenbach
Am 04.11.2011 um 18:04 schrieb Phil Thompson: > On Fri, 4 Nov 2011 11:23:07 +0100, Detlev Offenbach > 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

Re: [PyQt] Issue with pyqtSignal

2011-11-04 Thread Phil Thompson
On Fri, 4 Nov 2011 11:23:07 +0100, Detlev Offenbach 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

Re: [PyQt] Issue with pyqtSignal

2011-11-04 Thread Brett Stottlemyer
If the functions you are connecting are in python, you can use PyQt_PyObject as the type. That just passes the reference around, and everything works fine. I'm not sure about a good solution if you need to handle the type in C/C++. Brett -Original Message- From: pyqt-boun...@riverbankco