Improve curve naming for plot and use in RFT segment plots

* Improve plot naming for depth track plots
* Move template text replace to string tools
* More data available for object template text
* Set plot visible and define default object name template text
This commit is contained in:
Magne Sjaastad
2022-10-12 12:41:08 +02:00
committed by GitHub
parent 5e184df670
commit e7a486c802
29 changed files with 373 additions and 203 deletions

View File

@@ -22,6 +22,7 @@
#include "RimRftPlotCollection.h"
#include "RimSimWellInView.h"
#include "RimWellLogPlot.h"
#include "RimWellLogPlotNameConfig.h"
#include "RimWellLogTrack.h"
#include "RimWellPath.h"
#include "RimWellRftPlot.h"
@@ -77,6 +78,7 @@ void RicNewRftPlotFeature::onActionTriggered( bool isChecked )
QString plotName = QString( RimWellRftPlot::plotNameFormatString() ).arg( wellName );
rftPlot->nameConfig()->setCustomName( plotName );
rftPlot->setNamingMethod( RiaDefines::ObjectNamingMethod::CUSTOM );
rftPlot->loadDataAndUpdate();
rftPlotColl->updateConnectedEditors();