QGIS API Documentation  2.5.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
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 void setIsGroupBox (bool isGroupBox)
 
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

bool mIsGroupBox
 
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 104 of file qgsvectorlayer.h.

Member Function Documentation

void QgsAttributeEditorContainer::addChildElement ( QgsAttributeEditorElement widget)
virtual

Definition at line 3542 of file qgsvectorlayer.cpp.

References mChildren.

Referenced by QgsVectorLayer::attributeEditorElementFromDomElement().

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

Definition at line 110 of file qgsvectorlayer.h.

Referenced by QgsAttributeForm::createWidgetFromDef().

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

Definition at line 109 of file qgsvectorlayer.h.

Referenced by QgsAttributeForm::createWidgetFromDef().

virtual void QgsAttributeEditorContainer::setIsGroupBox ( bool  isGroupBox)
inlinevirtual

Definition at line 108 of file qgsvectorlayer.h.

Referenced by QgsAttributeForm::init().

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

Member Data Documentation

QList<QgsAttributeEditorElement*> QgsAttributeEditorContainer::mChildren
private

Definition at line 115 of file qgsvectorlayer.h.

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

bool QgsAttributeEditorContainer::mIsGroupBox
private

Definition at line 114 of file qgsvectorlayer.h.


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