From: duplo Date: Mon, 20 Apr 2009 08:51:04 +0000 (+0000) Subject: Add method for showing information messageBox X-Git-Tag: 2.1.0~123 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=fdb0cd85313d7f17e5df31bbbeaf1d01838dcc39;p=bertos.git Add method for showing information messageBox git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2559 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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 ##