mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
27 lines
1.0 KiB
Python
27 lines
1.0 KiB
Python
# The following has been generated automatically from src/core/numericformats/qgsnumericformat.h
|
|
# monkey patching scoped based enum
|
|
QgsNumericFormatContext.Interpretation.Generic.__doc__ = "Generic"
|
|
QgsNumericFormatContext.Interpretation.Latitude.__doc__ = "Latitude values"
|
|
QgsNumericFormatContext.Interpretation.Longitude.__doc__ = "Longitude values"
|
|
QgsNumericFormatContext.Interpretation.__doc__ = """Interpretation of numeric values.
|
|
|
|
.. versionadded:: 3.26
|
|
|
|
* ``Generic``: Generic
|
|
* ``Latitude``: Latitude values
|
|
* ``Longitude``: Longitude values
|
|
|
|
"""
|
|
# --
|
|
QgsNumericFormatContext.Interpretation.baseClass = QgsNumericFormatContext
|
|
try:
|
|
QgsNumericFormat.__virtual_methods__ = ['sortKey', 'suggestSampleValue']
|
|
QgsNumericFormat.__abstract_methods__ = ['id', 'visibleName', 'formatDouble', 'clone', 'create', 'configuration']
|
|
QgsNumericFormat.__group__ = ['numericformats']
|
|
except (NameError, AttributeError):
|
|
pass
|
|
try:
|
|
QgsNumericFormatContext.__group__ = ['numericformats']
|
|
except (NameError, AttributeError):
|
|
pass
|