File tree Expand file tree Collapse file tree 13 files changed +54
-80
lines changed Expand file tree Collapse file tree 13 files changed +54
-80
lines changed Original file line number Diff line number Diff line change 334
334
<file>themes/default/mIconNoPyramid.png</file>
335
335
<file>themes/default/mIconOracle.svg</file>
336
336
<file>themes/default/mIconOws.svg</file>
337
- <file>themes/default/mIconPointLayer.png </file>
338
- <file>themes/default/mIconPolygonLayer.png </file>
337
+ <file>themes/default/mIconPointLayer.svg </file>
338
+ <file>themes/default/mIconPolygonLayer.svg </file>
339
339
<file>themes/default/mIconPostgis.svg</file>
340
340
<file>themes/default/mIconPrevious.png</file>
341
341
<file>themes/default/mIconProjectionDisabled.png</file>
Original file line number Diff line number Diff line change @@ -300,11 +300,11 @@ QPixmap QgsLegendLayer::getOriginalPixmap()
300
300
switch ( vlayer->geometryType () )
301
301
{
302
302
case QGis::Point:
303
- return QgsApplication::getThemePixmap ( " /mIconPointLayer.png " );
303
+ return QgsApplication::getThemePixmap ( " /mIconPointLayer.svg " );
304
304
case QGis::Line:
305
305
return QgsApplication::getThemePixmap ( " /mIconLineLayer.svg" );
306
306
case QGis::Polygon:
307
- return QgsApplication::getThemePixmap ( " /mIconPolygonLayer.png " );
307
+ return QgsApplication::getThemePixmap ( " /mIconPolygonLayer.svg " );
308
308
case QGis::NoGeometry:
309
309
return QgsApplication::getThemePixmap ( " /mIconTableLayer.png" );
310
310
default :
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ const QIcon &QgsLayerItem::iconPoint()
45
45
static QIcon icon;
46
46
47
47
if ( icon.isNull () )
48
- icon = QgsApplication::getThemeIcon ( " /mIconPointLayer.png " );
48
+ icon = QgsApplication::getThemeIcon ( " /mIconPointLayer.svg " );
49
49
50
50
return icon;
51
51
}
@@ -65,7 +65,7 @@ const QIcon &QgsLayerItem::iconPolygon()
65
65
static QIcon icon;
66
66
67
67
if ( icon.isNull () )
68
- icon = QgsApplication::getThemeIcon ( " /mIconPolygonLayer.png " );
68
+ icon = QgsApplication::getThemeIcon ( " /mIconPolygonLayer.svg " );
69
69
70
70
return icon;
71
71
}
Original file line number Diff line number Diff line change @@ -544,9 +544,9 @@ QgsGrassModel::QgsGrassModel( QObject * parent )
544
544
545
545
mIconFile = QIcon ( style->standardPixmap ( QStyle::SP_FileIcon ) );
546
546
547
- mIconPointLayer = QgsGrassPlugin::getThemeIcon ( " /mIconPointLayer.png " );
547
+ mIconPointLayer = QgsGrassPlugin::getThemeIcon ( " /mIconPointLayer.svg " );
548
548
mIconLineLayer = QgsGrassPlugin::getThemeIcon ( " /mIconLineLayer.svg" );
549
- mIconPolygonLayer = QgsGrassPlugin::getThemeIcon ( " /mIconPolygonLayer.png " );
549
+ mIconPolygonLayer = QgsGrassPlugin::getThemeIcon ( " /mIconPolygonLayer.svg " );
550
550
mIconVectorLayer = QgsGrassPlugin::getThemeIcon ( " /grass/grass_browser_vector_layer.png" );
551
551
mIconRasterLayer = QgsGrassPlugin::getThemeIcon ( " /grass/grass_browser_raster_layer.png" );
552
552
Original file line number Diff line number Diff line change @@ -408,15 +408,15 @@ QIcon QgsSpatialQueryDialog::getIconTypeGeometry( QGis::GeometryType geomType )
408
408
QString theName;
409
409
if ( geomType == QGis::Point )
410
410
{
411
- theName = " /mIconPointLayer.png " ;
411
+ theName = " /mIconPointLayer.svg " ;
412
412
}
413
413
else if ( geomType == QGis::Line )
414
414
{
415
415
theName = " /mIconLineLayer.svg" ;
416
416
}
417
417
else // Polygon
418
418
{
419
- theName = " /mIconPolygonLayer.png " ;
419
+ theName = " /mIconPolygonLayer.svg " ;
420
420
}
421
421
// Copy from qgisapp.cpp
422
422
QString myPreferredPath = QgsApplication::activeThemePath () + QDir::separator () + theName;
Original file line number Diff line number Diff line change @@ -293,15 +293,15 @@ QIcon SaDbTableModel::iconForType( QGis::WkbType type ) const
293
293
{
294
294
if ( type == QGis::WKBPoint || type == QGis::WKBPoint25D || type == QGis::WKBMultiPoint || type == QGis::WKBMultiPoint25D )
295
295
{
296
- return SqlAnywhere::getThemeIcon ( " /mIconPointLayer.png " );
296
+ return SqlAnywhere::getThemeIcon ( " /mIconPointLayer.svg " );
297
297
}
298
298
else if ( type == QGis::WKBLineString || type == QGis::WKBLineString25D || type == QGis::WKBMultiLineString || type == QGis::WKBMultiLineString25D )
299
299
{
300
300
return SqlAnywhere::getThemeIcon ( " /mIconLineLayer.svg" );
301
301
}
302
302
else if ( type == QGis::WKBPolygon || type == QGis::WKBPolygon25D || type == QGis::WKBMultiPolygon || type == QGis::WKBMultiPolygon25D )
303
303
{
304
- return SqlAnywhere::getThemeIcon ( " /mIconPolygonLayer.png " );
304
+ return SqlAnywhere::getThemeIcon ( " /mIconPolygonLayer.svg " );
305
305
}
306
306
else
307
307
{
Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ QIcon QgsMssqlTableModel::iconForWkbType( QGis::WkbType type )
296
296
case QGis::WKBPoint25D:
297
297
case QGis::WKBMultiPoint:
298
298
case QGis::WKBMultiPoint25D:
299
- return QgsApplication::getThemeIcon ( " /mIconPointLayer.png " );
299
+ return QgsApplication::getThemeIcon ( " /mIconPointLayer.svg " );
300
300
case QGis::WKBLineString:
301
301
case QGis::WKBLineString25D:
302
302
case QGis::WKBMultiLineString:
@@ -306,7 +306,7 @@ QIcon QgsMssqlTableModel::iconForWkbType( QGis::WkbType type )
306
306
case QGis::WKBPolygon25D:
307
307
case QGis::WKBMultiPolygon:
308
308
case QGis::WKBMultiPolygon25D:
309
- return QgsApplication::getThemeIcon ( " /mIconPolygonLayer.png " );
309
+ return QgsApplication::getThemeIcon ( " /mIconPolygonLayer.svg " );
310
310
case QGis::WKBNoGeometry:
311
311
return QgsApplication::getThemeIcon ( " /mIconTableLayer.png" );
312
312
case QGis::WKBUnknown:
Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ QIcon QgsOracleTableModel::iconForWkbType( QGis::WkbType type )
232
232
case QGis::WKBPoint25D:
233
233
case QGis::WKBMultiPoint:
234
234
case QGis::WKBMultiPoint25D:
235
- return QgsApplication::getThemeIcon ( " /mIconPointLayer.png " );
235
+ return QgsApplication::getThemeIcon ( " /mIconPointLayer.svg " );
236
236
case QGis::WKBLineString:
237
237
case QGis::WKBLineString25D:
238
238
case QGis::WKBMultiLineString:
@@ -242,7 +242,7 @@ QIcon QgsOracleTableModel::iconForWkbType( QGis::WkbType type )
242
242
case QGis::WKBPolygon25D:
243
243
case QGis::WKBMultiPolygon:
244
244
case QGis::WKBMultiPolygon25D:
245
- return QgsApplication::getThemeIcon ( " /mIconPolygonLayer.png " );
245
+ return QgsApplication::getThemeIcon ( " /mIconPolygonLayer.svg " );
246
246
case QGis::WKBNoGeometry:
247
247
return QgsApplication::getThemeIcon ( " /mIconTableLayer.png" );
248
248
case QGis::WKBUnknown:
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ QIcon QgsPgTableModel::iconForWkbType( QGis::WkbType type )
235
235
case QGis::WKBPoint25D:
236
236
case QGis::WKBMultiPoint:
237
237
case QGis::WKBMultiPoint25D:
238
- return QgsApplication::getThemeIcon ( " /mIconPointLayer.png " );
238
+ return QgsApplication::getThemeIcon ( " /mIconPointLayer.svg " );
239
239
case QGis::WKBLineString:
240
240
case QGis::WKBLineString25D:
241
241
case QGis::WKBMultiLineString:
@@ -245,7 +245,7 @@ QIcon QgsPgTableModel::iconForWkbType( QGis::WkbType type )
245
245
case QGis::WKBPolygon25D:
246
246
case QGis::WKBMultiPolygon:
247
247
case QGis::WKBMultiPolygon25D:
248
- return QgsApplication::getThemeIcon ( " /mIconPolygonLayer.png " );
248
+ return QgsApplication::getThemeIcon ( " /mIconPolygonLayer.svg " );
249
249
case QGis::WKBNoGeometry:
250
250
return QgsApplication::getThemeIcon ( " /mIconTableLayer.png" );
251
251
case QGis::WKBUnknown:
You can’t perform that action at this time.
0 commit comments