QGIS/python/PyQt6/core/auto_additions/qgsfontmanager.py
Nyall Dawson 3f481b568e Record header subfolders as __group__ attribute in PyQGIS classes
This will allow us to logically create subgroups for PyQGIS modules
in the API reference guide
2024-08-17 20:13:12 +10:00

15 lines
987 B
Python

# The following has been generated automatically from src/core/textrenderer/qgsfontmanager.h
try:
QgsFontManager.__attribute_docs__ = {'fontDownloaded': 'Emitted when a font has downloaded and been locally loaded.\n\nThe ``families`` list specifies the font families contained in the downloaded font.\n\nIf found, the ``licenseDetails`` string will be populated with corresponding font license details.\n\n.. seealso:: :py:func:`downloadAndInstallFont`\n\n.. seealso:: :py:func:`fontDownloadErrorOccurred`\n', 'fontDownloadErrorOccurred': 'Emitted when an error occurs during font downloading.\n\n.. seealso:: :py:func:`downloadAndInstallFont`\n\n.. seealso:: :py:func:`fontDownloaded`\n'}
except NameError:
pass
QgsFontDownloadDetails.standardizeFamily = staticmethod(QgsFontDownloadDetails.standardizeFamily)
try:
QgsFontDownloadDetails.__group__ = ['textrenderer']
except NameError:
pass
try:
QgsFontManager.__group__ = ['textrenderer']
except NameError:
pass