smileydelegate

class camelot.view.controls.delegates.smileydelegate.SmileyDelegate(parent, editable=True, icons=[('face-angel', Icon('tango/16x16/emotes/face-angel.png')), ('face-crying', Icon('tango/16x16/emotes/face-crying.png')), ('face-devilish', Icon('tango/16x16/emotes/face-devilish.png')), ('face-glasses', Icon('tango/16x16/emotes/face-glasses.png')), ('face-grin', Icon('tango/16x16/emotes/face-grin.png')), ('face-kiss', Icon('tango/16x16/emotes/face-kiss.png')), ('face-monkey', Icon('tango/16x16/emotes/face-monkey.png')), ('face-plain', Icon('tango/16x16/emotes/face-plain.png')), ('face-sad', Icon('tango/16x16/emotes/face-sad.png')), ('face-smile', Icon('tango/16x16/emotes/face-smile.png')), ('face-smile-big', Icon('tango/16x16/emotes/face-smile-big.png')), ('face-surprise', Icon('tango/16x16/emotes/face-surprise.png')), ('face-wink', Icon('tango/16x16/emotes/face-wink.png'))], **kwargs)[source]

Delegate for Smiley’s

../../../../_images/SmileyDelegate_unselected_disabled.png ../../../../_images/SmileyDelegate_unselected_editable.png ../../../../_images/SmileyDelegate_selected_disabled.png ../../../../_images/SmileyDelegate_selected_editable.png

Field attributes supported by the delegate :

By default, creates a SmileyEditor as its editor.

Field Attributes Editor
editable=False tooltip=’tooltip’ ../../../../_images/SmileyEditor_disabled_tooltip.png
editable=True ../../../../_images/SmileyEditor_editable.png
editable=True tooltip=’tooltip’ ../../../../_images/SmileyEditor_editable_tooltip.png
editable=False ../../../../_images/SmileyEditor_disabled.png
editable=False background_color=ColorScheme.green ../../../../_images/SmileyEditor_disabled_background_color.png
editable=True background_color=ColorScheme.green ../../../../_images/SmileyEditor_editable_background_color.png

Static attributes supported by this editor :

Dynamic field attributes supported by the editor :

Previous topic

richtextdelegate

Next topic

stardelegate

This Page