#7716 Ensemble Well Logs: hide curves in project tree.

This commit is contained in:
Kristian Bendiksen
2021-06-28 13:04:29 +02:00
parent 6aa28bceb2
commit 4d780b4915
3 changed files with 12 additions and 0 deletions

View File

@@ -186,6 +186,8 @@ void RimEnsembleWellLogCurveSet::loadDataAndUpdate( bool updateParentPlot )
RimWellLogTrack* parentPlot;
firstAncestorOrThisOfTypeAsserted( parentPlot );
parentPlot->viewer()->scheduleReplot();
parentPlot->setCurvesTreeVisibility( false );
}
}

View File

@@ -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 );
}

View File

@@ -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;