I know what you mean about "not only if it's working", I work for a
meteorology department at a University, it happens.
Your solution will work, but did you try my solution? Or did mine not
make sense? It might just be me, but most programmers look down on
global variables. Your solution isn
Hey,
I found a solution! I've created the thread in the main:
if __name__ == "__main__":
qApp = QtGui.QApplication([" "])
aw = ApplicationWindow()
aw.showMaximized()
thread = AThread()
sys.exit(qApp.exec_())
But I "run" thread.start() only when clicking on my button. I'll try
On 1/15/13 9:46 AM, Fabien Lafont wrote:
I've changed the program according to your remarks. It works fine! I
have only one problem. I want to start the new thread when I clik on a
QPushButton but If I just remove
thread = AThread()
thread.start()
from
if __name__ == "__main__":
Hi David, I'm sorry to answer so late. I was in Holyday.
I've changed the program according to your remarks. It works fine! I have
only one problem. I want to start the new thread when I clik on a
QPushButton but If I just remove
thread = AThread()
thread.start()
from
if __name__ == "__
Hey Fabien,
See comments below and the bottom for my final changes. Please CC me in
replies.
On 12/21/12 5:06 AM, lafont.fab...@gmail.com wrote:
Hello everyone,
I'm trying to plot live datas using matplotlib and PyQt. I need a
multithreaded program beacause I use time.sleep and it freeze com