I have my main thread running my GUI. It's basically idle, waiting for user input. At some point a Timer expires and a piece of code runs in another thread. I want that piece of code to cause things to happen in the main thread that will, ultimately, cause the GUI to get updated (specifically a widget to get redrawn).
I'm not sure how to arrange this. My understanding is that the GUI can only be updated from the main thread, so my timer code needs to "poke" the main thread to cause it to go and do something. I have a bit of code that will update my model, and hence will eventually trigger an update to the Qt-Jambi-based view, but how do I get that bit of code executed by the main thread? The main thread is, is I understand it, sitting in the Qt event loop waiting for something to happen. How do I make "something happen" from my other thread? _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
