First of all, you must not create widgets from other threads. There are other ways to do this - have the worker threads tell the GUI thread create them.
Second of all, if the dialogs are not modal, you can create an event filter for them and when they become visible, you transfer the focus to your widget.
Bookmarks