mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3085 Ensemble curve filters. Display info label when filters are hiding some curves
This commit is contained in:
@@ -175,6 +175,7 @@ RimEnsembleCurveSet::RimEnsembleCurveSet()
|
||||
m_ensembleStatCase->createSummaryReaderInterface();
|
||||
|
||||
m_disableStatisticCurves = false;
|
||||
m_isCurveSetFiltered = false;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -937,6 +938,8 @@ void RimEnsembleCurveSet::updateEnsembleCurves()
|
||||
m_yValuesSummaryFilter->updateFromAddress(addr->address());
|
||||
|
||||
if (plot->qwtPlot()) m_qwtPlotCurveForLegendText->attach(plot->qwtPlot());
|
||||
|
||||
m_isCurveSetFiltered = filteredCases.size() < group->allSummaryCases().size();
|
||||
}
|
||||
|
||||
RimSummaryPlot* plot;
|
||||
@@ -946,6 +949,7 @@ void RimEnsembleCurveSet::updateEnsembleCurves()
|
||||
plot->qwtPlot()->updateLegend();
|
||||
plot->qwtPlot()->replot();
|
||||
plot->updateAxes();
|
||||
plot->updatePlotInfoLabel();
|
||||
}
|
||||
}
|
||||
updateCurveColors();
|
||||
@@ -1105,6 +1109,14 @@ void RimEnsembleCurveSet::disableStatisticCurves()
|
||||
m_disableStatisticCurves = true;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimEnsembleCurveSet::isFiltered() const
|
||||
{
|
||||
return m_isCurveSetFiltered;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user