Add the CPU select page to the wizard
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 17 Dec 2008 16:16:52 +0000 (16:16 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 17 Dec 2008 16:16:52 +0000 (16:16 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2066 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/bertos.py

index 80001466c8bd9548c0a80e3e5966caa9967ff4f5..387da00c2550342a6294e9c0bd47e24200099350 100644 (file)
@@ -14,16 +14,20 @@ import sys
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 
+import BProject
+
 import BStartPage
 
 import BFolderPage
 import BVersionPage
+import BCpuPage
 
 def newProject():
     wizard = QWizard()
     wizard.setWindowTitle("Create a BeRTOS project")
     wizard.addPage(BFolderPage.BFolderPage())
     wizard.addPage(BVersionPage.BVersionPage())
+    wizard.addPage(BCpuPage.BCpuPage())
     wizard.show()
     wizard.exec_()
     
@@ -39,6 +43,7 @@ def showStartPage():
 def main():
     app = QApplication(sys.argv)
     app.settings = QSettings("Develer", "Bertos Configurator")
+    app.project = BProject.BProject()
     QResource.registerResource("bertos.rcc")
     showStartPage()
     sys.exit(app.exec_())