QGIS API Documentation
2.4.0-Chugiak
|
This class helps to support legacy open form scripts to be compatible with the new QgsAttributeForm style interface. More...
#include <qgsattributeformlegacyinterface.h>
Public Member Functions | |
QgsAttributeFormLegacyInterface (const QString &function, const QString &pyFormName, QgsAttributeForm *form) | |
~QgsAttributeFormLegacyInterface () | |
void | featureChanged () |
Public Member Functions inherited from QgsAttributeFormInterface | |
QgsAttributeFormInterface (QgsAttributeForm *form) | |
virtual bool | acceptChanges (const QgsFeature &feature) |
virtual void | initForm () |
QgsAttributeForm * | form () |
const QgsFeature & | feature () |
Private Attributes | |
QString | mPyFunctionName |
QString | mPyFormVarName |
QString | mPyLayerVarName |
This class helps to support legacy open form scripts to be compatible with the new QgsAttributeForm style interface.
Definition at line 27 of file qgsattributeformlegacyinterface.h.
|
explicit |
Definition at line 24 of file qgsattributeformlegacyinterface.cpp.
References QgsMapLayer::id(), QgsAttributeForm::layer(), mPyLayerVarName, and QgsPythonRunner::run().
QgsAttributeFormLegacyInterface::~QgsAttributeFormLegacyInterface | ( | ) |
Definition at line 38 of file qgsattributeformlegacyinterface.cpp.
References mPyLayerVarName, and QgsPythonRunner::run().
|
virtual |
Reimplemented from QgsAttributeFormInterface.
Definition at line 44 of file qgsattributeformlegacyinterface.cpp.
References QgsAttributeFormInterface::feature(), QgsAttributeFormInterface::form(), mPyFormVarName, mPyFunctionName, mPyLayerVarName, and QgsPythonRunner::run().
|
private |
Definition at line 38 of file qgsattributeformlegacyinterface.h.
Referenced by featureChanged().
|
private |
Definition at line 37 of file qgsattributeformlegacyinterface.h.
Referenced by featureChanged().
|
private |
Definition at line 39 of file qgsattributeformlegacyinterface.h.
Referenced by featureChanged(), QgsAttributeFormLegacyInterface(), and ~QgsAttributeFormLegacyInterface().