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; }
157 QDomElement toDomElement( QDomDocument &doc )
const;
171 bool showLabel()
const;
177 void setShowLabel(
bool showLabel );
224 LabelStyle labelStyle()
const;
231 void setLabelStyle(
const LabelStyle &labelStyle );
239 bool mShowLabel =
true;
240 int mHorizontalStretch = 0;
241 int mVerticalStretch = 0;
252 virtual void saveConfiguration( QDomElement &elem, QDomDocument &doc )
const = 0;
258 virtual void loadConfiguration(
const QDomElement &element,
const QString &layerId,
const QgsReadWriteContext &context,
const QgsFields &fields ) = 0;
266 virtual QString typeIdentifier()
const = 0;
The class is used as a container of context for various read/write operations on other objects.