#5329, #4991 Use the new icons for multiplot and phase fraction plot

This commit is contained in:
Jacob Støren
2020-02-03 10:05:01 +01:00
parent 7112bc828c
commit 608d3a9a24
5 changed files with 5 additions and 5 deletions

View File

@@ -63,6 +63,6 @@ void RicShowCumulativePhasePlotFeature::onActionTriggered( bool isChecked )
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
void RicShowCumulativePhasePlotFeature::setupActionLook( QAction* actionToSetup ) void RicShowCumulativePhasePlotFeature::setupActionLook( QAction* actionToSetup )
{ {
// actionToSetup->setIcon(QIcon(":/new_icon16x16.png")); actionToSetup->setIcon( QIcon( ":/CumulativePhaseDist16x16.png" ) );
actionToSetup->setText( "Show Cumulative Phase Distribution Plot" ); actionToSetup->setText( "Show Cumulative Phase Distribution Plot" );
} }

View File

@@ -110,7 +110,7 @@ void RicNewMultiPlotFeature::onActionTriggered( bool isChecked )
void RicNewMultiPlotFeature::setupActionLook( QAction* actionToSetup ) void RicNewMultiPlotFeature::setupActionLook( QAction* actionToSetup )
{ {
actionToSetup->setText( "Create Multi Plot from Selected Plots" ); actionToSetup->setText( "Create Multi Plot from Selected Plots" );
actionToSetup->setIcon( QIcon( ":/WellLogPlot16x16.png" ) ); actionToSetup->setIcon( QIcon( ":/MultiPlot16x16.png" ) );
} }
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------

View File

@@ -58,7 +58,7 @@ RimWellDistributionPlotCollection::RimWellDistributionPlotCollection()
{ {
// cvf::Trace::show("RimWellDistributionPlotCollection::RimWellDistributionPlotCollection()"); // cvf::Trace::show("RimWellDistributionPlotCollection::RimWellDistributionPlotCollection()");
CAF_PDM_InitObject( "Cumulative Phase Distribution Plot", "", "", "" ); CAF_PDM_InitObject( "Cumulative Phase Distribution Plot", ":/CumulativePhaseDist16x16.png", "", "" );
CAF_PDM_InitFieldNoDefault( &m_case, "Case", "Case", "", "", "" ); CAF_PDM_InitFieldNoDefault( &m_case, "Case", "Case", "", "", "" );
CAF_PDM_InitField( &m_timeStepIndex, "TimeStepIndex", -1, "Time Step", "", "", "" ); CAF_PDM_InitField( &m_timeStepIndex, "TimeStepIndex", -1, "Time Step", "", "", "" );

View File

@@ -61,7 +61,7 @@ CAF_PDM_SOURCE_INIT( RimMultiPlot, "MultiPlot" );
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
RimMultiPlot::RimMultiPlot() RimMultiPlot::RimMultiPlot()
{ {
CAF_PDM_InitObject( "Multi Plot", ":/WellLogPlot16x16.png", "", "" ); CAF_PDM_InitObject( "Multi Plot", ":/MultiPlot16x16.png", "", "" );
CAF_PDM_InitField( &m_showPlotWindowTitle, "ShowTitleInPlot", true, "Show Title", "", "", "" ); CAF_PDM_InitField( &m_showPlotWindowTitle, "ShowTitleInPlot", true, "Show Title", "", "", "" );
CAF_PDM_InitField( &m_plotWindowTitle, "PlotDescription", QString( "" ), "Name", "", "", "" ); CAF_PDM_InitField( &m_plotWindowTitle, "PlotDescription", QString( "" ), "Name", "", "", "" );

View File

@@ -28,7 +28,7 @@ CAF_PDM_SOURCE_INIT( RimMultiPlotCollection, "RimMultiPlotCollection" );
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
RimMultiPlotCollection::RimMultiPlotCollection() RimMultiPlotCollection::RimMultiPlotCollection()
{ {
CAF_PDM_InitObject( "Multi Plots", ":/WellLogPlot16x16.png", "", "" ); CAF_PDM_InitObject( "Multi Plots", ":/MultiPlot16x16.png", "", "" );
CAF_PDM_InitFieldNoDefault( &m_multiPlots, "MultiPlots", "Plots Reports", "", "", "" ); CAF_PDM_InitFieldNoDefault( &m_multiPlots, "MultiPlots", "Plots Reports", "", "", "" );
m_multiPlots.uiCapability()->setUiHidden( true ); m_multiPlots.uiCapability()->setUiHidden( true );