Class: QgsRangeFieldFormatter¶
- class qgis.core.QgsRangeFieldFormatter¶
Bases:
QgsFieldFormatter
Field formatter for a range (double) field with precision and locale.
New in version 3.0.
QgsRangeFieldFormatter() Default constructor of field formatter for a range (double)field.
QgsRangeFieldFormatter(
QgsRangeFieldFormatter
)- id(self) str ¶
- Return type
str
- representValue(self, layer: QgsVectorLayer, fieldIndex: int, config: Dict[str, Any], cache: Any, value: Any) str ¶
- Parameters
layer (QgsVectorLayer) –
fieldIndex (int) –
config (Dict[str) –
cache (Any) –
value (Any) –
- Return type
str