#2659 Ensemble statistics. Support for setting curve color. Group check boxes

This commit is contained in:
Bjørn Erik Jensen
2018-06-15 09:06:44 +02:00
parent 06749a20e0
commit 1abea45d45
3 changed files with 26 additions and 8 deletions

View File

@@ -45,6 +45,7 @@ public:
bool showP50Curve() const { return m_showP50Curve; };
bool showP90Curve() const { return m_showP90Curve; };
bool showMeanCurve() const { return m_showMeanCurve; };
cvf::Color3f color() const { return m_color; }
virtual QList<caf::PdmOptionItemInfo> calculateValueOptions(const caf::PdmFieldHandle* fieldNeedingOptions, bool* useOptionsOnly) override;
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
@@ -59,6 +60,8 @@ private:
caf::PdmField<bool> m_showP90Curve;
caf::PdmField<bool> m_showMeanCurve;
caf::PdmField<cvf::Color3f> m_color;
RimSummaryCaseCollection* m_ensemble;
};