You still can emit signals from a running thread, that, connected to slots in MainWindow would modify the textEdit. You can set the thread class to be a member of MainWindow if you like, but the best solution would be having the thread and MainWindow as two separate classes. The connection can be made in main.cpp.




Reply With Quote
Bookmarks