#5326 Phase Distribution : Add max TOF to property editor

This commit is contained in:
Magne Sjaastad
2020-01-12 13:27:18 +01:00
parent 7de6fda595
commit fc16c1d88e
4 changed files with 23 additions and 8 deletions

View File

@@ -44,7 +44,7 @@ public:
~RimWellDistributionPlot() override;
void setDataSourceParameters( RimEclipseResultCase* eclipseResultCase, int timeStepIndex, QString targetWellName );
void setPlotOptions( bool groupSmallContributions, double smallContributionsRelativeThreshold );
void setPlotOptions( bool groupSmallContributions, double smallContributionsRelativeThreshold, double maximumTof );
// RimPlot implementations
RiuQwtPlotWidget* viewer() override;
@@ -81,7 +81,8 @@ private:
void fixupDependentFieldsAfterCaseChange();
static void populatePlotWidgetWithCurveData( const RigTofWellDistributionCalculator& calculator,
const RimFlowDiagSolution& flowDiagSolution,
RiuQwtPlotWidget* plotWidget );
RiuQwtPlotWidget* plotWidget,
double maximumTof );
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
void fieldChangedByUi( const caf::PdmFieldHandle* changedField,
@@ -98,6 +99,7 @@ private:
caf::PdmField<caf::AppEnum<RiaDefines::PhaseType>> m_phase;
caf::PdmField<bool> m_groupSmallContributions;
caf::PdmField<double> m_smallContributionsRelativeThreshold;
caf::PdmField<double> m_maximumTof;
QPointer<RiuQwtPlotWidget> m_plotWidget;
};