MeVisLab uses Qt for rendering the GUI (panels, etc.) and offers a scripting interface.
Every module comes with an automatic panel on which all fields and available settings are listed.
For improving the handling, user interfaces (“panels”) can be added for modules, see Figure 3.19, “Automatic and Settings Panel of View2D” for an example. Panels are written in MDL and offer the following possibilities:
layouting and grouping of fields
excluding some of the available fields (to make the panels more user-friendly)
adding additional fields
adding additional functionality by calling script methods
The components of the user interface are controls.
User input controls, like text and number edit controls; popup menus, radio buttons, checkboxes, and trigger buttons. They are typically, but not necessarily linked to a field. Several controls can be linked to the same field.
Layout controls, like for horizontal/vertical grouping.
Decoration controls, complex controls, dynamic controls, etc.
To these controls, scripting can be added.
An example for the programming of a small module panel is given in Section 10.2, “Adding the Macro Parameters and Panel”.
Tip | |
---|---|
See the |
For further details on panel scripting, please refer to the MDL Reference.
© 2024 MeVis Medical Solutions AG