labeldelegate

class camelot.view.controls.delegates.labeldelegate.LabelDelegate(parent=None, editable=True, **kwargs)[source]

Delegate to display an attribute as a label

../../../../_images/LabelDelegate_unselected_disabled.png ../../../../_images/LabelDelegate_unselected_editable.png ../../../../_images/LabelDelegate_selected_disabled.png ../../../../_images/LabelDelegate_selected_editable.png

By default, creates a LabelEditor as its editor.

Field Attributes Editor
editable=False tooltip=’tooltip’ ../../../../_images/LabelEditor_disabled_tooltip.png
editable=True ../../../../_images/LabelEditor_editable.png
editable=True tooltip=’tooltip’ ../../../../_images/LabelEditor_editable_tooltip.png
editable=False ../../../../_images/LabelEditor_disabled.png
editable=False background_color=ColorScheme.green ../../../../_images/LabelEditor_disabled_background_color.png
editable=True background_color=ColorScheme.green ../../../../_images/LabelEditor_editable_background_color.png

Static attributes supported by this editor :

Dynamic field attributes supported by the editor :

Previous topic

intervalsdelegate

Next topic

languagedelegate

This Page