use Thread update many GUI
Hello, every one. I'm Phuong, I come from VietNam. I have a problem: I have a thread and I want to update many interface by signal and slot? my thread is a
variable(public) in interface 1, and I have function(public) getThread() to return this thread. And I want to update interface 2 use this thread(by signal and slot). But it is not update? Can you tell me solve?
Thanks!
Re: use Thread update many GUI
see my sig.
Maybe you just want to use moveToThread() method? All slots are invoked in the slot's instance's thread.
Re: use Thread update many GUI
Thank you for reply. I'm new member of QT, My English so bad! I still use a thread but, this thread is not an attribute of interface 1, I define it as a global variable( can use for many class), and this thread is updated two interface. Thanks for reply!
Re: use Thread update many GUI
Re: use Thread update many GUI
I have a question. I use one thread update many object GUI. But this thread have only update a gui. If I have n object want to update gui, Should I have n thread? Help me!
1 Attachment(s)
Re: use Thread update many GUI
hello for all, i tried to do a thread with qt haw i can display a videocam like this picture !!someone can help me please Attachment 7115
Re: use Thread update many GUI