MeVisLab Scripting Reference
|
#include <mlabTextEditorScriptAccess.h>
Inherits QObject.
MATE Script Interface | |
| |
void | documentCreated (MATEDocument *document) |
void | currentDocumentChanged (MATEDocument *document) |
void | loadingSessionStarted (const QString &sessionFilename) |
void | loadingSessionFinished (const QString &sessionFilename) |
void | closingSessionStarted (const QString &sessionFilename) |
void | closingSessionFinished (const QString &sessionFilename) |
QList< MATEDocument * > | documents () |
MATEDocument * | openDocument (const QString &filename) |
MATEDocument * | getDocument (const QString &filename) |
MATEDocument * | activeDocument () |
void | showWidgetExplorer () |
void | setNewLogfile (const QString &logFile, bool logAsHTML=false) |
This class is the scripting interface for MATE. It is not available in MeVisLab and should be used in user scripts.
|
slot |
Returns the active document, or returns NULL if there is no active document.
|
signal |
This signal is emitted when a session finished closing.
|
signal |
This signal is emitted when a session starts closing.
During this currentDocumentChanged will be emitted for each closed document.
|
signal |
This signal is emitted when the current document has changed. The document may be NULL if the last document was closed.
|
signal |
This signal is emitted when a document is created (either when creating a new one or when loading a file).
|
slot |
Returns all open documents.
|
slot |
Returns the document for the given filename, or returns NULL if is not open.
|
signal |
This signal is emitted when a session finished loaded.
|
signal |
This signal is emitted when a session starts loading.
During this loading documentCreated will be emitted for each restored document.
|
slot |
Creates a document and opens the given file in it. If it is already open, it will be activated.
|
slot |
Changes the logfile of MATE.
|
slot |
Shows the widget explorer.