Class: QgsExpressionBasedNumericFormat¶
A numeric formatter which uses a QgsExpression
to calculate
the text representation of a value.
Added in version 3.40.
Class Hierarchy¶
Base classes¶
Abstract base class for numeric formatters, which allow for formatting a numeric value for display. |
Methods
Returns the expression used to calculate the text representation of a value. |
|
Sets the expression used to calculate the text representation of a value. |
- class qgis.core.QgsExpressionBasedNumericFormat[source]¶
Bases:
QgsNumericFormat
- expression(self) str [source]¶
Returns the expression used to calculate the text representation of a value.
See also
- Return type:
str