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

#include <qgsvectorlayer.h>

Inheritance diagram for QgsAttributeEditorContainer:
Inheritance graph
[legend]
Collaboration diagram for QgsAttributeEditorContainer:
Collaboration graph
[legend]

Public Member Functions

 QgsAttributeEditorContainer (QString name, QObject *parent)
 ~QgsAttributeEditorContainer ()
virtual QDomElement toDomElement (QDomDocument &doc) const
virtual void addChildElement (QgsAttributeEditorElement *widget)
QList
< QgsAttributeEditorElement * > 
children () 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

QList
< QgsAttributeEditorElement * > 
mChildren

Additional Inherited Members

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

Detailed Description

Note
Added in 1.9

Definition at line 89 of file qgsvectorlayer.h.

Constructor & Destructor Documentation

QgsAttributeEditorContainer::QgsAttributeEditorContainer ( QString  name,
QObject *  parent 
)
inline

Definition at line 92 of file qgsvectorlayer.h.

QgsAttributeEditorContainer::~QgsAttributeEditorContainer ( )
inline

Definition at line 95 of file qgsvectorlayer.h.

Member Function Documentation

void QgsAttributeEditorContainer::addChildElement ( QgsAttributeEditorElement widget)
virtual

Definition at line 3823 of file qgsvectorlayer.cpp.

References mChildren.

Referenced by QgsVectorLayer::attributeEditorElementFromDomElement().

QList<QgsAttributeEditorElement*> QgsAttributeEditorContainer::children ( ) const
inline

Definition at line 99 of file qgsvectorlayer.h.

Referenced by QgsAttributeEditor::createWidgetFromDef().

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

Implements QgsAttributeEditorElement.

Definition at line 3811 of file qgsvectorlayer.cpp.

References mChildren, and QgsAttributeEditorElement::mName.

Member Data Documentation

QList<QgsAttributeEditorElement*> QgsAttributeEditorContainer::mChildren
private

Definition at line 102 of file qgsvectorlayer.h.

Referenced by addChildElement(), and toDomElement().


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