From 2cdf862d2d9f2f752a2668ebd19f290348ab986e Mon Sep 17 00:00:00 2001 From: duplo Date: Mon, 15 Dec 2008 14:31:55 +0000 Subject: [PATCH] Add the settings handling method git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2030 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BWizardPage.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/wizard/BWizardPage.py b/wizard/BWizardPage.py index 4233fc5b..4eb9915b 100644 --- a/wizard/BWizardPage.py +++ b/wizard/BWizardPage.py @@ -20,4 +20,10 @@ class BWizardPage(QWizardPage): self.pageContent = uic.loadUi(wizardGui, None) layout = QVBoxLayout() layout.addWidget(self.pageContent) - self.setLayout(layout) \ No newline at end of file + self.setLayout(layout) + + def _settingsStore(self, key, value): + QApplication.instance().settings.setValue(QString(key), QVariant(value)) + + def _settingsRetrieve(self, key): + return QApplication.instance().settings.value(QString(key), QVariant()) \ No newline at end of file -- 2.25.1