richtextdelegate

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

Custom delegate for rich text (HTML) string values

../../../../_images/RichTextDelegate_unselected_disabled.png ../../../../_images/RichTextDelegate_unselected_editable.png ../../../../_images/RichTextDelegate_selected_disabled.png ../../../../_images/RichTextDelegate_selected_editable.png

Field attributes supported by the delegate :

By default, creates a RichTextEditor as its editor.

Field Attributes Editor
editable=False tooltip=’tooltip’ ../../../../_images/RichTextEditor_disabled_tooltip.png
editable=True ../../../../_images/RichTextEditor_editable.png
editable=True tooltip=’tooltip’ ../../../../_images/RichTextEditor_editable_tooltip.png
editable=False ../../../../_images/RichTextEditor_disabled.png
editable=False background_color=ColorScheme.green ../../../../_images/RichTextEditor_disabled_background_color.png
editable=True background_color=ColorScheme.green ../../../../_images/RichTextEditor_editable_background_color.png

Static attributes supported by this editor :

Dynamic field attributes supported by the editor :

Previous topic

plaintextdelegate

Next topic

smileydelegate

This Page