qudi.util.widgets.parameter_editor
Classes
|
Dynamically created editor widget for callable parameters. |
|
QDialog containing a ParameterEditor widget and OK, Cancel and Apply buttons. |
- class qudi.util.widgets.parameter_editor.ParameterEditor(*args, func: Callable, values: Mapping[str, Any] | None = None, **kwargs)[source]
Bases:
PySide2.QtWidgets.QWidgetDynamically created editor widget for callable parameters. For best results use default values and simple type annotations in the callable to create the editor for.
- INVALID = <object object>
- get_parameter_values() Dict[str, Any][source]
Returns the current parameter values entered into the editor
- staticMetaObject = <PySide2.QtCore.QMetaObject object>
- class qudi.util.widgets.parameter_editor.ParameterEditorDialog(*args, func: Callable, values: Mapping[str, Any] | None = None, **kwargs)[source]
Bases:
PySide2.QtWidgets.QDialogQDialog containing a ParameterEditor widget and OK, Cancel and Apply buttons.
- staticMetaObject = <PySide2.QtCore.QMetaObject object>