X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBWizardPage.py;h=d33c9cbad4d932c43ab11f681631cf4df2797bbc;hb=322a49d2595b4709c7206f38e06f9b02696f1273;hp=b278de117b19a3727ca97e50e6850069f4e74337;hpb=18e7fed95d1d14964877d461841200a5c7f7f4d6;p=bertos.git diff --git a/wizard/BWizardPage.py b/wizard/BWizardPage.py index b278de11..d33c9cba 100644 --- a/wizard/BWizardPage.py +++ b/wizard/BWizardPage.py @@ -17,10 +17,22 @@ class BWizardPage(QWizardPage): def __init__(self, wizardGui, parent = None): QWizardPage.__init__(self, parent) - # TODO: see why this function call is needed for display the - # applications icons... - uic.loadUiType(wizardGui) 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.info(key) + + def reloadData(self): + pass \ No newline at end of file