Class: QgsPercentageNumericFormat¶
A numeric formatter which returns a text representation of a percentage value.
Added in version 3.12.
Class Hierarchy¶
Base classes¶
A numeric formatter which returns a simple text representation of a value. |
|
Abstract base class for numeric formatters, which allow for formatting a numeric value for display. |
Methods
Returns the format of the incoming values. |
|
Sets the format of the incoming values. |
Attributes
- class qgis.core.QgsPercentageNumericFormat[source]¶
Bases:
QgsBasicNumericFormat
- __init__()
Default constructor
- __init__(a0: QgsPercentageNumericFormat)
- Parameters:
- class InputValues¶
Bases:
int
- ValuesAreFractions = 1¶
- ValuesArePercentage = 0¶
- inputValues(self) QgsPercentageNumericFormat.InputValues [source]¶
Returns the format of the incoming values.
See also
- Return type:
- setInputValues(self, format: QgsPercentageNumericFormat.InputValues)[source]¶
Sets the
format
of the incoming values.See also
- Parameters: