Class DefaultTargetMixin
object --+
|
DefaultTargetMixin
Use this mixin to enable get default Target behavior from a custom
object the way it works for standard widgets like QCheckBox and
QLineEdit. It is up to the subclass to implement targetGetValue and
targetSetValue as well as to emit the targetValueChanged signal with the
new value at the appropriate time.
After subclassing, the new custom object can be passed in as the obj
argument to the Target constructor.
Using this mixin requires that the class also inherits from
QObject.
|
|
|
|
|
targetSetValue(self,
value) |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|