QGIS API Documentation  2.2.0-Valmiera
 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)
virtual bool isGroupBox () const
QList
< QgsAttributeEditorElement * > 
children () const
virtual QList
< QgsAttributeEditorElement * > 
findElements (AttributeEditorType type) 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, AeTypeRelation, AeTypeInvalid }
- Protected Attributes inherited from QgsAttributeEditorElement
AttributeEditorType mType
QString mName

Detailed Description

Note
Added in 1.9

Definition at line 96 of file qgsvectorlayer.h.

Constructor & Destructor Documentation

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

Definition at line 99 of file qgsvectorlayer.h.

QgsAttributeEditorContainer::~QgsAttributeEditorContainer ( )
inline

Definition at line 102 of file qgsvectorlayer.h.

Member Function Documentation

void QgsAttributeEditorContainer::addChildElement ( QgsAttributeEditorElement widget)
virtual

Definition at line 4290 of file qgsvectorlayer.cpp.

References mChildren.

Referenced by QgsVectorLayer::attributeEditorElementFromDomElement().

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

Definition at line 107 of file qgsvectorlayer.h.

Referenced by QgsAttributeEditor::createWidgetFromDef().

QList< QgsAttributeEditorElement * > QgsAttributeEditorContainer::findElements ( QgsAttributeEditorElement::AttributeEditorType  type) const
virtual
virtual bool QgsAttributeEditorContainer::isGroupBox ( ) const
inlinevirtual

Definition at line 106 of file qgsvectorlayer.h.

Referenced by QgsAttributeEditor::createWidgetFromDef().

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

Member Data Documentation

QList<QgsAttributeEditorElement*> QgsAttributeEditorContainer::mChildren
private

Definition at line 111 of file qgsvectorlayer.h.

Referenced by addChildElement(), findElements(), and toDomElement().


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