4 # Copyright 2008 Develer S.r.l. (http://www.develer.com/)
9 # Author: Lorenzo Berni <duplo@develer.com>
12 from PyQt4.QtCore import *
13 from PyQt4.QtGui import *
16 class BWizardPage(QWizardPage):
18 def __init__(self, wizardGui, parent = None):
19 QWizardPage.__init__(self, parent)
20 # TODO: see why this function call is needed for display the
21 # applications icons...
22 uic.loadUiType(wizardGui)
23 self.pageContent = uic.loadUi(wizardGui, None)
24 layout = QVBoxLayout()
25 layout.addWidget(self.pageContent)
26 self.setLayout(layout)