QGIS/python/core/auto_additions/qgstextformat.py
2024-12-03 07:47:10 +00:00

13 lines
528 B
Python

# The following has been generated automatically from src/core/textrenderer/qgstextformat.h
try:
QgsTextFormat.fromQFont = staticmethod(QgsTextFormat.fromQFont)
QgsTextFormat.fromMimeData = staticmethod(QgsTextFormat.fromMimeData)
QgsTextFormat.textFormatPreviewPixmap = staticmethod(QgsTextFormat.textFormatPreviewPixmap)
QgsTextFormat.__group__ = ['textrenderer']
except (NameError, AttributeError):
pass
try:
QgsTextFormat.Tab.__group__ = ['textrenderer']
except (NameError, AttributeError):
pass