exopy.measurement.workspace.tools_edition module¶
Widgets dedicated to edit the tools attached to a measurement.
-
class
exopy.measurement.workspace.tools_edition.
NonEditableTool
(parent=None, **kwargs)¶ Bases:
enaml.widgets.container.Container
Widget used when the make_view method of the tool declaration return None
-
msg
¶
-
tool
¶ A value which allows objects of a given type or types.
Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.
The value of an Instance may be set to None.
-
-
class
exopy.measurement.workspace.tools_edition.
ToolSelector
(parent=None, **kwargs)¶ Bases:
enaml.widgets.dialog.Dialog
Simple dialog to select a tool.
-
find_decl
¶
-
kind
¶ A value which allows objects of a given type or types.
Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.
The value of an Instance may be set to None.
-
measurement
¶ A value which allows objects of a given type or types.
Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.
The value of an Instance may be set to None.
-
selected_decl
¶ A value which allows objects of a given type or types.
Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.
The value of an Instance may be set to None.
-
-
class
exopy.measurement.workspace.tools_edition.
ToolsEditor
(parent=None, **kwargs)¶ Bases:
exopy.utils.enaml_destroy_hook.add_destroy_hook.<locals>.Destroyable
Widget used to edit the tools parameters of a measurement.
-
kind
¶ A value which allows objects of a given type or types.
Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.
The value of an Instance may be set to None.
-
make_view
¶
-
mandatory_tools
¶ A value which allows objects of a given type or types.
Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.
The value of an Instance may be set to None.
-
measurement
¶ A value which allows objects of a given type or types.
Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.
The value of an Instance may be set to None.
-
selected_id
¶
-
update_items
¶
-
-
class
exopy.measurement.workspace.tools_edition.
ToolsEditorDockItem
(parent=None, **kwargs)¶ Bases:
enaml.widgets.dock_item.DockItem
DockItem for editing the tools attached to a measurement.
-
measurement
¶ A value which allows objects of a given type or types.
Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.
The value of an Instance may be set to None.
-