X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=wizard%2FBWizardPage.py;h=8fa44c1e1304da964b5cc1d4c8f527cff7ec5e39;hb=d6dad7eb666d458f5d0df9bcf9b7dac1b109eb85;hp=e516c69d72b9cb2eab57eb51dcef64316cda6c63;hpb=166b09310df7d5829ea832c707278dd38bff8a2d;p=bertos.git diff --git a/wizard/BWizardPage.py b/wizard/BWizardPage.py index e516c69d..8fa44c1e 100644 --- a/wizard/BWizardPage.py +++ b/wizard/BWizardPage.py @@ -35,6 +35,12 @@ class BWizardPage(QWizardPage): Simple message box showing method. """ QMessageBox.critical(self, self.tr("Error occurred"), message, QMessageBox.Ok, QMessageBox.NoButton) + + def showMessage(self, title, message): + """ + Show an information message box with title and message. + """ + QMessageBox.information(self, title, message) ## BProject interaction methods ##