4 # Copyright 2008 Develer S.r.l. (http://www.develer.com/)
9 # Author: Lorenzo Berni <duplo@develer.com>
13 from distutils.dep_util import newer
15 from PyQt4.QtCore import *
16 from PyQt4.QtGui import *
24 wizard = BWizard.BWizard()
32 QApplication.instance().dialog = BStartPage.BStartPage()
33 QApplication.instance().connect(QApplication.instance().dialog, SIGNAL("newProject"), newProject)
34 QApplication.instance().connect(QApplication.instance().dialog, SIGNAL("editProject"), editProject)
35 QApplication.instance().dialog.show()
38 app = QApplication(sys.argv)
39 app.settings = QSettings("Develer", "Bertos Configurator")
40 app.project = BProject.BProject()
41 if newer("bertos.qrc", "bertos.rcc"):
42 os.system("rcc -binary bertos.qrc > bertos.rcc")
43 QResource.registerResource("bertos.rcc")
47 if __name__ == '__main__':