This commit is contained in:
Nyall Dawson 2024-08-14 14:45:48 +10:00
parent dd28aa5fdb
commit 02d9cc2af2
2 changed files with 14 additions and 0 deletions

View File

@ -1,4 +1,11 @@
# The following has been generated automatically from src/gui/qgsrichtexteditor.h
# monkey patching scoped based enum
QgsRichTextEditor.Mode.QTextDocument.__doc__ = "Default mode, exposes the Qt supported HTML/CSS subset"
QgsRichTextEditor.Mode.QgsTextRenderer.__doc__ = "QGIS text renderer mode, exposes the HTML/CSS subset supported by the QgsTextRenderer class"
QgsRichTextEditor.Mode.PlainText.__doc__ = "Plain text mode"
QgsRichTextEditor.Mode.__doc__ = "Widget modes.\n\n.. versionadded:: 3.40\n\n" + '* ``QTextDocument``: ' + QgsRichTextEditor.Mode.QTextDocument.__doc__ + '\n' + '* ``QgsTextRenderer``: ' + QgsRichTextEditor.Mode.QgsTextRenderer.__doc__ + '\n' + '* ``PlainText``: ' + QgsRichTextEditor.Mode.PlainText.__doc__
# --
QgsRichTextEditor.Mode.baseClass = QgsRichTextEditor
try:
QgsRichTextEditor.__attribute_docs__ = {'textChanged': 'Emitted when the text contents are changed.\n\n.. versionadded:: 3.26\n'}
except NameError:

View File

@ -1,4 +1,11 @@
# The following has been generated automatically from src/gui/qgsrichtexteditor.h
# monkey patching scoped based enum
QgsRichTextEditor.Mode.QTextDocument.__doc__ = "Default mode, exposes the Qt supported HTML/CSS subset"
QgsRichTextEditor.Mode.QgsTextRenderer.__doc__ = "QGIS text renderer mode, exposes the HTML/CSS subset supported by the QgsTextRenderer class"
QgsRichTextEditor.Mode.PlainText.__doc__ = "Plain text mode"
QgsRichTextEditor.Mode.__doc__ = "Widget modes.\n\n.. versionadded:: 3.40\n\n" + '* ``QTextDocument``: ' + QgsRichTextEditor.Mode.QTextDocument.__doc__ + '\n' + '* ``QgsTextRenderer``: ' + QgsRichTextEditor.Mode.QgsTextRenderer.__doc__ + '\n' + '* ``PlainText``: ' + QgsRichTextEditor.Mode.PlainText.__doc__
# --
QgsRichTextEditor.Mode.baseClass = QgsRichTextEditor
try:
QgsRichTextEditor.__attribute_docs__ = {'textChanged': 'Emitted when the text contents are changed.\n\n.. versionadded:: 3.26\n'}
except NameError: