MeVisLab Scripting Reference
|
Inherits QMainWindow.
Public Slots | |
Access to IDE features. | |
| |
MLABIDENetworkWindow * | currentDocument () |
void | setCurrentDocument (MLABIDENetworkWindow *window) |
bool | hasOpenDocuments () |
QList< MLABNetwork * > | getOpenNetworks () |
QList< MLABIDENetworkWindow * > | getOpenDocuments () |
MLABIDENetworkWindow * | newDocument () |
MLABIDENetworkWindow * | ensureEmptyDocument () |
void | load () |
void | save () |
void | saveAs () |
void | saveCopyAs () |
void | revertToSaved () |
void | closeCurrentDocument (bool closeWithRequester=true) |
void | closeAll (bool silent=false) |
void | activateNextDocument () |
void | activatePrevDocument () |
void | activateNextDocumentViaTabKey () |
void | activatePrevDocumentViaTabKey () |
void | openInternalNetwork (MLABMacroModule *module, bool centerToSelection=true, bool openNetworkTabAfterCurrentNetworkTab=false) |
bool | closeInternalNetworkWithRequester (MLABMacroModule *module) |
void | closeInternalNetwork (MLABMacroModule *module) |
void | showDocumentForNetwork (MLABNetwork *network, bool centerToSelection=true) |
MLABIDENetworkWindow * | loadDocument (const QString &fn, bool ignoreAutoSaveFile=false) |
MLABIDENetworkWindow * | getDocumentForFilename (const QString &fn) |
MLABIDENetworkWindow * | getDocumentForMacro (MLABMacroModule *macro) |
MLABIDENetworkWindow * | getDocumentForNetwork (MLABNetwork *network) |
void | makeVisible () |
void | about () |
QString | recentNetworkFilePath () |
QStringList | recentNetworkFiles () |
void | addRecentlyOpened (const QString &fileName) |
void | addRecentTestCase (const QString &name, const QVariantMap &settings) |
void | runTestCase (const QString &name, const QVariantMap &settings) |
void | runLastTestCase () |
void | restartWithCurrentNetwork () |
void | launchNewInstance () |
void | message (const QString &msg=QString()) |
void | showShortlivedMessage (const QString &msg) |
void | showOpenPanelsForNetwork (MLABNetwork *network) |
void | minimizeAllOpenVisiblePanels () |
void | showAllMinimizedPanelsNormal () |
bool | closeAllPanels () |
void | closePanelsOfCurrentNetwork () |
void | undo () |
void | redo () |
void | clearUndoHistory () |
void | cutSelection () |
void | copySelection () |
void | pasteSelection () |
void | cloneSelection () |
void | deleteSelection () |
void | selectAll () |
void | deselectAll () |
void | invertSelection () |
void | showPanelsOfSelectedModules () |
void | reloadSelectedModules () |
void | showScriptConsole () |
void | editNetworkScript () |
void | startNetworkScript () |
void | showAll () |
void | showSelection () |
void | zoomIn () |
void | zoomOut () |
void | zoom100Percent () |
void | macToggleFullScreen () |
void | macCustomizeTouchBar () |
void | createLocalMacro (const QString &name=QString()) |
void | addLocalMacro () |
void | runTesterOnNetwork () |
void | showQuickSearchInNetworkWidget () |
void | focusSearchInMeVisLab () |
void | showSearchInDocumentationWindow () |
void | alignTopEdges () |
void | alignVerticalCenters () |
void | alignBottomEdges () |
void | alignLeftEdges () |
void | alignHorizontalCenters () |
void | alignRightEdges () |
void | distributeVertically () |
void | distributeHorizontally () |
void | addModule (const QString &name, bool allowPlacementAtCursor=true) |
void | runApplication (const QString &name) |
void | runApplicationLicenseManager () |
void | runToolRunner () |
void | runUserScript () |
void | runLastUserScript () |
void | runUserScript (const QString &filename, const QStringList &args=QStringList()) |
void | clearCache () |
void | showHelp () |
void | showHelpForSelectedModule () |
void | debugWidgets (bool flag) |
void | connectorDetailInfo (bool flag) |
void | connectorImagePreview (bool flag) |
void | hidePanelsOfInvisibleNetworks (bool flag) |
void | runTester () |
void | showTestCaseManager () |
void | showGlobalMDLDefinitions () |
void | showModuleWizard () |
void | showPreferences () |
void | showWelcome () |
void | reloadPythonModules (bool silently=false) |
void | reloadUpdatedSharedLibraries () |
void | showIntegratedTextEditor () |
void | openFileInIntegratedTextEditor () |
void | toggleScriptDebugging () |
void | updateScriptDebugging (bool enabled) |
void | closeRunningApplication (const QString &name) |
Main application window for the MDI interface of MLAB.
Only one instance of the MLABIDEMainWindow is created and can be accessed by calling the self() method. The main window contains a number of docking windows and stores its state with MLABSettings. It automatically creates its menus and toolbars from the mlabPrefs globalTree.
|
slot |
Shows the 'about' dialog.
|
slot |
Shows next window.
|
slot |
Shows next window.
|
slot |
Shows previous window.
|
slot |
Shows previous window.
|
slot |
Adds the recently opened file to the file list.
|
slot |
Add the recently started test case.
|
slot |
Closes all open document windows.
If the flag "silent" is set, all windows will be closed without a saving prompt for changed windows.
|
slot |
Closes all panels.
|
slot |
Closes current document window.
|
slot |
Closes the internal network document if not already done by user.
|
slot |
Close the internal network, but the user can abort this (if the internal network has changed).
Returns whether the network should actually be closed.
|
slot |
Closes all panels of the current network.
|
slot |
Allows to close a running application, e.g. "TestCaseManager".
|
slot |
Returns the current document (may be NULL).
|
slot |
Makes sure there is an unnamed and empty network windows that is visible.
|
slot |
Returns the document window if the file is already opened, else returns NULL.
|
slot |
Returns the document for an opened internal network of the given macro module.
|
slot |
Returns the document for an opened network (which can be either a untitled or named loaded mlab file, or the internal network of a macro.) Returns NULL if the IDE has not open document for the given network.
|
slot |
Returns a list of all open documents.
|
slot |
Returns a list of all open networks.
|
slot |
Returns whether loaded documents exist.
|
slot |
Launches a new instance of MeVisLab.
|
slot |
Loads a dpcument with a dialog.
|
slot |
Loads the document given by filename (returns the new or existing window).
|
slot |
Shows this main IDE window again (if it was hidden or not previously shown).
|
slot |
Shows a message in the status bar.
|
slot |
Minimizes all open and visible panels.
|
slot |
Creates an empty untitled document.
|
slot |
Opens the internal network of the MLABMacroModule as document (handled special compared to normal documents).
|
slot |
Returns the recent network file path.
|
inlineslot |
Returns a list of recent network files.
|
slot |
Restarts MeVisLab with the current network file.
|
slot |
Reverts to saved copy.
|
slot |
Runs the last test case that has been executed.
|
slot |
Run the test case with the given settings.
|
slot |
Runs the given userScript (also records the filename as last executed user script).
|
slot |
Saves the document.
|
slot |
Save as file.
|
slot |
Saves file to...
|
slot |
Sets the current document.
|
slot |
Opens all minimized panels in normal mode.
|
slot |
Shows the document window for the given network.
|
slot |
Shows all opened panels for the given network.
|
slot |
Shows a short-lived message in the status bar.
|
slot |
Forwarded calls: