mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-09 23:16:00 -06:00
Fix missing icons
This commit is contained in:
parent
d99677d149
commit
27230ed308
@ -82,6 +82,6 @@ void RicConvertGroupToEnsembleFeature::onActionTriggered( bool isChecked )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicConvertGroupToEnsembleFeature::setupActionLook( QAction* actionToSetup )
|
||||
{
|
||||
actionToSetup->setIcon( QIcon( ":/SummaryEnsemble16x16.png" ) );
|
||||
actionToSetup->setIcon( QIcon( ":/SummaryEnsemble.svg" ) );
|
||||
actionToSetup->setText( "Convert to Ensemble" );
|
||||
}
|
||||
|
@ -112,5 +112,5 @@ void RicNewDerivedEnsembleFeature::onActionTriggered( bool isChecked )
|
||||
void RicNewDerivedEnsembleFeature::setupActionLook( QAction* actionToSetup )
|
||||
{
|
||||
actionToSetup->setText( "New Delta Ensemble" );
|
||||
actionToSetup->setIcon( QIcon( ":/SummaryEnsemble16x16.png" ) );
|
||||
actionToSetup->setIcon( QIcon( ":/SummaryEnsemble.svg" ) );
|
||||
}
|
||||
|
@ -56,7 +56,7 @@ CAF_PDM_SOURCE_INIT( RimDerivedEnsembleCaseCollection, "RimDerivedEnsembleCaseCo
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimDerivedEnsembleCaseCollection::RimDerivedEnsembleCaseCollection()
|
||||
{
|
||||
CAF_PDM_InitObject( "Delta Ensemble", ":/SummaryEnsemble16x16.png", "", "" );
|
||||
CAF_PDM_InitObject( "Delta Ensemble", ":/SummaryEnsemble.svg", "", "" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_ensemble1, "Ensemble1", "Ensemble 1", "", "", "" );
|
||||
m_ensemble1.uiCapability()->setUiTreeChildrenHidden( true );
|
||||
|
@ -990,7 +990,7 @@ QString RimSummaryCaseCollection::nameAndItemCount() const
|
||||
void RimSummaryCaseCollection::updateIcon()
|
||||
{
|
||||
if ( m_isEnsemble )
|
||||
setUiIconFromResourceString( ":/SummaryEnsemble16x16.png" );
|
||||
setUiIconFromResourceString( ":/SummaryEnsemble.svg" );
|
||||
else
|
||||
setUiIconFromResourceString( ":/SummaryGroup16x16.png" );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user