X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBWizardPage.py;h=dd031ed996a8665a3eb9da4f663c81ba9d38eb05;hb=3565963b4ec1a837bbf10abd8514169c678bc8af;hp=3ef8360dec67b522a6d6cdb6614955186fc8320c;hpb=6e76a376f926ae0cf878eef619bb85240b8eaf03;p=bertos.git diff --git a/wizard/BWizardPage.py b/wizard/BWizardPage.py index 3ef8360d..dd031ed9 100644 --- a/wizard/BWizardPage.py +++ b/wizard/BWizardPage.py @@ -17,8 +17,19 @@ 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()) + + def _projectInfoStore(self, key, value): + QApplication.instance().project.setInfo(key, value) + + def _projectInfoRetrieve(self, key): + return QApplication.instance().project.setInfo(key) \ No newline at end of file