Add the CreateProject page
[bertos.git] / wizard / BWizard.py
index d9dc4994a9660e46b1cc8ef9a9e17af0bf10c2f5..a9bff88f0990f5e4caf90bf2709301ef9194ac4e 100644 (file)
@@ -20,6 +20,7 @@ import BCpuPage
 import BToolchainPage
 import BModulePage
 import BOutputPage
+import BCreationPage
 
 class BWizard(QWizard):
     
@@ -38,6 +39,7 @@ class BWizard(QWizard):
         self.addPage(BToolchainPage.BToolchainPage())
         self.addPage(BModulePage.BModulePage())
         self.addPage(BOutputPage.BOutputPage())
+        self.addPage(BCreationPage.BCreationPage())
     
     def _connectSignals(self):
         self.connect(self, SIGNAL("currentIdChanged(int)"), self._pageChanged)
@@ -50,5 +52,5 @@ class BWizard(QWizard):
         if page is not None:
             page.reloadData()
     
-    def _project(self):
+    def project(self):
         return copy.deepcopy(QApplication.instance().project)
\ No newline at end of file