Class: QgsFallbackNumericFormat¶
-
class
qgis.core.
QgsFallbackNumericFormat
¶ Bases:
QgsNumericFormat
Default constructor
QgsFallbackNumericFormat(
QgsFallbackNumericFormat
)A basic numeric formatter which returns a simple text representation of a value.
Methods
- rtype
QgsNumericFormat
- param context
- param configuration
- param value
- rtype
str
- rtype
int
- rtype
str
-
clone
(self) → QgsNumericFormat¶ - Return type
-
configuration
(self, context: QgsReadWriteContext) → Dict[str, Any]¶ - Parameters
context (QgsReadWriteContext) –
- Return type
Dict[str, Any]
-
create
(self, configuration: Dict[str, Any], context: QgsReadWriteContext) → QgsNumericFormat¶ - Parameters
configuration (Dict[str) –
context (QgsReadWriteContext) –
- Return type
-
formatDouble
(self, value: float, context: QgsNumericFormatContext) → str¶ - Parameters
value (float) –
context (QgsNumericFormatContext) –
- Return type
str
-
id
(self) → str¶ - Return type
str
-
sortKey
(self) → int¶ - Return type
int
-
visibleName
(self) → str¶ - Return type
str