QGIS API Documentation 4.3.0-Master (901db8dfa85)
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 QgsFeature & feature () const
 Returns the current feature for the attribute form.
virtual void featureChanged ()
QgsAttributeForm * form () 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 25 of file qgsattributeforminterface.cpp.

◆ feature()

const QgsFeature & QgsAttributeFormInterface::feature ( ) const

Returns the current feature for the attribute form.

Definition at line 42 of file qgsattributeforminterface.cpp.

◆ featureChanged()

void QgsAttributeFormInterface::featureChanged ( )
virtual

Reimplemented in QgsAttributeFormLegacyInterface.

Definition at line 34 of file qgsattributeforminterface.cpp.

◆ form()

QgsAttributeForm * QgsAttributeFormInterface::form ( ) const

Returns the attribute form.

Definition at line 37 of file qgsattributeforminterface.cpp.

◆ initForm()

void QgsAttributeFormInterface::initForm ( )
virtual

Definition at line 31 of file qgsattributeforminterface.cpp.


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