Module implementing the scripting component of the eric3 IDE.
CompilationError | Class implementing an exception, which is raised, if a script couldn't be compiled. |
ExecutionError | Class implementing an exception, which is raised, if a script couldn't be executed. |
NoSuchScriptError | Class implementing an exception, which is raised, if a script couldn't be found. |
ScriptAction | Class implementing the script action. |
ScriptError | Base class for all scripting related exceptions. |
ScriptManager | Class implementing the script manager. |
None |
Class implementing an exception, which is raised, if a script couldn't be compiled.
CompilationError | Constructor |
__repr__ | Private method returning a representation of the exception. |
__str__ | Private method returning a string representation of the exception. |
Constructor
Private method returning a representation of the exception.
Private method returning a string representation of the exception.
Class implementing an exception, which is raised, if a script couldn't be executed.
ExecutionError | Constructor |
__repr__ | Private method returning a representation of the exception. |
__str__ | Private method returning a string representation of the exception. |
Constructor
Private method returning a representation of the exception.
Private method returning a string representation of the exception.
Class implementing an exception, which is raised, if a script couldn't be found.
NoSuchScriptError | Constructor |
__repr__ | Private method returning a representation of the exception. |
__str__ | Private method returning a string representation of the exception. |
Constructor
Private method returning a representation of the exception.
Private method returning a string representation of the exception.
Class implementing the script action. This class is subclassed from QAction to have the possibility to attach it to menus and toolbars.
ScriptAction | Constructor |
__compile | Private method to compile the code string. |
activated | Private method connected to the QAction activated signal. |
addTo | Public method to add this action to a widget. |
execute | Public method to execute this script. |
remove | Public method to remove this action. |
removeFrom | Public method to remove this action from a widget. |
Constructor
Private method to compile the code string.
Private method connected to the QAction activated signal.
Public method to add this action to a widget. Overloaded from QAction in order to keep a list of widgets we are added to.
Public method to execute this script.
Public method to remove this action.
Public method to remove this action from a widget. Overloaded from QAction in order to keep a list of widgets we are added to.
Base class for all scripting related exceptions.
None |
Class implementing the script manager.
ScriptManager | Constructor |
addScript | Public method to add a new script. |
deleteScript | Public method to delete a script. |
executeAction | Public slot to execute a script action. |
executeScript | Public method to execute a script. |
getScriptName | Private method to select a script name from the list of scripts. |
getScriptNames | Public method to retrieve the names of all scripts. |
Constructor
Public method to add a new script.
Public method to delete a script.
Public slot to execute a script action.
Public method to execute a script.
Private method to select a script name from the list of scripts.
Public method to retrieve the names of all scripts.