def ExecRootApp():
    check_dependencies()
    root = QApplication(argv)
    app = Initialize()
    app.setWindowIcon(QIcon('rsc/icon.ico'))
    app.center(),app.show()
    exit(root.exec_())
Beispiel #2
0
def ExecRootApp():
    check_dependencies()
    root = QApplication(argv)
    app = Initialize()
    app.setWindowIcon(QIcon('rsc/icon.ico'))
    app.center(), app.show()
    exit(root.exec_())
#!/usr/bin/env python2.7
from sys import argv
from PyQt4.QtGui import *
from Core.Main import Initialize
from Core.check import check_dependencies
if __name__ == '__main__':
    check_dependencies()
    root = QApplication(argv)
    app = Initialize(None)
    app.setWindowIcon(QIcon('rsc/icon.ico'))
    app.center()
    app.show()
    root.exec_()