X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fbertos.py;h=78a42b0844f6302575ebf7c9ee6be6a20ff3604e;hb=aeeabf9cf483f9729f324baa2d50855e54bc0201;hp=db3fa49042c5ac94fa7104c354bc9414c0483a17;hpb=41444fbd11857041fb3646491987ba8f93f0083e;p=bertos.git diff --git a/wizard/bertos.py b/wizard/bertos.py index db3fa490..78a42b08 100644 --- a/wizard/bertos.py +++ b/wizard/bertos.py @@ -10,11 +10,22 @@ # 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__':