QGIS/python/gui/auto_additions/qgsnumericformatwidget.py
Nyall Dawson 16e05a207b [feature] Add 'Custom Expression' numeric format
This numeric format allows users to craft a custom QGIS expression
to format numbers. The expression can use the @value variable
to retrieve the value to be formatted, and then use any standard
QGIS expression function to format this as desired.

It can be used anywhere QgsNumericFormat is accepted, eg layout
scalebars, elevation plots, layout tables, and color ramp
legends

Sponsored by the Swiss QGIS User Group
2024-08-29 13:27:23 +10:00

50 lines
1.3 KiB
Python

# The following has been generated automatically from src/gui/numericformats/qgsnumericformatwidget.h
try:
QgsNumericFormatWidget.__attribute_docs__ = {'changed': 'Emitted whenever the configuration of the numeric format is changed.\n'}
except NameError:
pass
try:
QgsNumericFormatWidget.__group__ = ['numericformats']
except NameError:
pass
try:
QgsBasicNumericFormatWidget.__group__ = ['numericformats']
except NameError:
pass
try:
QgsBearingNumericFormatWidget.__group__ = ['numericformats']
except NameError:
pass
try:
QgsBearingNumericFormatDialog.__group__ = ['numericformats']
except NameError:
pass
try:
QgsGeographicCoordinateNumericFormatWidget.__group__ = ['numericformats']
except NameError:
pass
try:
QgsGeographicCoordinateNumericFormatDialog.__group__ = ['numericformats']
except NameError:
pass
try:
QgsCurrencyNumericFormatWidget.__group__ = ['numericformats']
except NameError:
pass
try:
QgsPercentageNumericFormatWidget.__group__ = ['numericformats']
except NameError:
pass
try:
QgsScientificNumericFormatWidget.__group__ = ['numericformats']
except NameError:
pass
try:
QgsFractionNumericFormatWidget.__group__ = ['numericformats']
except NameError:
pass
try:
QgsExpressionBasedNumericFormatWidget.__group__ = ['numericformats']
except NameError:
pass