Class: QgsAttributeFormInterface

Interface class for custom attribute forms.

Methods

feature

form

Virtual Methods

In PyQGIS, only methods marked as virtual can be safely overridden in a Python subclass of QgsAttributeFormInterface. See the FAQ for more details.

acceptChanges

featureChanged

initForm

class qgis.gui.QgsAttributeFormInterface[source]

Bases: object

virtual acceptChanges(self, feature: QgsFeature) bool[source]
Parameters:

feature (QgsFeature)

Return type:

bool

feature(self) QgsFeature
Return type:

QgsFeature

virtual featureChanged(self)[source]
form(self) QgsAttributeForm | None[source]
Return type:

Optional[QgsAttributeForm]

virtual initForm(self)[source]