QGIS/python/core/auto_additions/qgsattributeeditorelement.py
Nyall Dawson 989e62a80f Handle docstrings for c++ structs
sip doesn't support the docstring directive for structs (only classes),
so patch these back in via sipify magic
2024-08-16 07:28:29 +10:00

10 lines
562 B
Python

# The following has been generated automatically from src/core/editform/qgsattributeeditorelement.h
try:
QgsAttributeEditorElement.__attribute_docs__ = {'color': 'Label font', 'font': 'Label font', 'overrideColor': 'Override label color', 'overrideFont': 'Override label font'}
except NameError:
pass
QgsAttributeEditorElement.create = staticmethod(QgsAttributeEditorElement.create)
QgsAttributeEditorElement.LabelStyle.__doc__ = """The TabStyle struct defines color and font overrides for form fields, tabs and groups labels.
.. versionadded:: 3.26"""