| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
sip.simplewrapper --+
|
sip.wrapper --+
|
PyQt5.QtCore.QObject --+
|
Target
Describes a target that maps to a model param.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
Returns the way to access the target - either get its value, set its value, or the signal to listen to that signifies a value change. This takes in either a custom setter/getter/signal, DEFAULT, or None.
|
Given an object, return the default setter/getter/signal for the object.
For example,
self._getDefaultAccess(my_line_edit, AccessType.setter)
will return the function my_line_edit.setText, since that is the default
setter for a QLineEdit. Information about default access for each object
type is found in the DEFAULT_ACCESS_NAMES dictionary. Raises a
ValueError if the default access cannot be found.
@param obj: the target object
@param access_type: which sort of access we are looking for
@type access_type: AccessType
|
We connect this slot to the target's specific signal and emit the generic targetChanged signal with the new value. This provides a uniform interface for the mapper to connect to. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Aug 8 02:53:12 2017 | http://epydoc.sourceforge.net |