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)
Field attributes supported by the delegate :
By default, creates a StarEditor as its editor.
Field Attributes Editor editable=False tooltip=’tooltip’ editable=True editable=True tooltip=’tooltip’ editable=False editable=False background_color=ColorScheme.green editable=True background_color=ColorScheme.green Static attributes supported by this editor :
Dynamic field attributes supported by the editor :