mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-23 23:13:39 -06:00
#867 Use icons in context menu
This commit is contained in:
parent
f116673827
commit
692c8bd1e0
@ -87,6 +87,7 @@ void RicNewSummaryPlotFeature::onActionTriggered(bool isChecked)
|
||||
void RicNewSummaryPlotFeature::setupActionLook(QAction* actionToSetup)
|
||||
{
|
||||
actionToSetup->setText("New Summary Plot");
|
||||
actionToSetup->setIcon(QIcon(":/SummaryPlot16x16.png"));
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -90,6 +90,7 @@ void RicPasteSummaryPlotFeature::onActionTriggered(bool isChecked)
|
||||
void RicPasteSummaryPlotFeature::setupActionLook(QAction* actionToSetup)
|
||||
{
|
||||
actionToSetup->setText("Paste Summary Plot");
|
||||
actionToSetup->setIcon(QIcon(":/SummaryPlot16x16.png"));
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -272,6 +272,7 @@ QStringList RimContextCommandBuilder::commandsFromSelection()
|
||||
{
|
||||
commandIds << "RicPasteSummaryCurveFeature";
|
||||
commandIds << "RicPasteSummaryCurveFilterFeature";
|
||||
commandIds << "RicPasteSummaryPlotFeature";
|
||||
commandIds << "Separator";
|
||||
commandIds << "RicNewSummaryCurveFilterFeature";
|
||||
commandIds << "RicNewSummaryCurveFeature";
|
||||
|
Loading…
Reference in New Issue
Block a user