X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=wizard%2FBWizardPage.py;h=4eb9915b5fed6331639fb0aa431d2da44ce3ae6c;hb=c9548deb3275b044cd5f4fbc941598a7a442b836;hp=699dd9dcbbc71c3e667910d59a4777b1769e3f67;hpb=a102e74fe3f3c3932ce45f4cce5f63216d47b484;p=bertos.git diff --git a/wizard/BWizardPage.py b/wizard/BWizardPage.py index 699dd9dc..4eb9915b 100644 --- a/wizard/BWizardPage.py +++ b/wizard/BWizardPage.py @@ -17,10 +17,13 @@ class BWizardPage(QWizardPage): def __init__(self, wizardGui, parent = None): QWizardPage.__init__(self, parent) - # TODO: see why this function call is needed for display the - # application 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()) \ No newline at end of file