QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
QgsAttributeFormLegacyInterface Class Reference

Helps to support legacy open form scripts to be compatible with the new QgsAttributeForm style interface. More...

#include <qgsattributeformlegacyinterface.h>

Inheritance diagram for QgsAttributeFormLegacyInterface:

Public Member Functions

 QgsAttributeFormLegacyInterface (const QString &function, const QString &pyFormName, QgsAttributeForm *form)
 ~QgsAttributeFormLegacyInterface () override
void featureChanged () override
Public Member Functions inherited from QgsAttributeFormInterface
 QgsAttributeFormInterface (QgsAttributeForm *form)
virtual ~QgsAttributeFormInterface ()=default
virtual bool acceptChanges (const QgsFeature &feature)
const QgsFeaturefeature () const
 Returns the current feature for the attribute form.
QgsAttributeFormform () const
 Returns the attribute form.
virtual void initForm ()

Detailed Description

Helps to support legacy open form scripts to be compatible with the new QgsAttributeForm style interface.

Note
not available in Python bindings

Definition at line 32 of file qgsattributeformlegacyinterface.h.

Constructor & Destructor Documentation

◆ QgsAttributeFormLegacyInterface()

QgsAttributeFormLegacyInterface::QgsAttributeFormLegacyInterface ( const QString & function,
const QString & pyFormName,
QgsAttributeForm * form )
explicit

Definition at line 25 of file qgsattributeformlegacyinterface.cpp.

◆ ~QgsAttributeFormLegacyInterface()

QgsAttributeFormLegacyInterface::~QgsAttributeFormLegacyInterface ( )
override

Definition at line 42 of file qgsattributeformlegacyinterface.cpp.

Member Function Documentation

◆ featureChanged()

void QgsAttributeFormLegacyInterface::featureChanged ( )
overridevirtual

Reimplemented from QgsAttributeFormInterface.

Definition at line 48 of file qgsattributeformlegacyinterface.cpp.


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