mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#396) Save/Restore of WellLog plots partly in place.
Cleaned up ownership in WellLog plot classes initAfterRead() is implemented moved code related to command features from the WellLog classes Still plots are not redrawn/reloaded when opening a project file.
This commit is contained in:
@@ -40,11 +40,8 @@ public:
|
||||
RimWellLogPlot();
|
||||
virtual ~RimWellLogPlot();
|
||||
|
||||
caf::PdmChildArrayField<RimWellLogPlotTrace*> traces;
|
||||
caf::PdmField<bool> showWindow;
|
||||
caf::PdmField< std::vector<int> > windowGeometry;
|
||||
|
||||
void addTrace();
|
||||
void addTrace(RimWellLogPlotTrace* trace);
|
||||
size_t traceCount() { return traces.size();}
|
||||
|
||||
RiuWellLogPlot* viewer();
|
||||
|
||||
@@ -74,6 +71,11 @@ private:
|
||||
private:
|
||||
QPointer<RiuWellLogPlot> m_viewer;
|
||||
|
||||
caf::PdmField<bool> showWindow;
|
||||
caf::PdmField< std::vector<int> > windowGeometry;
|
||||
|
||||
caf::PdmChildArrayField<RimWellLogPlotTrace*> traces;
|
||||
|
||||
caf::PdmField<double> m_minimumVisibleDepth;
|
||||
caf::PdmField<double> m_maximumVisibleDepth;
|
||||
|
||||
|
Reference in New Issue
Block a user