mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Wip: Separated cretion of Qwt classes from Rim construction
This needs to be done because MDI window close window deletes the widgets. We need to be able to recreate all the widgets/qwt objects when needed. The QwtPlotCurves still crashes on window close/open
This commit is contained in:
@@ -44,6 +44,7 @@ public:
|
||||
void addCurve(RimWellLogPlotCurve* curve);
|
||||
size_t curveCount() { return curves.size(); }
|
||||
|
||||
void recreateViewer();
|
||||
void loadDataAndUpdate();
|
||||
|
||||
bool availableDepthRange(double* minimumDepth, double* maximumDepth);
|
||||
@@ -54,7 +55,6 @@ protected:
|
||||
|
||||
// Overridden PDM methods
|
||||
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue);
|
||||
virtual void initAfterRead();
|
||||
virtual caf::PdmFieldHandle* objectToggleField();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user