Subgroup: Attribute

Class: QgsAttributeEditorField

class qgis.core.QgsAttributeEditorField

Bases: qgis._core.QgsAttributeEditorElement

This element will load a field’s widget onto the form.

Methods

clone
idx Return the index of the field
name Return the name of this element
parent Get the parent of this element.
setShowLabel Controls if this element should be labeled with a title (field, relation or groupname).
showLabel Controls if this element should be labeled with a title (field, relation or groupname).
toDomElement Get the XML Dom element to save this element.
type The type of this element

Attributes

AeTypeContainer
AeTypeField
AeTypeInvalid
AeTypeRelation
clone(self, parent: QgsAttributeEditorElement) → QgsAttributeEditorElement
idx(self) → int

Return the index of the field

Returns: