Add the bertos versions in the settings
[bertos.git] / wizard / bertos.py
index db3fa49042c5ac94fa7104c354bc9414c0483a17..78a42b0844f6302575ebf7c9ee6be6a20ff3604e 100644 (file)
 #
 
 import sys
-import os
-
+from PyQt4.QtCore import *
+from PyQt4.QtGui import *
+import BStartPage
+import BVersionPage
 
 def main():
-    pass
+    app = QApplication(sys.argv)
+    app.settings = QSettings("Develer", "Bertos Configurator")
+    QResource.registerResource("bertos.rcc")
+    startPage = BStartPage.BStartPage()
+    wizard = QWizard()
+    wizard.setWindowTitle("Welcome in beRTOS configuration wizard")
+    wizard.addPage(startPage)
+    wizard.addPage(BVersionPage.BVersionPage())
+    wizard.show()
+    sys.exit(app.exec_())
 
 
 if __name__ == '__main__':