Use dynamic load of the bertos.rcc binary resource file, generated by the Qt rcc...
[bertos.git] / wizard / bertos.py
1 #!/usr/bin/env python
2 # encoding: utf-8
3 #
4 # Copyright 2008 Develer S.r.l. (http://www.develer.com/)
5 # All rights reserved.
6 #
7 # $Id:$
8 #
9 # Author: Lorenzo Berni <duplo@develer.com>
10 #
11
12 import sys
13 from PyQt4.QtCore import *
14 from PyQt4.QtGui import *
15 import BStartPage
16 import BVersionPage
17
18 def main():
19     app = QApplication(sys.argv)
20     QResource.registerResource("bertos.rcc")
21     startPage = BStartPage.BStartPage()
22     wizard = QWizard()
23     wizard.setWindowTitle("Welcome in beRTOS configuration wizard")
24     wizard.addPage(startPage)
25     wizard.addPage(BVersionPage.BVersionPage())
26     wizard.show()
27     sys.exit(app.exec_())
28
29
30 if __name__ == '__main__':
31     main()
32