monthsdelegate

class camelot.view.controls.delegates.monthsdelegate.MonthsDelegate(parent=None, forever=2400, **kwargs)[source]

MonthsDelegate

custom delegate for showing and editing months and years
../../../../_images/MonthsDelegate_unselected_disabled.png ../../../../_images/MonthsDelegate_unselected_editable.png ../../../../_images/MonthsDelegate_selected_disabled.png ../../../../_images/MonthsDelegate_selected_editable.png

Field attributes supported by the delegate :

  • forever

By default, creates a MonthsEditor as its editor.

Field Attributes Editor
editable=False tooltip=’tooltip’ ../../../../_images/MonthsEditor_disabled_tooltip.png
editable=True ../../../../_images/MonthsEditor_editable.png
editable=True tooltip=’tooltip’ ../../../../_images/MonthsEditor_editable_tooltip.png
editable=False ../../../../_images/MonthsEditor_disabled.png
editable=False background_color=ColorScheme.green ../../../../_images/MonthsEditor_disabled_background_color.png
editable=True background_color=ColorScheme.green ../../../../_images/MonthsEditor_editable_background_color.png

Static attributes supported by this editor :

Dynamic field attributes supported by the editor :

editor

alias of MonthsEditor