From: duplo Date: Wed, 10 Dec 2008 15:54:28 +0000 (+0000) Subject: Add a stub of the program's main function X-Git-Tag: 2.1.0~692 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=62daf2c2387363780ef8f64e90e94ed527fbf58b;p=bertos.git Add a stub of the program's main function git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1990 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/bertos.py b/wizard/bertos.py index db3fa490..124a4531 100644 --- a/wizard/bertos.py +++ b/wizard/bertos.py @@ -10,11 +10,18 @@ # 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__':