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 *
19 class BWizard(QWizard):
22 QWizard.__init__(self)
23 self.setWindowTitle(self.tr("Create a BeRTOS project"))
25 self._connectSignals()
28 self.addPage(BFolderPage.BFolderPage())
29 self.addPage(BVersionPage.BVersionPage())
30 self.addPage(BCpuPage.BCpuPage())
32 def _connectSignals(self):
33 self.connect(self, SIGNAL("currentIdChanged(int)"), self._pageChanged)
35 def _pageChanged(self, pageId):
36 page = self.page(pageId)