AttributeOverride

class caqtus.gui.autogen.AttributeOverride(
label: str | None = attr_dict['label'].default,
editor_factory: EditorFactory | None = attr_dict['editor_factory'].default,
tooltip: str | None = attr_dict['tooltip'].default,
order: int = attr_dict['order'].default,
)

Bases: object

Overrides for the automatic generation of an attribute editor.

label

The label to use for the attribute.

Type:

str | None

editor_factory

The editor factory to use for the attribute.

Type:

caqtus.gui.autogen._editor_builder._editor_builder.EditorFactory | None

tooltip

The tooltip to show for the attribute.

Type:

str | None

order

The order in which to show the attribute in the editor. Attributes will be listed in ascending order. Default is 0.

Type:

int