Re: [PyQt] QRunnable issue

2011-07-24 Thread Jeremy Sanders
Ameretat Reith wrote: > old style signal/slot works in this way. > Note: > I'm just joined in this mailing list and don't know main issue for this > topic. sorry if it's not related to main issue. :) Thanks to you both! Jeremy -- http://www.jeremysanders.net/ _

Re: [PyQt] QRunnable issue

2011-07-23 Thread Ameretat Reith
old style signal/slot works in this way. Note: I'm just joined in this mailing list and don't know main issue for this topic. sorry if it's not related to main issue. :) import sys from PyQt4 import QtCore, QtGui class Runnable(QtCore.QRunnable): lock = QtCore.QReadWriteLock() counter = 0

Re: [PyQt] QRunnable issue

2011-07-22 Thread Hans-Peter Jansen
On Monday 18 July 2011, 20:36:53 Jeremy Sanders wrote: > Hi - I'm having problems with the following code where a QRunnable > emits a signal then ends. If you click the button it should print > 1,2,3. It sometimes works for the first few times but the wrong > number of arguments is given to the slo

[PyQt] QRunnable issue

2011-07-22 Thread Jeremy Sanders
Hi - I'm having problems with the following code where a QRunnable emits a signal then ends. If you click the button it should print 1,2,3. It sometimes works for the first few times but the wrong number of arguments is given to the slot after that. Is this a PyQt bug? I'm using 4.8.3 on Ubuntu