mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor WellLogPlot, RftPlot, PlotPlot and WellAllocationPlot
This commit is contained in:
@@ -113,8 +113,8 @@ void RicNewPltPlotFeature::onActionTriggered(bool isChecked)
|
||||
pltPlot->setCurrentWellName(wellPathName);
|
||||
|
||||
RimWellLogTrack* plotTrack = new RimWellLogTrack();
|
||||
pltPlot->wellLogPlot()->addTrack(plotTrack);
|
||||
plotTrack->setDescription(QString("Track %1").arg(pltPlot->wellLogPlot()->trackCount()));
|
||||
pltPlot->addTrack(plotTrack);
|
||||
plotTrack->setDescription(QString("Track %1").arg(pltPlot->trackCount()));
|
||||
|
||||
pltPlotColl->addPlot(pltPlot);
|
||||
pltPlot->setDescription(plotName);
|
||||
|
||||
@@ -74,8 +74,8 @@ void RicNewRftPlotFeature::onActionTriggered(bool isChecked)
|
||||
rftPlot->setSimWellOrWellPathName(wellName);
|
||||
|
||||
RimWellLogTrack* plotTrack = new RimWellLogTrack();
|
||||
rftPlot->wellLogPlot()->addTrack(plotTrack);
|
||||
plotTrack->setDescription(QString("Track %1").arg(rftPlot->wellLogPlot()->trackCount()));
|
||||
rftPlot->addTrack(plotTrack);
|
||||
plotTrack->setDescription(QString("Track %1").arg(rftPlot->trackCount()));
|
||||
|
||||
rftPlotColl->addPlot(rftPlot);
|
||||
rftPlot->setDescription(plotName);
|
||||
|
||||
Reference in New Issue
Block a user