title: Qt modal dialog and main process
body: <p>I have a program which executes some process in main window and I need a modal dialog with some custom elements to be shown over it to show the progress. It also must block user interaction with main window. Main process should run while dialog is shown.
  Which way is better (in qt) for this purpose?</p>