Add the settings handling method
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 15 Dec 2008 14:31:55 +0000 (14:31 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 15 Dec 2008 14:31:55 +0000 (14:31 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2030 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BWizardPage.py

index 4233fc5baf8e3d559e52f6119bc61cce5192e6bc..4eb9915b5fed6331639fb0aa431d2da44ce3ae6c 100644 (file)
@@ -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