__init__(self,
value,
(settings, attrname)=(None,None),
edit_type=0,
value_default=None,
value_min=None,
value_max=None,
value_list=[],
value_step=None,
need_restart=False)
(Constructor)
| source code
|
:param value: the current value :type value: any std types :param
settings: the object, which contains `attrname` as property and provide
the parameter changes :type settings: object (Settings) :param attrname:
the parameter name, which is available as property in `settings` object.
:type attrname: str :param edit_type: the editor type will be detected
automatically by default. For different editors you can set manually the
`EDIT_TYPE_*` :type edit_type: int (`EDIT_TYPE_*`) :param value_default:
the default value, is needed for reset functionality :param value_min:
the maximum value (used by int or float) :param value_max: the minimum
value (used by int or float) :param value_list: the list of values used
for comboboxes
|