QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
QgsAttributeEditorElement Class Referenceabstract

#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

Member Enumeration Documentation

Enumerator
AeTypeContainer 
AeTypeField 
AeTypeRelation 
AeTypeInvalid 

Constructor & Destructor Documentation

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

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

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