You know, you could simply use QDialog::exec() to trigger modal dialogs. I'm not 100% sure if this is the case, but you can enable tooltips for inactive windows like this:
Qt Code:
  1. dialog.setAttribute(Qt::WA_AlwaysShowToolTips);
To copy to clipboard, switch view to plain text mode