Printable View
can anyone please tell me how to display an error message in a new dialog box?
have a look at the doc of QMessageBox