(#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:
Jacob Støren
2015-09-02 16:46:30 +02:00
parent 30e2495849
commit 2a8533bad0
9 changed files with 44 additions and 44 deletions

View File

@@ -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;