Trees | Indices | Help |
|
---|
|
1 # Copyright (c) 2009 The Foundry Visionmongers Ltd. All Rights Reserved. 2 3 import nuke 4 from nukescripts import pyAppUtils 57 """ Helper class to initialise PyQt in a separate thread """ 84010 try: 11 if self.__pyQtApp: pass 12 except: 13 super(pyQtAppHelper, self).__init__(start) 14 self.__pyQtApp = None 15 16 if start: 17 self.start(argv)18 1921 from PyQt4 import QtCore 22 from PyQt4 import QtGui 23 if self.__pyQtApp is None: 24 self.__pyQtApp = QtGui.QApplication(argv) 25 return self.__pyQtApp26 27 30 31 35 36
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jun 30 18:46:45 2017 | http://epydoc.sourceforge.net |