예제 #1
0
def QtEvents_Redo_OnEvent( in_ctxt ):
    o_command = in_ctxt.GetAttribute( "Command" )
    if o_command.ScriptingName == "Redo":
        from sisignals import signals
        signals.emit( "siRedo" )    
예제 #2
0
def QtEvents_SelectionChange_OnEvent( in_ctxt ):
    from sisignals import signals
    signals.emit( "siSelectionChange", in_ctxt.GetAttribute( "ChangeType" ) )
예제 #3
0
def QtEvents_ValueChange_OnEvent( in_ctxt ):
    from sisignals import signals
    signals.emit( "siValueChange", in_ctxt.GetAttribute( "FullName" ), in_ctxt.GetAttribute( "Object" ), in_ctxt.GetAttribute( "PreviousValue" ))
예제 #4
0
def QtEvents_DragAndDrop_OnEvent( in_ctxt ):
    from sisignals import signals
    signals.emit( "siDragAndDrop", in_ctxt.GetAttribute( "DragSource" ) )
예제 #5
0
def QtEvents_ObjectRemoved_OnEvent( in_ctxt ):
    from sisignals import signals
    signals.emit( "siObjectRemoved", in_ctxt.GetAttribute( "Objects" ) )
예제 #6
0
def QtEvents_CreateShader_OnEvent( in_ctxt ):
    from sisignals import signals
    signals.emit( "siCreateShader", in_ctxt.GetAttribute( "Shader" ), in_ctxt.GetAttribute( "ProgID" ) )
예제 #7
0
def QtEvents_SourcePathChange_OnEvent( in_ctxt ):
    from sisignals import signals
    signals.emit( "siSourcePathChange", in_ctxt.GetAttribute( "FileName" ) )
예제 #8
0
def QtEvents_ChangeProject_OnEvent( in_ctxt ):
    from sisignals import signals
    signals.emit( "siChangeProject", in_ctxt.GetAttribute( "NewProjectPath" ) )
예제 #9
0
def QtEvents_DisconnectShader_OnEvent( in_ctxt ):
    from sisignals import signals
    signals.emit( "siDisconnectShader", in_ctxt.GetAttribute( "Source" ), in_ctxt.GetAttribute( "Target" ) )
예제 #10
0
def QtEvents_SceneSave_OnEvent( in_ctxt ):
    from sisignals import signals
    signals.emit( "siSceneSave", in_ctxt.GetAttribute( "FileName" ) )
예제 #11
0
def QtEvents_PassChange_OnEvent( in_ctxt ):
    from sisignals import signals
    signals.emit( "siPassChange", in_ctxt.GetAttribute( "TargetPass" ) )
예제 #12
0
def QtEvents_RenderAbort_OnEvent( in_ctxt ):
    from sisignals import signals
    signals.emit( "siRenderAbort", in_ctxt.GetAttribute( "FileName" ), in_ctxt.GetAttribute( "Frame" ) )
예제 #13
0
def QtEvents_FileImport_OnEvent( in_ctxt ):
    from sisignals import signals
    signals.emit( "siFileImport", in_ctxt.GetAttribute( "FileName" ) )
예제 #14
0
def QtEvents_Activate_OnEvent( in_ctxt ):
    from sisignals import signals
    signals.emit( "siActivate", in_ctxt.GetAttribute( "State" ) )