mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
This will allow us to logically create subgroups for PyQGIS modules in the API reference guide
17 lines
975 B
Python
17 lines
975 B
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.\n\n.. versionadded:: 3.26\n\n" + '* ``Generic``: ' + QgsNumericFormatContext.Interpretation.Generic.__doc__ + '\n' + '* ``Latitude``: ' + QgsNumericFormatContext.Interpretation.Latitude.__doc__ + '\n' + '* ``Longitude``: ' + QgsNumericFormatContext.Interpretation.Longitude.__doc__
|
|
# --
|
|
QgsNumericFormatContext.Interpretation.baseClass = QgsNumericFormatContext
|
|
try:
|
|
QgsNumericFormatContext.__group__ = ['numericformats']
|
|
except NameError:
|
|
pass
|
|
try:
|
|
QgsNumericFormat.__group__ = ['numericformats']
|
|
except NameError:
|
|
pass
|