15 #ifndef QGSSINGLESYMBOLRENDERERV2_H
16 #define QGSSINGLESYMBOLRENDERERV2_H
56 virtual QString
dump()
const;
60 virtual void toSld( QDomDocument& doc, QDomElement &element )
const;
73 virtual QDomElement
save( QDomDocument& doc );
96 #endif // QGSSINGLESYMBOLRENDERERV2_H
virtual int capabilities()
returns bitwise OR-ed capabilities of the renderer
QList< QgsSymbolV2 * > QgsSymbolV2List
virtual QString dump() const
for debugging
virtual QDomElement save(QDomDocument &doc)
store renderer info to XML element
QList< QPair< QString, QPixmap > > QgsLegendSymbologyList
QString rotationField() const
QgsSymbolV2::ScaleMethod scaleMethod() const
virtual QList< QString > usedAttributes()=0
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
QgsSymbolV2::ScaleMethod mScaleMethod
virtual QgsLegendSymbologyList legendSymbologyItems(QSize iconSize)
return a list of symbology items for the legend
virtual void stopRender(QgsRenderContext &context)=0
void setRotationField(QString fieldName)
virtual QgsSymbolV2List symbols()=0
for symbol levels
virtual QgsFeatureRendererV2 * clone()=0
virtual QgsLegendSymbolList legendSymbolItems()
return a list of item text / symbol
virtual void toSld(QDomDocument &doc, QDomElement &element) const
used from subclasses to create SLD Rule elements following SLD v1.1 specs
QString sizeScaleField() const
Contains information about the context of a rendering operation.
virtual void startRender(QgsRenderContext &context, const QgsVectorLayer *vlayer)=0
Represents a vector layer which manages a vector based data sets.
QList< QPair< QString, QgsSymbolV2 * > > QgsLegendSymbolList
virtual QgsSymbolV2 * symbolForFeature(QgsFeature &feature)=0
to be overridden
QgsSymbolV2 * mTempSymbol
void setSizeScaleField(QString fieldName)