exopy.instruments.widgets.instrument_selection module¶
Widgets used to select a model.
-
class
exopy.instruments.widgets.instrument_selection.
ModelSelectionDialog
(parent=None, **kwargs)¶ Bases:
enaml.widgets.dialog.Dialog
Dialog allowing to choose an instrument model.
-
instr_model
¶ 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.
-
plugin
¶
-
-
class
exopy.instruments.widgets.instrument_selection.
ModelSelectionWidget
(parent=None, **kwargs)¶ Bases:
enaml.widgets.container.Container
Widget displaying All the known instruments models as a tree.
Models can be filtered by kind and series diplayed or hidden.
-
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.
-
model
¶ 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.
-
plugin
¶ 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.
-
use_series
¶ 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.instruments.widgets.instrument_selection.
ModelView
(parent=None, **kwargs)¶ Bases:
enaml.widgets.container.Container
View summarizing the infos about a specific model.
-
layout_constraints
¶
-
model
¶ 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.
-