Add a stub of the program's main function
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 10 Dec 2008 15:54:28 +0000 (15:54 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 10 Dec 2008 15:54:28 +0000 (15:54 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1990 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/bertos.py

index db3fa49042c5ac94fa7104c354bc9414c0483a17..124a453106e20a01e4de3007a6daeec7f0854f94 100644 (file)
 #
 
 import sys
-import os
-
+from PyQt4.QtCore import *
+from PyQt4.QtGui import *
+import BStartPage
 
 def main():
-    pass
+    app = QApplication(sys.argv)
+    startPage = BStartPage.BStartPage()
+    wizard = QWizard()
+    wizard.setWindowTitle("Welcome in beRTOS configuration wizard")
+    wizard.addPage(startPage)
+    wizard.show()
+    sys.exit(app.exec_())
 
 
 if __name__ == '__main__':