#5063 Improve auto name for well log plots and use it for well allocation plots

This commit is contained in:
Gaute Lindkvist
2019-11-26 08:45:17 +01:00
parent 431f0ff347
commit 3db9948a3b
5 changed files with 42 additions and 17 deletions

View File

@@ -418,7 +418,7 @@ void RimWellLogPlot::performAutoNameUpdate()
{
updateCommonDataSource();
setMultiPlotTitle( createAutoName() );
updatePlotTitleInWidgets();
applyPlotWindowTitleToWidgets();
}
//--------------------------------------------------------------------------------------------------
@@ -517,7 +517,7 @@ void RimWellLogPlot::onPlotAdditionOrRemoval()
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogPlot::updatePlotNames()
void RimWellLogPlot::updateSubPlotNames()
{
auto plotVector = plots();
for ( size_t tIdx = 0; tIdx < plotVector.size(); ++tIdx )
@@ -534,6 +534,14 @@ void RimWellLogPlot::updatePlotNames()
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogPlot::updatePlotWindowTitle()
{
performAutoNameUpdate();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------