| Methods |  | 
        
        | __init__ addScript
 deleteScript
 executeAction
 executeScript
 getScriptName
 getScriptNames
 
 | 
            |  | __init__ | 
        
        | 
__init__ (
        self,
        parent=None,
        g=None,
        l=None,
        *args,
        )
Constructor        Arguments
            parentparent of this scriptmanager (QObject)            gdictionary for global scope            ldictionary for local scope            *argsarguments passed on to QObject | 
            |  | addScript | 
        
        | 
addScript (
        self,
        scriptName,
        scriptString,
        )
Public method to add a new script.        Arguments
            scriptNamename of the script to be added (string or QString)            scriptStringthe script code (string or QString)         Returns            a ScriptAction object | 
            |  | deleteScript | 
        
        | 
deleteScript ( self,  scriptName )
 Public method to delete a script.        Arguments
            scriptNamename of the script to be deleted (string or QString) | 
            |  | executeAction | 
        
        | 
executeAction ( self,  action )
 Prublic slot to execute a script action.        Arguments
            actionscript action to be executed (ScriptAction) | 
            |  | executeScript | 
        
        | 
executeScript (
        self,
        scriptName,
        out=sys.stdout,
        err=sys.stderr,
        )
Public method to execute a script.        Arguments
            scriptNamename of the script to be executed (string or QString)            outredirect for stdout            errredirect for stderr         Exceptions
            NoSuchScriptErrorraised, if the named script cannot be found | 
            |  | getScriptName | 
        
        | 
getScriptName ( self )
 Private method to select a script name from the list of scripts.        Returns            Tuple of script name and a flag, indicating, if the user pressed ok or
            canceled the operation. (QString, boolean) | 
            |  | getScriptNames | 
        
        | 
getScriptNames ( self )
 Public method to retrieve the names of all scripts.        Returns            list of all script names (list of strings) |