mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[25d] Apply style to subsymbol in geometry generators
This commit is contained in:
parent
49b5a2b6b7
commit
aca49992a9
@ -203,3 +203,8 @@ void QgsGeometryGeneratorSymbolLayerV2::render( QgsSymbolV2RenderContext& contex
|
||||
mSymbol->renderFeature( f, context.renderContext(), -1, context.selected() );
|
||||
}
|
||||
}
|
||||
|
||||
void QgsGeometryGeneratorSymbolLayerV2::setColor( const QColor& color )
|
||||
{
|
||||
mSymbol->setColor( color );
|
||||
}
|
||||
|
@ -63,6 +63,8 @@ class CORE_EXPORT QgsGeometryGeneratorSymbolLayerV2 : public QgsSymbolLayerV2
|
||||
*/
|
||||
QString geometryExpression() const { return mExpression->expression(); }
|
||||
|
||||
void setColor( const QColor& color ) override;
|
||||
|
||||
virtual QgsSymbolV2* subSymbol() override { return mSymbol; }
|
||||
|
||||
virtual bool setSubSymbol( QgsSymbolV2* symbol ) override;
|
||||
|
Loading…
x
Reference in New Issue
Block a user