QGIS/python/PyQt6/core/auto_additions/qgsattributetableconfig.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

11 lines
814 B
Python

# The following has been generated automatically from src/core/qgsattributetableconfig.h
QgsAttributeTableConfig.Field = QgsAttributeTableConfig.Type.Field
QgsAttributeTableConfig.Action = QgsAttributeTableConfig.Type.Action
QgsAttributeTableConfig.ButtonList = QgsAttributeTableConfig.ActionWidgetStyle.ButtonList
QgsAttributeTableConfig.DropDown = QgsAttributeTableConfig.ActionWidgetStyle.DropDown
try:
QgsAttributeTableConfig.__attribute_docs__ = {'type': 'The type of this column.', 'name': 'The name of the attribute if this column represents a field', 'hidden': 'Flag that controls if the column is hidden', 'width': 'Width of column, or -1 for default width'}
except NameError:
pass
QgsAttributeTableConfig.ColumnConfig.__doc__ = """Defines the configuration of a column in the attribute table."""