|
void | runScriptDialog () |
|
void | StdScript (QString filebasename) |
|
void | RecentScript (QString fn) |
|
void | slotRunScriptFile (QString fileName, bool inMainInterpreter=false) |
|
void | slotRunScriptFile (QString fileName, QStringList arguments, bool inMainInterpreter=false) |
|
void | slotRunPythonScript () |
|
void | slotRunScript (const QString script) |
|
void | slotInteractiveScript (bool) |
|
void | slotExecute () |
|
void | aboutScript () |
| Show docstring of the script to the user. I don't know how to get docstring via e.g. pydoc because of it needs to run script => error cannot find scribus module.
|
|
bool | setupMainInterpreter () |
| Does setup for the main interpreter, particularly the interactive console. True for success.
|
|
void | initExtensionScripts () |
| Sets up the plugin for extension scripts, if enabled.
|
|
void | runStartupScript () |
| Runs the startup script, if enabled.
|
|
void | languageChange () |
|
const QString & | startupScript () const |
|
bool | extensionsEnabled () const |
|
void | setStartupScript (const QString &newScript) |
|
void | setExtensionsEnabled (bool enable) |
|
void | updateSyntaxHighlighter () |
|
|
| ScripterCore (QWidget *parent) |
|
void | addToMainWindowMenu (ScribusMainWindow *) |
|
void | enableMainWindowMenu () |
|
void | disableMainWindowMenu () |
|
|
QString | returnString |
| String representation of result returned by last python console command.
|
|
QString | inValue |
| String representation of line of code to be passed to the Python interactive interpreter.
|
|
|
void | FinishScriptRun () |
|
void | ReadPlugPrefs () |
|
void | SavePlugPrefs () |
|
void | rebuildRecentScriptsMenu () |
|
void | buildScribusScriptsMenu () |
|
void | rebuildScribusScriptsMenu () |
|
|
PythonConsole * | pcon |
| Reference to the "IDE" widget.
|
|
QStringList | SavedRecentScripts |
|
QStringList | RecentScripts |
|
MenuManager * | menuMgr |
|
QMap< QString, QPointer< ScrAction > > | scrScripterActions |
|
QMap< QString, QPointer< ScrAction > > | scrRecentScriptActions |
|
bool | m_enableExtPython |
| pref: Enable access to main interpreter and 'extension scripts'
|
|
bool | m_importAllNames |
| pref: Run 'from scribus import *' at scripter startup
|
|
QString | m_startupScript |
| pref: Load this script on startup
|
|
void ScripterCore::slotRunScriptFile |
( |
QString |
fileName, |
|
|
QStringList |
arguments, |
|
|
bool |
inMainInterpreter = false |
|
) |
| |
|
slot |
run "filename" python script with the additional arguments provided in "arguments"
The documentation for this class was generated from the following files:
- /Users/ale/src/Scribus/scribus/plugins/scriptplugin/scriptercore.h
- /Users/ale/src/Scribus/scribus/plugins/scriptplugin/scriptercore.cpp