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 PySide2 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 PySide2 import QtCore, QtWidgets 22 23 if self.__pyQtApp is None: 24 self.__pyQtApp = QtWidgets.QApplication.instance() 25 return self.__pyQtApp26 27 30 31 35 36
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Sep 25 20:04:13 2019 | http://epydoc.sourceforge.net |