[PyQt] pyqt and threds, tring to write a working example

Massimo Di Stefano massimodisasha at gmail.com
Fri Sep 3 22:16:26 BST 2010


Hello All


i'm tring to learn PyQt and how to use it with threads.

the sample code is : http://paste.debian.net/87646/

the problem is at line 29 , 

i need to display in the lineEdit  " self.textout2 " 

the value displayed in " self.textout "

to show the value when i stopped the thread :

line 29 : self.textUpdated2.emit(str('trhead stopped at :  self.textUpdated.Text()'))


obviously "self.textUpdated.Text() "
is not definited in the class " EpiThread "

ho can i fix the code ?

thanks a lot for any help !

regards,

Massimo.



More information about the PyQt mailing list