Skip to content
Permalink
Browse files

Add icons to geometry generator type list

  • Loading branch information
nyalldawson committed Dec 11, 2015
1 parent 7daca21 commit 19dcd21b6d44111a335bcd9456f0320323b6860e
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/gui/symbology-ng/qgssymbollayerv2widget.cpp
@@ -3094,9 +3094,9 @@ QgsGeometryGeneratorSymbolLayerWidget::QgsGeometryGeneratorSymbolLayerWidget( co
{
setupUi( this );
modificationExpressionSelector->setLayer( const_cast<QgsVectorLayer*>( vl ) );
cbxGeometryType->addItem( tr( "Polygon / MultiPolygon" ), QgsSymbolV2::Fill );
cbxGeometryType->addItem( tr( "LineString / MultiLineString" ), QgsSymbolV2::Line );
cbxGeometryType->addItem( tr( "Point / MultiPoint" ), QgsSymbolV2::Marker );
cbxGeometryType->addItem( QgsApplication::getThemeIcon( "/mIconPolygonLayer.svg" ), tr( "Polygon / MultiPolygon" ), QgsSymbolV2::Fill );
cbxGeometryType->addItem( QgsApplication::getThemeIcon( "/mIconLineLayer.svg" ), tr( "LineString / MultiLineString" ), QgsSymbolV2::Line );
cbxGeometryType->addItem( QgsApplication::getThemeIcon( "/mIconPointLayer.svg" ), tr( "Point / MultiPoint" ), QgsSymbolV2::Marker );
connect( modificationExpressionSelector, SIGNAL( expressionParsed( bool ) ), this, SLOT( updateExpression() ) );
connect( cbxGeometryType, SIGNAL( currentIndexChanged( int ) ), this, SLOT( updateSymbolType() ) );
}

0 comments on commit 19dcd21

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