From: duplo Date: Wed, 17 Dec 2008 16:16:52 +0000 (+0000) Subject: Add the CPU select page to the wizard X-Git-Tag: 2.1.0~616 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=1dc20d252c2bf85262d1f4ac4c63982d337849f7;p=bertos.git Add the CPU select page to the wizard git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2066 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/bertos.py b/wizard/bertos.py index 80001466..387da00c 100644 --- a/wizard/bertos.py +++ b/wizard/bertos.py @@ -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_())