Quote Originally Posted by plopes21 View Post
1 programm and 2 threads. One thread to GUI and other for worker. The GUI speaks with the worker for her to do something.
This still doesn't determine what the worker thread is used for.

in my mainwindow i have 1 button ("Count to 10000").this button calls the logical thread (logical class) and count to 10000. And simultaneously is showing wait dialog.
Well... for that you don't need a worker thread.