genre | Visualization |
author | Olaf Konrad |
package | MeVisLab/Standard |
dll | MLBase |
definition | MLBase.def |
see also | Diagram2D, SoView2DMarkerEditor, StylePalette |
keywords | Curve, color, line, marker, markerlist, type, user, defined, index |
The module this provides a StylePalette with a adjustable number of style entries.
All style entries can be edited. The edited styles are persisted on saving the network where the module is in.
The dynamic style palette can be filled by three means:
The field stylesString is the field interface to the internal style palette.
It reflects the styles and their parameters if the styles have been copied by an attached StylePalette or if the styles have been added via the GUI. Also, changing the string itself (interactively or by scripting) changes the output style palette and the list of styles on the module's GUI.
The format of the styles string is as follows:
Auto apply parameters: Bool | stylesString: String |
Auto read input StylePalette: Bool | Update From Parameters: Trigger |
Enable Editing: Bool | |
listViewString: String | |
Num. Reserved Entries: Integer | |
Num. Styles: Integer | |
Read In Style Palette: Trigger | |
StylePalette is valid: Bool |
If pressed, the list on the GUI and the output style palette are recomputed based on the stylesString.
If checked, the stylesString and the output style palette are updated if the input StylePalette changes.
If checked, the module updates the stylesString, the GUI, and the output StylePalette on changing the Num. Styles.
If pressed, the attached StylePalette is read in anew, leading to an update of the stylesString, the GUI, and the output StylePalette.
Shows whether the output StylePalette is valid.