ParameterWidgetsMixin structure and API#
Note
This documentation page has been partially created using the AI-tool GPT-5.3-Codex.
ParameterWidgetsMixIn Public API#
ParameterWidgetsMixIn is a mixin class that
can be added to any QWidget subclass to provide managed creation, access,
and synchronization of ParameterWidget instances. It maintains two
internal registries:
param_widgets: mapsrefkey-> the raw I/O widget (BaseParamIoWidget).param_composite_widgets: mapsrefkey-> the fullParameterWidget.
Both are populated automatically by create_param_widget.
Note
ParameterWidgetsMixIn assumes the host class has a params
(ParameterCollection) and is
a (subclass of) QWidget with a layout manager that supports adding
widgets (e.g. QGridLayout). ParameterEditCanvas provides a
ready-to-use base class combining both.
Methods#
Method |
Description |
|---|---|
|
Create a |
|
Show or hide the |
|
Update the display of the widget registered under |
|
Atomically update both the |
|
Update the |