mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2845 Ensemble Curve Set Legend : Add name
This commit is contained in:
parent
a22f8ed032
commit
b21e6414f9
@ -839,6 +839,24 @@ std::vector<QString> RimEnsembleCurveSet::ensembleParameters() const
|
||||
return std::vector<QString>(paramSet.begin(), paramSet.end());
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RimEnsembleCurveSet::name() const
|
||||
{
|
||||
QString curveSetName;
|
||||
if (m_isUsingAutoName)
|
||||
{
|
||||
curveSetName = m_autoGeneratedName();
|
||||
}
|
||||
else
|
||||
{
|
||||
curveSetName += m_userDefinedName();
|
||||
}
|
||||
|
||||
return curveSetName;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -114,6 +114,7 @@ private:
|
||||
void updateQwtPlotAxis();
|
||||
std::vector<QString> ensembleParameters() const;
|
||||
|
||||
QString name() const;
|
||||
QString createAutoName() const;
|
||||
|
||||
void updateLegendMappingMode();
|
||||
|
Loading…
Reference in New Issue
Block a user