#5011 Add icon to Replace Case commands

This commit is contained in:
Jacob Støren
2019-11-29 13:37:38 +01:00
committed by Magne Sjaastad
parent d68e764a8f
commit f3fc7351d4
4 changed files with 3 additions and 4 deletions

View File

@@ -126,6 +126,5 @@ void RicReplaceCaseFeature::onActionTriggered( bool isChecked )
void RicReplaceCaseFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Replace" );
// TODO: icon?
// actionToSetup->setIcon( QIcon( ":/Refresh-32.png" ) );
actionToSetup->setIcon( QIcon( ":/ReplaceCase16x16.png" ) );
}

View File

@@ -78,6 +78,5 @@ void RicReplaceSummaryCaseFeature::onActionTriggered( bool isChecked )
void RicReplaceSummaryCaseFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Replace" );
// TODO: get an icon?
// actionToSetup->setIcon( QIcon( ":/Refresh-32.png" ) );
actionToSetup->setIcon( QIcon( ":/ReplaceCase16x16.png" ) );
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

View File

@@ -33,6 +33,7 @@
<file>SummaryGroup16x16.png</file>
<file>CreateGridCaseGroup16x16.png</file>
<file>GridCaseGroup16x16.png</file>
<file>ReplaceCase16x16.png</file>
<file>Histogram16x16.png</file>
<file>Histograms16x16.png</file>
<file>ZoomAll16x16.png</file>