TimeLaneDelegate

class caqtus.gui.condetrol.timelanes_editor.TimeLaneDelegate

Bases: QStyledItemDelegate

A delegate to display and edit the cells of a time lane.

set_device_configurations(
device_configurations: Mapping[DeviceName, DeviceConfiguration],
) None

Set the device configurations.

This method is called when the device configurations are updated. The delegate should use this information to update the appearance of the lane cells or editor if they depend on the device configurations.

set_parameter_names(
parameter_names: Set[str],
) None

Update the name of the parameters used in the sequence.

This method is called when the parameter names are updated. The delegate should use this information to update the appearance of the lane cells or editors if they depend on the parameter names.