Qt-UI

Blocking and Non-Blocking

Layout Example | | Threads and Processes

When a user clicks at a GUI element and the respective signal triggers an action, the UI thread is blocking while the slot executes. This means that further events in the event queue are not handled until the slot returns.

If the application needs to be running time-consuming computations in a slot, the GUI will not be responsive during that time. To keep the GUI responsive, long running computations need to be non-blocking. This is achieved by executing them concurrently to the UI thread.

Layout Example | | Threads and Processes

Options: