Example #1
0
def show():
    se = scriptEditor.scriptEditorClass(parent=None)
    se.installEventFilter(MaxDialogEvents())
    se.runCommand('import MaxPlus')
    se.MaxEventFilter = MaxDialogEvents()
    se.installEventFilter(se.MaxEventFilter)
    se.show()
def show():
    se = scriptEditor.scriptEditorClass(parent=None)
    se.installEventFilter(MaxDialogEvents())
    se.runCommand('import MaxPlus')
    se.MaxEventFilter = MaxDialogEvents()
    se.installEventFilter(se.MaxEventFilter)
    se.show()
def show():
    se = scriptEditor.scriptEditorClass(parent=MaxPlus.GetQMaxWindow())
    se.installEventFilter(MaxDialogEvents())
    se.runCommand('import MaxPlus')
    se.MaxEventFilter = MaxDialogEvents()
    se.installEventFilter(se.MaxEventFilter)
    se.setWindowStyle()
    se.show()
Example #4
0
 def initUi(self):
     from pw_multiScriptEditor import scriptEditor
     self.mainWindow = qtutils.sessionWindow()
     self.widget = scriptEditor.scriptEditorClass()
     self.dialog = QtWidgets.QDockWidget("%s" % self.widget.windowTitle(),
                                         self.mainWindow)
     self.mainWindow.addDockWidget(QtCore.Qt.RightDockWidgetArea,
                                   self.dialog)
     self.dialog.setWidget(self.widget)
Example #5
0
def showDickControl():
    if pm.window(name, q=1, ex=1):
        pm.deleteUI(name)
    from pw_multiScriptEditor import scriptEditor
    reload(scriptEditor)
    editor = scriptEditor.scriptEditorClass(parent=getMayaWindow())
    clearDoc()
    pm.dockControl(dockName, area='left',
                 content=editor.objectName(),
                 width=700,
                 label='Multi Script Editor',
                 allowedArea=['right', 'left'])
Example #6
0
def showDickControl():
    if pm.window(name, q=1, ex=1):
        pm.deleteUI(name)
    from pw_multiScriptEditor import scriptEditor
    reload(scriptEditor)
    editor = scriptEditor.scriptEditorClass(parent=getMayaWindow())
    clearDoc()
    pm.dockControl(dockName,
                   area='left',
                   content=editor.objectName(),
                   width=700,
                   label='Multi Script Editor',
                   allowedArea=['right', 'left'])
Example #7
0
def showWindow():
    from pw_multiScriptEditor import scriptEditor
    reload(scriptEditor)

    editor = scriptEditor.scriptEditorClass(parent=getMayaWindow())
    editor.show()
Example #8
0
def showWindow():
    se = scriptEditor.scriptEditorClass(qNuke)
    se.runCommand('import nuke')
    se.show()
def showWindow():
    se = scriptEditor.scriptEditorClass(qNuke)
    se.runCommand('import nuke')
    se.show()
from pw_multiScriptEditor import scriptEditor
from Qt import QtWidgets

app = QtWidgets.QApplication([])
w = scriptEditor.scriptEditorClass()
w.setWindowStyle()
w.show()
app.exec_()