47 switch ( sipCpp->type() )
50 sipType = sipType_QgsAttributeEditorContainer;
53 sipType = sipType_QgsAttributeEditorField;
56 sipType = sipType_QgsAttributeEditorRelation;
59 sipType = sipType_QgsAttributeEditorAction;
83 bool overrideColor =
false;
86 bool overrideFont =
false;
92 void readXml(
const QDomNode &node )
SIP_SKIP;
98 QDomElement writeXml( QDomDocument &document )
const SIP_SKIP;
134 QString name()
const {
return mName; }
156 QDomElement toDomElement( QDomDocument &doc )
const;
168 bool showLabel()
const;
173 void setShowLabel(
bool showLabel );
220 LabelStyle labelStyle()
const;
227 void setLabelStyle(
const LabelStyle &labelStyle );
235 bool mShowLabel =
true;
236 int mHorizontalStretch = 0;
237 int mVerticalStretch = 0;
247 virtual void saveConfiguration( QDomElement &elem, QDomDocument &doc )
const = 0;
253 virtual void loadConfiguration(
const QDomElement &element,
const QString &layerId,
const QgsReadWriteContext &context,
const QgsFields &fields ) = 0;
260 virtual QString typeIdentifier()
const = 0;
The class is used as a container of context for various read/write operations on other objects.