Class: QgsAttributeFormInterface¶
Interface class for custom attribute forms.
Methods
Returns the current feature for the attribute form. |
|
Returns the attribute 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.
- class qgis.gui.QgsAttributeFormInterface[source]¶
Bases:
object- virtual acceptChanges(self, feature: QgsFeature) bool[source]¶
- Parameters:
feature (QgsFeature)
- Return type:
bool
- feature(self) QgsFeature¶
Returns the current feature for the attribute form.
- Return type:
- form(self) QgsAttributeForm | None[source]¶
Returns the attribute form.
- Return type:
Optional[QgsAttributeForm]