Re: passing tuple with pyqt4 signal/slot mechanism

2007-04-27 Thread Phil Thompson
On Friday 27 April 2007 1:20 am, Pradnyesh Sawant wrote: > > In the first version it didn't. In the second version it did. > > in my case, it didn't in the second version either??? > > > The version of PyQt? The version of SIP? The version of Qt? > > python2.4: 2.4.4~c1-0ubuntu1 > pyqt4:

Re: passing tuple with pyqt4 signal/slot mechanism

2007-04-26 Thread Pradnyesh Sawant
> In the first version it didn't. In the second version it did. in my case, it didn't in the second version either??? > The version of PyQt? The version of SIP? The version of Qt? python2.4: 2.4.4~c1-0ubuntu1 pyqt4: 4.0.1-1ubuntu1 python-sip4: 4.4.5-2ubuntu1 qt4:

Re: passing tuple with pyqt4 signal/slot mechanism

2007-04-26 Thread Phil Thompson
On Thursday 26 April 2007 6:34 pm, Pradnyesh Sawant wrote: > > > Also, in the modified code, why aint the method setLabel getting > > > called? > > > > Works for me, > > Does the "setLabel" method get called in your case? In your previous > reply, you mentioned that it doesn't. Can you tell me the

Re: passing tuple with pyqt4 signal/slot mechanism

2007-04-26 Thread Pradnyesh Sawant
> > Also, in the modified code, why aint the method setLabel getting called? > > Works for me, Does the "setLabel" method get called in your case? In your previous reply, you mentioned that it doesn't. Can you tell me the reason why? > and I still don't know what versions you are using and on > whi

Re: passing tuple with pyqt4 signal/slot mechanism

2007-04-26 Thread Phil Thompson
On Thursday 26 April 2007 4:49 pm, Pradnyesh Sawant wrote: > Thanks for the reply Phil. Actually, as mentioned earlier, the code > that i sent was stripped; while stripping, i missed some things (class > D should have a run method). Also, i tried your suggestion of > connecting before emitting the

Re: passing tuple with pyqt4 signal/slot mechanism

2007-04-26 Thread Pradnyesh Sawant
Thanks for the reply Phil. Actually, as mentioned earlier, the code that i sent was stripped; while stripping, i missed some things (class D should have a run method). Also, i tried your suggestion of connecting before emitting the signal, but am still getting the same output (in the original code)

Re: passing tuple with pyqt4 signal/slot mechanism

2007-04-26 Thread Phil Thompson
On Thursday 26 April 2007 3:41 pm, Diez B. Roggisch wrote: > Pradnyesh Sawant schrieb: > > Hello, > > I have a pyqt4 code in which i'm trying the signal/slot mechanism. The > > (stripped) code is as follows: > > > > class D(QtCore.QThread): > >def __init__(self): > >QtCore.QThread.__ini

Re: passing tuple with pyqt4 signal/slot mechanism

2007-04-26 Thread Diez B. Roggisch
Pradnyesh Sawant schrieb: > Hello, > I have a pyqt4 code in which i'm trying the signal/slot mechanism. The > (stripped) code is as follows: > > class D(QtCore.QThread): >def __init__(self): >QtCore.QThread.__init__(self) >tpl = ("Primary", "priSec") >print "tpl:", tpl

Re: passing tuple with pyqt4 signal/slot mechanism

2007-04-26 Thread Phil Thompson
On Thursday 26 April 2007 3:16 pm, Pradnyesh Sawant wrote: > Hello, > I have a pyqt4 code in which i'm trying the signal/slot mechanism. The > (stripped) code is as follows: > > class D(QtCore.QThread): > def __init__(self): > QtCore.QThread.__init__(self) > tpl = ("Primary", "p

passing tuple with pyqt4 signal/slot mechanism

2007-04-26 Thread Pradnyesh Sawant
Hello, I have a pyqt4 code in which i'm trying the signal/slot mechanism. The (stripped) code is as follows: class D(QtCore.QThread): def __init__(self): QtCore.QThread.__init__(self) tpl = ("Primary", "priSec") print "tpl:", tpl self.emit(QtCore.SIGNAL("setLabe