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