stardelegate

class camelot.view.controls.delegates.stardelegate.StarDelegate(parent=None, editable=True, maximum=5, **kwargs)[source]

Delegate for integer values from ( default from 1 to 5)(Rating Delegate)

../../../../_images/StarDelegate_unselected_disabled.png ../../../../_images/StarDelegate_unselected_editable.png ../../../../_images/StarDelegate_selected_disabled.png ../../../../_images/StarDelegate_selected_editable.png

Field attributes supported by the delegate :

By default, creates a StarEditor as its editor.

Field Attributes Editor
editable=False tooltip=’tooltip’ ../../../../_images/StarEditor_disabled_tooltip.png
editable=True ../../../../_images/StarEditor_editable.png
editable=True tooltip=’tooltip’ ../../../../_images/StarEditor_editable_tooltip.png
editable=False ../../../../_images/StarEditor_disabled.png
editable=False background_color=ColorScheme.green ../../../../_images/StarEditor_disabled_background_color.png
editable=True background_color=ColorScheme.green ../../../../_images/StarEditor_editable_background_color.png

Static attributes supported by this editor :

Dynamic field attributes supported by the editor :