### Navigation

- index
- modules |
- next |
- previous |
- Camelot documentation »
- Camelot API »
- view »
- controls »
- delegates »

# integerdelegate

class `camelot.view.controls.delegates.integerdelegate.``IntegerDelegate`(minimum=-2147483648, maximum=2147483647, parent=None, unicode_format=None, **kwargs)

  Custom delegate for integer values

  Field attributes supported by the delegate :

  > - minimum
  > - maximum
  > - unicode_format

  By default, creates a IntegerEditor 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 :

  > - minimum
  > - maximum
  > - calculator
  > - option
  > - field_name

  Dynamic field attributes supported by the editor :

  > - editable
  > - background_color
  > - tooltip
  > - prefix
  > - suffix
  > - nullable
  > - single_step

  `editor`

    alias of `IntegerEditor`

### Navigation

- index
- modules |
- next |
- previous |
- Camelot documentation »
- Camelot API »
- view »
- controls »
- delegates »

Comments
blog comments powered by Disqus