From 53f0e2a6a8334874e06e3cb748bbe33f6fe716ae Mon Sep 17 00:00:00 2001 From: nirvn Date: Sun, 7 Feb 2021 13:47:14 +0700 Subject: [PATCH] Improved elevation/scale style dock icon --- images/images.qrc | 1 + .../default/propertyicons/elevationscale.svg | 35 +++++++++++++++++++ ...qgspointcloudelevationpropertieswidget.cpp | 2 +- 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 images/themes/default/propertyicons/elevationscale.svg diff --git a/images/images.qrc b/images/images.qrc index d05c3fd1fc6..082df9cb1fa 100644 --- a/images/images.qrc +++ b/images/images.qrc @@ -585,6 +585,7 @@ themes/default/propertyicons/digitizing.svg themes/default/propertyicons/display.svg themes/default/propertyicons/editmetadata.svg + themes/default/propertyicons/elevationscale.svg themes/default/propertyicons/gdal.svg themes/default/propertyicons/general.svg themes/default/propertyicons/histogram.svg diff --git a/images/themes/default/propertyicons/elevationscale.svg b/images/themes/default/propertyicons/elevationscale.svg new file mode 100644 index 00000000000..e08263d69da --- /dev/null +++ b/images/themes/default/propertyicons/elevationscale.svg @@ -0,0 +1,35 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/app/pointcloud/qgspointcloudelevationpropertieswidget.cpp b/src/app/pointcloud/qgspointcloudelevationpropertieswidget.cpp index 1123e6654d0..fa706bf5fd9 100644 --- a/src/app/pointcloud/qgspointcloudelevationpropertieswidget.cpp +++ b/src/app/pointcloud/qgspointcloudelevationpropertieswidget.cpp @@ -70,7 +70,7 @@ void QgsPointCloudElevationPropertiesWidget::onChanged() QgsPointCloudElevationPropertiesWidgetFactory::QgsPointCloudElevationPropertiesWidgetFactory( QObject *parent ) : QObject( parent ) { - setIcon( QgsApplication::getThemeIcon( QStringLiteral( "mesh/Elevation.svg" ) ) ); + setIcon( QgsApplication::getThemeIcon( QStringLiteral( "propertyicons/elevationscale.svg" ) ) ); setTitle( tr( "Elevation" ) ); }