Subgroup: other
Class: QgsListFieldFormatter¶
-
class
qgis.core.
QgsListFieldFormatter
¶ Bases:
qgis._core.QgsFieldFormatter
Field formatter for a list field. This represents a list type value. Values will be represented as a comma-separated list.
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
If the default sort order should be overwritten for this widget, you can transform the value in here. Attributes
-
id
(self) → str¶
-
representValue
(self, layer: QgsVectorLayer, fieldIndex: int, config: Dict[str, Any], cache: Any, value: Any) → str¶
-