RFT segment plot adjustments (#9912)

* Delete RFT plot when associated case is deleted
* Rename
* Hide track/curves with no data
This commit is contained in:
Magne Sjaastad
2023-03-06 14:34:22 +01:00
parent e2a5e2e476
commit 415a119f41
32 changed files with 355 additions and 169 deletions

View File

@@ -79,8 +79,14 @@ public:
void setFillStyle( Qt::BrushStyle brushStyle );
void setFillColor( const cvf::Color3f& fillColor );
bool isCurveVisible() const;
void setCurveVisibility( bool visible );
bool isChecked() const;
void setCheckState( bool isChecked );
// The check state of the curve (m_showCurve) can automatically be updated based on presens of curve data. The virtual method
// isAnyCurveDataPresent() can be overridden. Similar concept is used in RimWellLogTrack
void setAutoCheckStateBasedOnCurveData( bool enable );
void updateCheckStateBasedOnCurveData();
virtual bool isAnyCurveDataPresent() const;
void updateCurveName();
void updateCurveNameAndUpdatePlotLegendAndTitle();
@@ -184,6 +190,7 @@ private:
protected:
caf::PdmField<bool> m_showCurve;
caf::PdmField<bool> m_autoCheckStateBasedOnCurveData;
caf::PdmField<QString> m_curveName;
caf::PdmField<QString> m_curveNameTemplateText;