mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
Add icons to geometry generator type list
This commit is contained in:
parent
7daca216b3
commit
19dcd21b6d
@ -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() ) );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user