projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add LPC2378 CPU detection.
[bertos.git]
/
wizard
/
BWizardPage.py
diff --git
a/wizard/BWizardPage.py
b/wizard/BWizardPage.py
index 980cb45cf788784321f848660d25086230d56753..be66756206897d489e8c33cb82187f4340e7e65b 100644
(file)
--- a/
wizard/BWizardPage.py
+++ b/
wizard/BWizardPage.py
@@
-33,12
+33,16
@@
# Author: Lorenzo Berni <duplo@develer.com>
#
# Author: Lorenzo Berni <duplo@develer.com>
#
+import os
+
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4 import uic
import qvariant_converter
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4 import uic
import qvariant_converter
+import const
+
class BWizardPage(QWizardPage):
"""
Base class for all the wizard pages. It has the utility method used in all
class BWizardPage(QWizardPage):
"""
Base class for all the wizard pages. It has the utility method used in all
@@
-47,7
+51,7
@@
class BWizardPage(QWizardPage):
def __init__(self, wizardGui, parent = None):
QWizardPage.__init__(self, parent)
def __init__(self, wizardGui, parent = None):
QWizardPage.__init__(self, parent)
- self.pageContent = uic.loadUi(
wizardGui
, None)
+ self.pageContent = uic.loadUi(
os.path.join(const.DATA_DIR, wizardGui)
, None)
layout = QVBoxLayout()
layout.addWidget(self.pageContent)
self.setLayout(layout)
layout = QVBoxLayout()
layout.addWidget(self.pageContent)
self.setLayout(layout)