mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Realization in Ensemble RFT-plot hover info + refactoring of point tracker functionality
* Add realization number to mouse over text for Ensemble RFT * Refactor Curve Info Text Provider functionality - Refactor provider implementation, to separate RiuWellLogTrack from the point tracker and text provider. - Move creating of point tracker outside of RiuWellLogTrack. - Makes it possible to override/write new CurveInfoTextProvider implementation when needed. * Add guards for nullptr
This commit is contained in:
@@ -528,7 +528,11 @@ std::map<QString, QString> RimWellLogRftCurve::createCurveNameKeyValueMap() cons
|
||||
{
|
||||
caseText = m_eclipseResultCase->caseUserDescription();
|
||||
}
|
||||
else if ( m_ensemble ) // Summary RFT curves have both ensemble and summary set. Prioritize ensemble for name.
|
||||
else if ( m_summaryCase && m_ensemble ) // Summary RFT curves have both ensemble and summary set
|
||||
{
|
||||
caseText = QString( "%1, %2" ).arg( m_ensemble->name() ).arg( m_summaryCase->displayCaseName() );
|
||||
}
|
||||
else if ( m_ensemble )
|
||||
{
|
||||
caseText = m_ensemble->name();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user