QGIS API Documentation  2.2.0-Valmiera
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
QgsAttributeEditorElement Class Reference

#include <qgsvectorlayer.h>

Inheritance diagram for QgsAttributeEditorElement:
Inheritance graph
[legend]

Public Types

enum  AttributeEditorType { AeTypeContainer, AeTypeField, AeTypeRelation, AeTypeInvalid }

Public Member Functions

 QgsAttributeEditorElement (AttributeEditorType type, QString name, QObject *parent=NULL)
virtual ~QgsAttributeEditorElement ()
QString name () const
AttributeEditorType type () const
virtual QDomElement toDomElement (QDomDocument &doc) const =0

Protected Attributes

AttributeEditorType mType
QString mName

Detailed Description

Note
Added in 1.9

Definition at line 67 of file qgsvectorlayer.h.

Member Enumeration Documentation

Enumerator:
AeTypeContainer 
AeTypeField 
AeTypeRelation 
AeTypeInvalid 

Definition at line 72 of file qgsvectorlayer.h.

Constructor & Destructor Documentation

QgsAttributeEditorElement::QgsAttributeEditorElement ( AttributeEditorType  type,
QString  name,
QObject *  parent = NULL 
)
inline

Definition at line 80 of file qgsvectorlayer.h.

virtual QgsAttributeEditorElement::~QgsAttributeEditorElement ( )
inlinevirtual

Definition at line 83 of file qgsvectorlayer.h.

Member Function Documentation

QString QgsAttributeEditorElement::name ( ) const
inline
virtual QDomElement QgsAttributeEditorElement::toDomElement ( QDomDocument &  doc) const
pure virtual
AttributeEditorType QgsAttributeEditorElement::type ( ) const
inline

Member Data Documentation

QString QgsAttributeEditorElement::mName
protected
AttributeEditorType QgsAttributeEditorElement::mType
protected

Definition at line 91 of file qgsvectorlayer.h.


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