Add the wait cursor while validating toolchains
[bertos.git] / wizard / BWizard.py
index 9e227fa645c2b35cd9256edf13444777e9974b2e..a9bff88f0990f5e4caf90bf2709301ef9194ac4e 100644 (file)
@@ -9,6 +9,8 @@
 # Author: Lorenzo Berni <duplo@develer.com>
 #
 
+import copy
+
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 
@@ -17,6 +19,8 @@ import BVersionPage
 import BCpuPage
 import BToolchainPage
 import BModulePage
+import BOutputPage
+import BCreationPage
 
 class BWizard(QWizard):
     
@@ -34,6 +38,8 @@ class BWizard(QWizard):
         self.addPage(BCpuPage.BCpuPage())
         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)
@@ -44,4 +50,7 @@ class BWizard(QWizard):
             prevPage.saveData()
         page = self.page(pageId)
         if page is not None:
-            page.reloadData()
\ No newline at end of file
+            page.reloadData()
+    
+    def project(self):
+        return copy.deepcopy(QApplication.instance().project)
\ No newline at end of file