mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#499) Added a custom track delete feature
Added infrastructure needed to delete track from plot and plot collection
This commit is contained in:
@@ -86,6 +86,15 @@ void RiuWellLogPlot::insertTrackPlot(RiuWellLogTrackPlot* trackPlot)
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuWellLogPlot::removeTrackPlot(RiuWellLogTrackPlot* trackPlot)
|
||||
{
|
||||
m_layout->removeWidget(trackPlot);
|
||||
m_trackPlots.removeAll(trackPlot);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -139,3 +148,4 @@ RimWellLogPlot* RiuWellLogPlot::ownerPlotDefinition()
|
||||
{
|
||||
return m_plotDefinition;
|
||||
}
|
||||
|
||||
|
||||
@@ -46,6 +46,7 @@ public:
|
||||
RimWellLogPlot* ownerPlotDefinition();
|
||||
|
||||
void insertTrackPlot(RiuWellLogTrackPlot* trackPlot);
|
||||
void removeTrackPlot(RiuWellLogTrackPlot* trackPlot);
|
||||
|
||||
void setDepthRangeAndReplot(double minDepth, double maxDepth);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user