Class: QgsAttributeEditorField¶
This element will load a field’s widget onto the form.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
An abstract base class for any elements of a drag and drop form. |
Constructor
Abstract Methods
Methods
Returns the index of the field. |
- class qgis.core.QgsAttributeEditorField[source]¶
Bases:
QgsAttributeEditorElement- __init__(name: str | None, idx: int, parent: QgsAttributeEditorElement | None)¶
Creates a new attribute editor element which represents a field
- Parameters:
name (str|None) – The name of the element
idx (int) – The index of the field which should be embedded
parent (QgsAttributeEditorElement|None) – The parent of this widget (used as container)
- __init__(a0: QgsAttributeEditorField)
- Parameters:
- abstract clone(self, parent: QgsAttributeEditorElement | None) QgsAttributeEditorElement | None[source]¶
- Parameters:
parent (QgsAttributeEditorElement|None)
- Return type: