Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #41490 from SrNetoChan/new_icons2
Add missing icons
  • Loading branch information
nirvn committed Feb 16, 2021
2 parents fd657be + cf9b22c commit 1772c94
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions images/images.qrc
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
1 change: 1 addition & 0 deletions images/themes/default/rendererMergedFeatures.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/themes/default/styleicons/pointcloudextent.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/themes/default/styleicons/singlecolor.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/app/3d/qgspointcloud3dsymbolwidget.cpp
Expand Up @@ -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" ) );
Expand Down
Expand Up @@ -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" ) );
Expand Down
2 changes: 1 addition & 1 deletion src/gui/symbology/qgsrendererpropertiesdialog.cpp
Expand Up @@ -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" ) );
Expand Down

0 comments on commit 1772c94

Please sign in to comment.