QGIS API Documentation  2.4.0-Chugiak
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
QgsAttributeFormLegacyInterface Class Reference

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

#include <qgsattributeformlegacyinterface.h>

Inheritance diagram for QgsAttributeFormLegacyInterface:
Inheritance graph
[legend]
Collaboration diagram for QgsAttributeFormLegacyInterface:
Collaboration graph
[legend]

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 ()
 
QgsAttributeFormform ()
 
const QgsFeaturefeature ()
 

Private Attributes

QString mPyFunctionName
 
QString mPyFormVarName
 
QString mPyLayerVarName
 

Detailed Description

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.

Constructor & Destructor Documentation

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

Definition at line 38 of file qgsattributeformlegacyinterface.cpp.

References mPyLayerVarName, and QgsPythonRunner::run().

Member Function Documentation

void QgsAttributeFormLegacyInterface::featureChanged ( )
virtual

Member Data Documentation

QString QgsAttributeFormLegacyInterface::mPyFormVarName
private

Definition at line 38 of file qgsattributeformlegacyinterface.h.

Referenced by featureChanged().

QString QgsAttributeFormLegacyInterface::mPyFunctionName
private

Definition at line 37 of file qgsattributeformlegacyinterface.h.

Referenced by featureChanged().

QString QgsAttributeFormLegacyInterface::mPyLayerVarName
private

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