Adapt the bertos.py startup script for the new BWizard class
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 18 Dec 2008 12:05:59 +0000 (12:05 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 18 Dec 2008 12:05:59 +0000 (12:05 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2077 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/bertos.py

index 387da00c2550342a6294e9c0bd47e24200099350..fea420da7aa053292863824bd98a72dc213b1b35 100644 (file)
@@ -17,17 +17,10 @@ from PyQt4.QtGui import *
 import BProject
 
 import BStartPage
-
-import BFolderPage
-import BVersionPage
-import BCpuPage
+import BWizard
 
 def newProject():
-    wizard = QWizard()
-    wizard.setWindowTitle("Create a BeRTOS project")
-    wizard.addPage(BFolderPage.BFolderPage())
-    wizard.addPage(BVersionPage.BVersionPage())
-    wizard.addPage(BCpuPage.BCpuPage())
+    wizard = BWizard.BWizard()
     wizard.show()
     wizard.exec_()