コード例 #1
0
def dockwidgetsCall():
    global app
    global dockwindow
    pt.initializePumpThread()
    app = QtGui.qApp
    dockwindow = dockwidgets.MainWindow()
    dockwindow.show()
コード例 #2
0
ファイル: mysample_J.py プロジェクト: BigRoy/Maya-devkit
def mysample_J():
    global app
    global dialog
    pt.initializePumpThread()
    app=QtGui.qApp
    dialog = MyDialog()
    dialog.show()
コード例 #3
0
def mysample_J():
    global app
    global dialog
    pt.initializePumpThread()
    app = QtGui.qApp
    dialog = MyDialog()
    dialog.show()
コード例 #4
0
def mysampleStripped2():
    global app
    global newDialog
    pt.initializePumpThread()
    app = QtGui.qApp
    newDialog = MyDialog()
    newDialog.show()
    app.connect(app, QtCore.SIGNAL("lastWindowClosed()"), app, QtCore.SLOT("quit()"))
コード例 #5
0
def mysample():
    global app
    global dialog
    pt.initializePumpThread()
    app=QtGui.qApp
    dialog = MyDialog()
    dialog.show()
    app.connect(app, QtCore.SIGNAL("lastWindowClosed()"),
                            app, QtCore.SLOT("quit()"))
コード例 #6
0
ファイル: myMakeStuff.py プロジェクト: EricTRocks/Maya-devkit
def myMakeStuff():
    global app
    global dialog
    pt.initializePumpThread()
    app = QtGui.qApp
    dialog = MyDialog()
    dialog.show()

    app.connect(app, QtCore.SIGNAL("lastWindowClosed()"), app, QtCore.SLOT("quit()"))
コード例 #7
0
 def __init__(self):
     #Setup Debugging Variables for outside of Maya
     self.maya_enabled = True
     #Setup Paths
     self.get_maya_project_path()
     svnPath = self.mayaProjectPath + "svn"
     #Setup pysvn
     self.client = pysvn.Client(svnPath)
     self.client.callback_get_login = self.get_login
     self.client.callback_ssl_server_trust_prompt = self.ssl_server_trust_prompt
     #Setup Message Box
     pt.initializePumpThread()
     app = QtGui.QApplication(sys.argv)
     self.msgBox = MessageBox()
     #Testing Variables
     self.svnURL = "https://192.168.0.22:8443/svn/Dalek/trunk/"
コード例 #8
0
ファイル: mayaSVN_Class.py プロジェクト: Wishman/svnformaya
 def __init__(self):
     #Setup Debugging Variables for outside of Maya
     self.maya_enabled = True
     #Setup Paths
     self.get_maya_project_path()
     svnPath = self.mayaProjectPath + "svn"
     #Setup pysvn
     self.client = pysvn.Client(svnPath)
     self.client.callback_get_login = self.get_login
     self.client.callback_ssl_server_trust_prompt = self.ssl_server_trust_prompt
     #Setup Message Box
     pt.initializePumpThread()
     app = QtGui.QApplication(sys.argv)
     self.msgBox = MessageBox()
     #Testing Variables
     self.svnURL = "https://192.168.0.22:8443/svn/Dalek/trunk/"
コード例 #9
0
def maya2ABSubmit():
	global app
	global dialog
	global saveNeeded
	pt.initializePumpThread()
	app=qApp