Class: QgsAttributeEditorField¶
This element will load a field’s widget onto the form.
Class Hierarchy¶
Base classes¶
This is an abstract base class for any elements of a drag and drop form.  | 
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 (Optional[str]) – The name of the element
idx (int) – The index of the field which should be embedded
parent (Optional[QgsAttributeEditorElement]) – The parent of this widget (used as container)
- __init__(a0: QgsAttributeEditorField)
 - Parameters: