QGIS API Documentation  2.3.0-Master
 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
[legend]
Collaboration diagram for QgsAttributeEditorField:
Collaboration graph
[legend]

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

Note
Added in 1.9

Definition at line 115 of file qgsvectorlayer.h.

Constructor & Destructor Documentation

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

Definition at line 118 of file qgsvectorlayer.h.

QgsAttributeEditorField::~QgsAttributeEditorField ( )
inline

Definition at line 121 of file qgsvectorlayer.h.

Member Function Documentation

int QgsAttributeEditorField::idx ( ) const
inline

Definition at line 124 of file qgsvectorlayer.h.

Referenced by QgsAttributeEditor::createWidgetFromDef().

QDomElement QgsAttributeEditorField::toDomElement ( QDomDocument &  doc) const
virtual

Implements QgsAttributeEditorElement.

Definition at line 3784 of file qgsvectorlayer.cpp.

References mIdx, and QgsAttributeEditorElement::mName.

Member Data Documentation

int QgsAttributeEditorField::mIdx
private

Definition at line 127 of file qgsvectorlayer.h.

Referenced by toDomElement().


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