mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
use this as the text format for newly created layer labels Instead of defaulting to a random font, this gives us a mechanism to supply a better default label font to users via the default style database. And users can always modify this "default" text format if they'd like to change the default font! For now this is the underlying code logic changes only -- we don't yet include a 'Default' text format in the default style database to take advantage of this functionality.
6 lines
359 B
Python
6 lines
359 B
Python
# The following has been generated automatically from src/core/symbology/qgsstyle.h
|
|
# monkey patching scoped based enum
|
|
QgsStyle.TextFormatContext.Labeling.__doc__ = "Text format used in labeling"
|
|
QgsStyle.TextFormatContext.__doc__ = 'Text format context.\n\n.. versionadded:: 3.20\n\n' + '* ``Labeling``: ' + QgsStyle.TextFormatContext.Labeling.__doc__
|
|
# --
|