exopy.measurement.editors.database_access_editor.editor module

Editor allowing to extend the accessibility of database entries.

By default database entries are only uvailable to task on the same level or to children task. By using access exceptions one can go round those limitations.

class exopy.measurement.editors.database_access_editor.editor.BlueLabel(parent=None, **kwargs)

Bases: enaml.styling.StyleSheet

Style sheet setting the background to lighblue

For unclear reasons this gives more consistent results than setting the background member.

class exopy.measurement.editors.database_access_editor.editor.DatabaseAccessEditor(parent=None, **kwargs)

Bases: exopy.measurement.editors.base_editor.BaseEditor

Editor allowing to extend the accessibility of database entries.

database_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.

discard_view
set_view_for
view_for
class exopy.measurement.editors.database_access_editor.editor.NodeEditor(parent=None, **kwargs)

Bases: enaml.widgets.group_box.GroupBox

Access editor for a NodeModel.

node

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.

populate_nodes
refresh
root

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.

show_children

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.