Just launch QMessageBox and then continue with following code?

Printable View