Skip to content
Permalink
Browse files

Merge pull request #41490 from SrNetoChan/new_icons2

Add missing icons
  • Loading branch information
nirvn committed Feb 16, 2021
2 parents fd657be + cf9b22c commit 1772c94eeb4d70353657c62d526c3bf6f4ae004e
@@ -638,6 +638,7 @@
<file>themes/default/rendererHeatmapSymbol.svg</file>
<file>themes/default/renderer25dSymbol.svg</file>
<file>themes/default/rendererGrassSymbol.svg</file>
<file>themes/default/rendererMergedFeatures.svg</file>
<file>themes/default/labelingNone.svg</file>
<file>themes/default/labelingSingle.svg</file>
<file>themes/default/labelingRuleBased.svg</file>
@@ -650,6 +651,8 @@
<file>themes/default/stars_empty.svg</file>
<file>themes/default/stars_full.svg</file>
<file>themes/default/styleicons/color.svg</file>
<file>themes/default/styleicons/singlecolor.svg</file>
<file>themes/default/styleicons/pointcloudextent.svg</file>
<file>themes/default/symbologyAdd.svg</file>
<file>themes/default/symbologyEdit.svg</file>
<file>themes/default/symbologyRemove.svg</file>
@@ -0,0 +1 @@
<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m2.5 1.5v3h2v7h-2v3h10v-5h2v-3h-2v-5z" fill="#00ba58" stroke="#005338"/></svg>
@@ -0,0 +1 @@
<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientTransform="matrix(.65196 0 0 .6516 -26.896692 4.161213)" gradientUnits="userSpaceOnUse" x1="7.373" x2="7.449" y1="10" y2="15"><stop offset="0" stop-color="#6e97c4"/><stop offset="1" stop-color="#aec7e2"/></linearGradient><path d="m-25.592692 10.676213c-.87 9.558-.435 4.779 0 0z" fill="url(#a)"/><g fill="#e41a1c" fill-rule="evenodd"><path d="m13 4v2h1v-2z" stroke-width="1.41421"/><path d="m2 2v1h2v-1z" stroke-width="1.41422"/><path d="m5 2v1h2v-1z" stroke-width="1.41422"/><path d="m8 2v1h2v-1z" stroke-width="1.41422"/><path d="m11.000001 2v1h1.999999v-1z" stroke-width="1.41422"/><path d="m13 7v2h1v-2z" stroke-width="1.41421"/><path d="m13 10v2h1v-2z" stroke-width="1.41421"/><path d="m12.000001 13v1h1.999999v-1z" stroke-width="1.41422"/><path d="m9 13v1h1.999999v-1z" stroke-width="1.41422"/><path d="m6 13v1h1.999999v-1z" stroke-width="1.41422"/><path d="m3.000001 13v1h1.999999v-1z" stroke-width="1.41422"/><path d="m2 4v2h1v-2z" stroke-width="1.41421"/><path d="m2 7v2h1v-2z" stroke-width="1.41421"/><path d="m2 10v2h1v-2z" stroke-width="1.41421"/></g></svg>
@@ -0,0 +1 @@
<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m2 2h12v12h-12z" fill="#8ae234" stroke="#5a5a5a"/></svg>
@@ -48,7 +48,7 @@ QgsPointCloud3DSymbolWidget::QgsPointCloud3DSymbolWidget( QgsPointCloudLayer *la
mSingleColorBtn->setColor( QColor( 0, 0, 255 ) ); // default color

mRenderingStyleComboBox->addItem( tr( "No Rendering" ), QString() );
mRenderingStyleComboBox->addItem( tr( "Single Color" ), QStringLiteral( "single-color" ) );
mRenderingStyleComboBox->addItem( QgsApplication::getThemeIcon( QStringLiteral( "styleicons/singlecolor.svg" ) ), tr( "Single Color" ), QStringLiteral( "single-color" ) );
mRenderingStyleComboBox->addItem( QgsApplication::getThemeIcon( QStringLiteral( "styleicons/singlebandpseudocolor.svg" ) ), tr( "Attribute by Ramp" ), QStringLiteral( "color-ramp" ) );
mRenderingStyleComboBox->addItem( QgsApplication::getThemeIcon( QStringLiteral( "styleicons/multibandcolor.svg" ) ), tr( "RGB" ), QStringLiteral( "rgb" ) );
mRenderingStyleComboBox->addItem( QgsApplication::getThemeIcon( QStringLiteral( "styleicons/paletted.svg" ) ), tr( "Classification" ), QStringLiteral( "classification" ) );
@@ -55,7 +55,7 @@ static void _initRendererWidgetFunctions()
if ( sInitialized )
return;

_initRenderer( QStringLiteral( "extent" ), QgsPointCloudExtentRendererWidget::create, QString( ) );
_initRenderer( QStringLiteral( "extent" ), QgsPointCloudExtentRendererWidget::create, QStringLiteral( "styleicons/pointcloudextent.svg" ) );
_initRenderer( QStringLiteral( "rgb" ), QgsPointCloudRgbRendererWidget::create, QStringLiteral( "styleicons/multibandcolor.svg" ) );
_initRenderer( QStringLiteral( "ramp" ), QgsPointCloudAttributeByRampRendererWidget::create, QStringLiteral( "styleicons/singlebandpseudocolor.svg" ) );
_initRenderer( QStringLiteral( "classified" ), QgsPointCloudClassifiedRendererWidget::create, QStringLiteral( "styleicons/paletted.svg" ) );
@@ -74,7 +74,7 @@ static void _initRendererWidgetFunctions()
_initRenderer( QStringLiteral( "pointDisplacement" ), QgsPointDisplacementRendererWidget::create, QStringLiteral( "rendererPointDisplacementSymbol.svg" ) );
_initRenderer( QStringLiteral( "pointCluster" ), QgsPointClusterRendererWidget::create, QStringLiteral( "rendererPointClusterSymbol.svg" ) );
_initRenderer( QStringLiteral( "invertedPolygonRenderer" ), QgsInvertedPolygonRendererWidget::create, QStringLiteral( "rendererInvertedSymbol.svg" ) );
_initRenderer( QStringLiteral( "mergedFeatureRenderer" ), QgsMergedFeatureRendererWidget::create, QStringLiteral( "rendererInvertedSymbol.svg" ) );
_initRenderer( QStringLiteral( "mergedFeatureRenderer" ), QgsMergedFeatureRendererWidget::create, QStringLiteral( "rendererMergedFeatures.svg" ) );
_initRenderer( QStringLiteral( "heatmapRenderer" ), QgsHeatmapRendererWidget::create, QStringLiteral( "rendererHeatmapSymbol.svg" ) );
_initRenderer( QStringLiteral( "25dRenderer" ), Qgs25DRendererWidget::create, QStringLiteral( "renderer25dSymbol.svg" ) );
_initRenderer( QStringLiteral( "nullSymbol" ), QgsNullSymbolRendererWidget::create, QStringLiteral( "rendererNullSymbol.svg" ) );

0 comments on commit 1772c94

Please sign in to comment.