mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add method to remove plot in Well Log Plot Collection.
This commit is contained in:
@@ -166,6 +166,15 @@ void RimWellLogPlotCollection::deleteAllPlots()
|
|||||||
m_wellLogPlots.deleteAllChildObjects();
|
m_wellLogPlots.deleteAllChildObjects();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
void RimWellLogPlotCollection::removePlot( gsl::not_null<RimWellLogPlot*> plot )
|
||||||
|
{
|
||||||
|
m_wellLogPlots.removeChildObject( plot );
|
||||||
|
updateAllRequiredEditors();
|
||||||
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -59,7 +59,9 @@ public:
|
|||||||
RigGeoMechWellLogExtractor* findOrCreateExtractor( RimWellPath* wellPath, RimGeoMechCase* geoMechCase );
|
RigGeoMechWellLogExtractor* findOrCreateExtractor( RimWellPath* wellPath, RimGeoMechCase* geoMechCase );
|
||||||
|
|
||||||
std::vector<RimWellLogPlot*> wellLogPlots() const;
|
std::vector<RimWellLogPlot*> wellLogPlots() const;
|
||||||
|
|
||||||
void addWellLogPlot( gsl::not_null<RimWellLogPlot*> wellLogPlot );
|
void addWellLogPlot( gsl::not_null<RimWellLogPlot*> wellLogPlot );
|
||||||
|
void removePlot( gsl::not_null<RimWellLogPlot*> plot );
|
||||||
void deleteAllPlots() override;
|
void deleteAllPlots() override;
|
||||||
void loadDataAndUpdateAllPlots() override;
|
void loadDataAndUpdateAllPlots() override;
|
||||||
size_t plotCount() const override;
|
size_t plotCount() const override;
|
||||||
|
|||||||
Reference in New Issue
Block a user