4.6. Extras Menu

Figure 4.17. Extras Menu

Extras Menu

4.6.1. Reload Module Database (Keep Cache)

Reloads the .def, .script, and .py files of modules that have been changed after the last reload. Use this to

  • add newly defined modules to the module database.

  • update changes on module interfaces and scripting.

4.6.2. Reload Module Database (Clear Cache)

Reloads all modules in the database like Section 4.6.1, “Reload Module Database (Keep Cache)” but clears the cache.


This may be slow, especially if many module panels are currently open in the network(s). To update current changes on module interfaces and scripting faster, use Section 4.6.1, “Reload Module Database (Keep Cache)”.

4.6.3. Reload Imported Python Modules

This feature is only relevant when using the Python import functionality and working on the imported modules.

Reloads imported Python modules (not MeVisLab modules that use Python). This was previously only possible via a manual reload() call or a MeVisLab restart.


After the Python modules have been reloaded, reload the MeVisLab modules that make use of the Python module(s). Otherwise the MeVisLab modules will still see the previously imported Python modules.

4.6.4. Show Global MDL Definitions...

This entry displays a list of special objects defined in the MDL, sorted by object category. This is useful to, e.g., find special control types that might not be listed in the MDL Reference.

Figure 4.18. MeVisLab Global MDL Definitions

MeVisLab Global MDL Definitions

By default the list only contains the most useful object categories. Checking the "Show All" option shows (almost) all object categories, but most of them are not immediately useful since they contain MeVisLab internals.

4.6.5. Run Module Tests...

Starts the TestCenter for a module selection, by default for the modules selected in the Module Search browser window (see Chapter 13, Module Search). By changing the filter settings in the extra window, other modules can be selected for testing. For all modules, the test cases associated with the module(s) are listed here. In case of TestWebView, only the generic test case “Formal” that is associated with all modules are available. When Finish is clicked, the test cases are run and test reports are available.

Figure 4.19. Module Selection

Module Selection


To run tests on several modules in a network, select them, open the network context menu and select Run Tests On Selection...; or use the menu entry of the same name in the Extras menu. For single modules, start the tests via the module context menu.

For further information, see the TestCenter Reference and the Getting Started, chapter 16, Using the TestCenter.

4.6.6. Run Tests On Selection...

Selects the tests associated with the currently selected modules and shows a dialog from which these tests can be started.

4.6.7. Generate Module Reference for User Packages (HTML)

Creates an HTML index for the help files of modules in the user packages (one index for each PackageGroup).

4.6.8. Show Widget Explorer

The Widget Explorer is useful for developing Qt style sheets. It can also be used for debugging module panels.

On the left side are

  • the Widget view, which displays all existing windows and widgets of the MeVisLab process hierarchically (see Figure 4.20, “MeVisLab Widget Explorer - Attributes Inspector”)

  • the Update button, which can be clicked to update the view when the GUI changes and new windows are shown

  • the CSS Selector area, which shows the class hierarchy of the currently selected widget (this can be useful for writing CSS rules)

  • the Highlight Selected Widget checkbox, which toggles if the background color of the currently selected widget is temporarily changed to yellow to ease locating the widget in the GUI (note that this does not work for all widgets, because not all draw their background themselves)

On the right side are

Figure 4.20. MeVisLab Widget Explorer - Attributes Inspector

MeVisLab Widget Explorer - Attributes Inspector

Figure 4.21. MeVisLab Widget Explorer - Style Sheet Editor

MeVisLab Widget Explorer - Style Sheet Editor

4.6.9. Debug Widgets

Enables/disables debugging module panels. CTRL+left-clicking a user interface control in a module panel opens the .script file (MDL source code of the GUI) in MATE at the line where this GUI control is defined.


To be able to jump to the definition line of the user interface control with any other text editor than MATE, the parameter %f(%l) has to be set in the Preferences, see Section 4.3.4, “Preferences — Supportive Programs”.

4.6.10. Show Connector Details

Shows detailed info about image, Inventor or base object properties currently pending on module's connectors. Activated when selecting a single module in the network. Same option as Connector Detail Info in the Preferences, see Section 4.3.7, “Preferences — Network Appearance”

4.6.11. Show Image Connector Preview

Shows image preview on a module's image connectors when selecting a single module in the network. Same option as Connector Image Preview in the Preferences, see Section 4.3.7, “Preferences — Network Appearance”.

4.6.12. Clear Image Cache

Frees cached image pages of all ML modules in currently opened networks. All image pages that are currently not in request in any module pipeline are cleared and have to be recalculated the next time they are requested. See the ML Guide for details.