From 0321d9515e74bcdef2471d41963c86ae5c2196f2 Mon Sep 17 00:00:00 2001 From: duplo Date: Wed, 4 Feb 2009 09:27:39 +0000 Subject: [PATCH] Add a method for display the occurred error git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2256 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BWizardPage.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wizard/BWizardPage.py b/wizard/BWizardPage.py index 7f7039af..dd1ccc95 100644 --- a/wizard/BWizardPage.py +++ b/wizard/BWizardPage.py @@ -24,6 +24,9 @@ class BWizardPage(QWizardPage): layout.addWidget(self.pageContent) self.setLayout(layout) + def _exceptionOccurred(self, message): + QMessageBox.critical(self, self.tr("Error occurred"), message, QMessageBox.Ok, QMessageBox.NoButton) + def _settingsStore(self, key, value): QApplication.instance().settings.setValue(QString(key), value) -- 2.25.1