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:
@@ -54,17 +54,17 @@ public:
|
||||
void updateAvailableDepthRange();
|
||||
bool availableDepthRange(double* minimumDepth, double* maximumDepth);
|
||||
|
||||
void visibleDepthRange(double* minimumDepth, double* maximumDepth);
|
||||
|
||||
void visibleDepthRange(double* minimumDepth, double* maximumDepth) const;
|
||||
void updateAxisRanges();
|
||||
protected:
|
||||
|
||||
// Overridden PDM methods
|
||||
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue);
|
||||
virtual void initAfterRead();
|
||||
virtual void setupBeforeSave();
|
||||
|
||||
private:
|
||||
void updateViewerWidget();
|
||||
void recreateTracePlots();
|
||||
|
||||
virtual caf::PdmFieldHandle* objectToggleField();
|
||||
|
||||
|
Reference in New Issue
Block a user