+ self.addPage(BCpuPage.BCpuPage())
+ self.addPage(BToolchainPage.BToolchainPage())
+ self.addPage(BModulePage.BModulePage())
+ self.addPage(BOutputPage.BOutputPage())
+ self.addPage(BCreationPage.BCreationPage())
+ self.addPage(BFinalPage.BFinalPage())
+
+ def _connectSignals(self):
+ """
+ Connects the signals with the related slots.
+ """
+ self.connect(self, SIGNAL("currentIdChanged(int)"), self._pageChanged)
+
+ def _pageChanged(self, pageId):
+ """
+ Slot called when the user change the current page. It calls the reloadData
+ method of the next page.
+ """
+ page = self.page(pageId)
+ if page is not None:
+ page.reloadData()
+
+ def project(self):
+ """
+ Returns the BProject associated with the wizard.
+ """
+ return copy.deepcopy(QApplication.instance().project)