title: Qt How to open QDialog when main application done fully to load all widgets
body: <p>Hello all
  I have main windows application and I like to popup dialog for settings when the application (the qMainWindow)<br>
  Is fully loaded ? I tried to just in the main window constructor:  </p>
  
  <pre><code>SettingsDialog settingsDialog;
  settingsDialog.exec();
  </code></pre>
  
  <p>but when I start my application I see the QDialog and the main window minimized in the background<br>
  what I need that my main windows will be in the background but not minimized and the QDialog in the middle blocking the main 
  windows until ok button is preset   </p>