QGIS API Documentation  2.0.1-Dufour
 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, AeTypeInvalid }
- Protected Attributes inherited from QgsAttributeEditorElement
AttributeEditorType mType
QString mName

Detailed Description

Added in 1.9

Definition at line 106 of file qgsvectorlayer.h.

Constructor & Destructor Documentation

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

Definition at line 109 of file qgsvectorlayer.h.

QgsAttributeEditorField::~QgsAttributeEditorField ( )

Definition at line 112 of file qgsvectorlayer.h.

Member Function Documentation

int QgsAttributeEditorField::idx ( ) const

Definition at line 115 of file qgsvectorlayer.h.

Referenced by QgsAttributeEditor::createWidgetFromDef().

QDomElement QgsAttributeEditorField::toDomElement ( QDomDocument &  doc) const

Implements QgsAttributeEditorElement.

Definition at line 3828 of file qgsvectorlayer.cpp.

References mIdx, and QgsAttributeEditorElement::mName.

Member Data Documentation

int QgsAttributeEditorField::mIdx

Definition at line 118 of file qgsvectorlayer.h.

Referenced by toDomElement().

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