You can communicate with a widget (or several widgets) and a thread by using signal and slot.
Just have a look at the Qt demo.
The only thing you have to take into account is that the GUI thread (the one that is drawing yours widgets onto the screen) is independant.
You can not ask, within a thread, to draw something into the screen.




Reply With Quote

Bookmarks