Improved elevation/scale style dock icon

This commit is contained in:
nirvn 2021-02-07 13:47:14 +07:00
parent e82df36c0d
commit 53f0e2a6a8
3 changed files with 37 additions and 1 deletions

View File

@ -585,6 +585,7 @@
<file>themes/default/propertyicons/digitizing.svg</file>
<file>themes/default/propertyicons/display.svg</file>
<file>themes/default/propertyicons/editmetadata.svg</file>
<file>themes/default/propertyicons/elevationscale.svg</file>
<file>themes/default/propertyicons/gdal.svg</file>
<file>themes/default/propertyicons/general.svg</file>
<file>themes/default/propertyicons/histogram.svg</file>

View File

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="64" height="64" enable-background="new 0 0 64 64" version="1.1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xlink="http://www.w3.org/1999/xlink">
<metadata>
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title/>
</cc:Work>
</rdf:RDF>
</metadata>
<defs>
<linearGradient id="linearGradient1161" x1="10" x2="20" y1="42.245" y2="55" gradientUnits="userSpaceOnUse">
<stop stop-color="#fff17a" offset="0"/>
<stop stop-color="#edd400" offset="1"/>
</linearGradient>
<linearGradient id="linearGradient1169" x1="45" x2="55" y1="10" y2="40" gradientUnits="userSpaceOnUse">
<stop stop-color="#fff17a" offset="0"/>
<stop stop-color="#edd400" offset="1"/>
</linearGradient>
</defs>
<g fill="none" stroke-linecap="round">
<path d="m31 43v-34" stroke="#d0d0d0" stroke-opacity=".99608" stroke-width="8"/>
<path d="m18 49h26" stroke="#d0d0d0" stroke-opacity=".99608" stroke-width="4"/>
<path d="m23 16.19 8-9 8 9" stroke="#c2c2c2" stroke-width="8"/>
<path d="m31 43v-34" stroke="#2e3436" stroke-width="4"/>
</g>
<rect x="6" y="40" width="18" height="18" fill="url(#linearGradient1161)" stroke="#c4a000" stroke-linecap="square" stroke-width="2"/>
<rect x="40" y="6" width="18" height="37" fill="url(#linearGradient1169)" stroke="#c4a000" stroke-linecap="square" stroke-width="2"/>
<g fill="none" stroke-linecap="round">
<path d="m23 16.19 8-9 8 9" stroke="#000" stroke-width="4"/>
<path d="m18 49h26" stroke="#2e3436" stroke-width="2"/>
<path d="m23 16.19 8-9 8 9" stroke="#2e3436" stroke-width="4"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -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" ) );
}