Пример #1
0
def launch(sProject, argv):

    app = QtGui.QApplication(argv)

    #print QtGui.QStyleFactory.keys()
    app.setStyle("Cleanlooks")

    mainWin = AssetBrowserWindow(WINDOW_NAME)
    mainWin.show()

    if sProject:
        mainWin.setProject(sProject)

    sys.exit(app.exec_())
Пример #2
0
def launch(sProject, argv):

    app = qtGuiApp()
    if not app:
        app = QtGui.QApplication(argv)

    #print QtGui.QStyleFactory.keys()
    #app.setStyle("Cleanlooks")

    loadPrefs()

    mainWin = AssetBrowserWindow(WINDOW_NAME)
    mainWin.show()

    if sProject:
        mainWin.setProject(sProject)

    status = app.exec_()
    sys.exit(status)