4 # Copyright 2008 Develer S.r.l. (http://www.develer.com/)
9 # Author: Lorenzo Berni <duplo@develer.com>
14 from distutils.dep_util import newer
16 from PyQt4.QtCore import *
17 from PyQt4.QtGui import *
24 from BFolderPage import BFolderPage
25 from BVersionPage import BVersionPage
26 from BCpuPage import BCpuPage
27 from BToolchainPage import BToolchainPage
28 from BModulePage import BModulePage
29 from BOutputPage import BOutputPage
30 from BCreationPage import BCreationPage
31 from BFinalPage import BFinalPage
36 page_list = [BFolderPage, BVersionPage, BCpuPage, BToolchainPage, BModulePage, BOutputPage, BCreationPage, BFinalPage]
37 wizard = BWizard.BWizard(page_list)
42 page_list = [BVersionPage, BCpuPage, BToolchainPage, BModulePage, BOutputPage, BCreationPage, BFinalPage]
43 wizard = BWizard.BWizard(page_list)
48 QApplication.instance().dialog = BStartPage.BStartPage()
49 QApplication.instance().connect(QApplication.instance().dialog, SIGNAL("newProject"), newProject)
50 QApplication.instance().connect(QApplication.instance().dialog, SIGNAL("editProject"), editProject)
51 QApplication.instance().dialog.show()
54 app = QApplication(sys.argv)
55 app.settings = QSettings("Develer", "Bertos Configurator")
56 app.project = BProject.BProject()
57 if newer("bertos.qrc", "bertos.rcc"):
58 os.system("rcc -binary bertos.qrc > bertos.rcc")
59 QResource.registerResource("bertos.rcc")
63 if __name__ == '__main__':