QGIS/python/core/auto_additions/qgstextformat.py
Nyall Dawson 7badf62596 [api] Add tab positions list for QgsTextFormat
Allows setting a list of custom tab stop distances, instead
of just a single distance
2024-11-10 09:52:14 +11:00

13 lines
492 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:
pass
try:
QgsTextFormat.Tab.__group__ = ['textrenderer']
except NameError:
pass