mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#739 First crude but working version of Summary plotting
This commit is contained in:
@@ -46,22 +46,25 @@ public:
|
||||
void setDescription(const QString& description);
|
||||
void loadDataAndUpdate();
|
||||
RiuResultQwtPlot* viewer();
|
||||
void addCurve(RimSummaryCurve* curve);
|
||||
|
||||
|
||||
caf::PdmChildArrayField<RimSummaryCurve*> curves;
|
||||
|
||||
protected:
|
||||
// Overridden PDM methods
|
||||
virtual caf::PdmFieldHandle* objectToggleField() { return &m_showWindow; }
|
||||
virtual caf::PdmFieldHandle* userDescriptionField() { return &m_userName; }
|
||||
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override;
|
||||
|
||||
private:
|
||||
void updateViewerWidget();
|
||||
|
||||
void detachAllCurves();
|
||||
|
||||
QWidget* createPlotWidget(QWidget* parent);
|
||||
void deletePlotWidget();
|
||||
|
||||
caf::PdmChildArrayField<RimSummaryCurve*> m_curves;
|
||||
|
||||
caf::PdmField<bool> m_showWindow;
|
||||
caf::PdmField<QString> m_userName;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user