mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1006 Add support for toggling legend and don't show legend for curves without a name
This commit is contained in:
@@ -78,6 +78,9 @@ public:
|
||||
QString curveName() const { return m_curveName; }
|
||||
|
||||
void updateCurveVisibility();
|
||||
void updateLegendVisibility();
|
||||
|
||||
void showLegend(bool show);
|
||||
|
||||
protected:
|
||||
|
||||
@@ -107,6 +110,7 @@ protected:
|
||||
caf::PdmField<bool> m_showCurve;
|
||||
caf::PdmField<QString> m_curveName;
|
||||
caf::PdmField<QString> m_customCurveName;
|
||||
caf::PdmField<bool> m_showLegend;
|
||||
|
||||
caf::PdmField<bool> m_isUsingAutoName;
|
||||
caf::PdmField<cvf::Color3f> m_curveColor;
|
||||
|
||||
Reference in New Issue
Block a user