Add method for showing information messageBox
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 20 Apr 2009 08:51:04 +0000 (08:51 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 20 Apr 2009 08:51:04 +0000 (08:51 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2559 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BWizardPage.py

index e516c69d72b9cb2eab57eb51dcef64316cda6c63..8fa44c1e1304da964b5cc1d4c8f527cff7ec5e39 100644 (file)
@@ -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 ##