Skip to content
Permalink
Browse files

[25d] Apply style to subsymbol in geometry generators

  • Loading branch information
m-kuhn committed Jan 19, 2016
1 parent 49b5a2b commit aca49992a910e83e5121d80b3ad9cf1e8e7653a4
@@ -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;

0 comments on commit aca4999

Please sign in to comment.
You can’t perform that action at this time.