From fdb0cd85313d7f17e5df31bbbeaf1d01838dcc39 Mon Sep 17 00:00:00 2001 From: duplo Date: Mon, 20 Apr 2009 08:51:04 +0000 Subject: [PATCH] Add method for showing information messageBox git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2559 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BWizardPage.py | 6 ++++++ 1 file changed, 6 insertions(+) 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 ## -- 2.25.1