Subgroup: Relation
Class: QgsRelationReferenceFieldFormatter¶
-
class
qgis.core.
QgsRelationReferenceFieldFormatter
¶ Bases:
qgis._core.QgsFieldFormatter
Field formatter for a relation reference field. A value relation field formatter looks up the values from features on another layer.
New in version 3.0: Methods
alignmentFlag
Return the alignment for a particular field. createCache
Create a cache for a given field. id
representValue
sortValue
Attributes
-
id
(self) → str¶
-
representValue
(self, layer: QgsVectorLayer, fieldIndex: int, config: Dict[str, Any], cache: Any, value: Any) → str¶
-
sortValue
(self, layer: QgsVectorLayer, fieldIndex: int, config: Dict[str, Any], cache: Any, value: Any) → Any¶
-