Add the folder selection wizard page
[bertos.git] / wizard / BWizardPage.py
index 3ef8360dec67b522a6d6cdb6614955186fc8320c..4eb9915b5fed6331639fb0aa431d2da44ce3ae6c 100644 (file)
@@ -17,8 +17,13 @@ class BWizardPage(QWizardPage):
     
     def __init__(self, wizardGui, parent = None):
         QWizardPage.__init__(self, parent)
-        uic.loadUiType("start.ui")
         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