mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
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
50 lines
1.3 KiB
Python
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
|