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
QgsAttributeEditorField Class Reference

#include <qgsvectorlayer.h>

Inheritance diagram for QgsAttributeEditorField:
Inheritance graph
Collaboration diagram for QgsAttributeEditorField:
Collaboration graph

Public Member Functions

 QgsAttributeEditorField (QString name, int idx, QObject *parent)
 ~QgsAttributeEditorField ()
virtual QDomElement toDomElement (QDomDocument &doc) const
int idx () const
- Public Member Functions inherited from QgsAttributeEditorElement
 QgsAttributeEditorElement (AttributeEditorType type, QString name, QObject *parent=NULL)
virtual ~QgsAttributeEditorElement ()
QString name () const
AttributeEditorType type () const

Private Attributes

int mIdx

Additional Inherited Members

- Public Types inherited from QgsAttributeEditorElement
enum  AttributeEditorType { AeTypeContainer, AeTypeField, AeTypeRelation, AeTypeInvalid }
- Protected Attributes inherited from QgsAttributeEditorElement
AttributeEditorType mType
QString mName

Detailed Description

Added in 1.9

Definition at line 119 of file qgsvectorlayer.h.

Constructor & Destructor Documentation

QgsAttributeEditorField::QgsAttributeEditorField ( QString  name,
int  idx,
QObject *  parent 

Definition at line 122 of file qgsvectorlayer.h.

QgsAttributeEditorField::~QgsAttributeEditorField ( )

Definition at line 125 of file qgsvectorlayer.h.

Member Function Documentation

int QgsAttributeEditorField::idx ( ) const

Definition at line 128 of file qgsvectorlayer.h.

Referenced by QgsAttributeForm::createWidgetFromDef().

QDomElement QgsAttributeEditorField::toDomElement ( QDomDocument &  doc) const

Implements QgsAttributeEditorElement.

Definition at line 3563 of file qgsvectorlayer.cpp.

References mIdx, and QgsAttributeEditorElement::mName.

Member Data Documentation

int QgsAttributeEditorField::mIdx

Definition at line 131 of file qgsvectorlayer.h.

Referenced by toDomElement().

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