QGIS API Documentation 3.99.0-Master (21b3aa880ba)
Loading...
Searching...
No Matches
QgsAttributeFormInterface Class Reference

Interface class for custom attribute forms. More...

#include <qgsattributeforminterface.h>

Inheritance diagram for QgsAttributeFormInterface:

Public Member Functions

 QgsAttributeFormInterface (QgsAttributeForm *form)
virtual ~QgsAttributeFormInterface ()=default
virtual bool acceptChanges (const QgsFeature &feature)
const QgsFeaturefeature () const
 Returns the current feature for the attribute form.
virtual void featureChanged ()
QgsAttributeFormform () const
 Returns the attribute form.
virtual void initForm ()

Detailed Description

Interface class for custom attribute forms.

Definition at line 29 of file qgsattributeforminterface.h.

Constructor & Destructor Documentation

◆ QgsAttributeFormInterface()

QgsAttributeFormInterface::QgsAttributeFormInterface ( QgsAttributeForm * form)
explicit

Definition at line 21 of file qgsattributeforminterface.cpp.

◆ ~QgsAttributeFormInterface()

virtual QgsAttributeFormInterface::~QgsAttributeFormInterface ( )
virtualdefault

Member Function Documentation

◆ acceptChanges()

bool QgsAttributeFormInterface::acceptChanges ( const QgsFeature & feature)
virtual

Definition at line 26 of file qgsattributeforminterface.cpp.

◆ feature()

const QgsFeature & QgsAttributeFormInterface::feature ( ) const

Returns the current feature for the attribute form.

Definition at line 45 of file qgsattributeforminterface.cpp.

◆ featureChanged()

void QgsAttributeFormInterface::featureChanged ( )
virtual

Reimplemented in QgsAttributeFormLegacyInterface.

Definition at line 36 of file qgsattributeforminterface.cpp.

◆ form()

QgsAttributeForm * QgsAttributeFormInterface::form ( ) const

Returns the attribute form.

Definition at line 40 of file qgsattributeforminterface.cpp.

◆ initForm()

void QgsAttributeFormInterface::initForm ( )
virtual

Definition at line 32 of file qgsattributeforminterface.cpp.


The documentation for this class was generated from the following files: