16 #ifndef QGSGEOMETRYGENERATORSYMBOLLAYERV2_H 17 #define QGSGEOMETRYGENERATORSYMBOLLAYERV2_H 62 void setGeometryExpression(
const QString& exp );
109 #endif // QGSGEOMETRYGENERATORSYMBOLLAYERV2_H QgsSymbolV2::SymbolType symbolType() const
Access the symbol type.
virtual QgsSymbolLayerV2 * clone() const =0
Shall be reimplemented by subclasses to create a deep copy of the instance.
virtual QSet< QString > usedAttributes() const
Returns the set of attributes referenced by the layer.
virtual QgsSymbolV2 * subSymbol() override
virtual void startRender(QgsSymbolV2RenderContext &context)=0
virtual QgsStringMap properties() const =0
Should be reimplemented by subclasses to return a string map that contains the configuration informat...
virtual QString layerType() const =0
Returns a string that represents this layer type.
SymbolType
Type of the symbol.
virtual void setColor(const QColor &color)
The fill color.
virtual void drawPreviewIcon(QgsSymbolV2RenderContext &context, QSize size)=0
virtual bool setSubSymbol(QgsSymbolV2 *symbol)
set layer's subsymbol. takes ownership of the passed symbol
virtual void stopRender(QgsSymbolV2RenderContext &context)=0
virtual bool isCompatibleWithSymbol(QgsSymbolV2 *symbol) const
Returns if the layer can be used below the specified symbol.
QString geometryExpression() const
Get the expression to generate this geometry.