On 14.09.09 22:50:04, Soumen banerjee wrote: > Hello, > I have a program with the following structure > 1st thread which reads lines from a file > 2nd a gui thread which contains(among other things) a textEdit > As the line is read from the file I want to display it in the text > box. When I use the settext method of the textedit object from the 1st > thread, it comes up with an error:
Make yourself familiar with multi-thread programming. In particular look into Qt's queued-connect-signals and/or how to post custom events. Look at the threads and network examples. Andreas -- Today is the first day of the rest of the mess. _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
