mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7716 Ensemble Well Logs: hide curves in project tree.
This commit is contained in:
@@ -186,6 +186,8 @@ void RimEnsembleWellLogCurveSet::loadDataAndUpdate( bool updateParentPlot )
|
||||
RimWellLogTrack* parentPlot;
|
||||
firstAncestorOrThisOfTypeAsserted( parentPlot );
|
||||
parentPlot->viewer()->scheduleReplot();
|
||||
|
||||
parentPlot->setCurvesTreeVisibility( false );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3091,3 +3091,11 @@ void RimWellLogTrack::addUnderburden( std::vector<QString>& namesVector, CurveSa
|
||||
curveData.data.push_back( namesVector.size() - 1 );
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellLogTrack::setCurvesTreeVisibility( bool isVisible )
|
||||
{
|
||||
m_curves.uiCapability()->setUiTreeChildrenHidden( !isVisible );
|
||||
}
|
||||
|
||||
@@ -231,6 +231,8 @@ public:
|
||||
static void addOverburden( std::vector<QString>& namesVector, CurveSamplingPointData& curveData, double height );
|
||||
static void addUnderburden( std::vector<QString>& namesVector, CurveSamplingPointData& curveData, double height );
|
||||
|
||||
void setCurvesTreeVisibility( bool isVisible );
|
||||
|
||||
protected:
|
||||
// RimViewWindow overrides
|
||||
void deleteViewWidget() override;
|
||||
|
||||
Reference in New Issue
Block a user