mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
WIP: Started to create the summary plot Rim data structures.
This commit is contained in:
@@ -23,7 +23,15 @@
|
||||
#include "cafPdmField.h"
|
||||
#include "cafPdmChildField.h"
|
||||
|
||||
#include <QPointer>
|
||||
#include <QDockWidget>
|
||||
|
||||
|
||||
class RimWellLogPlotCollection;
|
||||
class RimSummaryPlotCollection;
|
||||
class RimSummaryPlot;
|
||||
class RifReaderEclipseSummary;
|
||||
class RimEclipseResultCase;
|
||||
|
||||
|
||||
//==================================================================================================
|
||||
@@ -38,16 +46,38 @@ public:
|
||||
virtual ~RimMainPlotCollection();
|
||||
|
||||
RimWellLogPlotCollection* wellLogPlotCollection();
|
||||
RimSummaryPlotCollection* summaryPlotCollection();
|
||||
|
||||
#if 0
|
||||
// Separate Window stuff
|
||||
void showPlotWindow();
|
||||
void hidePlotWindow();
|
||||
|
||||
void redrawAllPlots();
|
||||
void createDockWindowsForAllPlots();
|
||||
QMainWindow* windowWithGraphPlots();
|
||||
private:
|
||||
|
||||
QDockWidget* dockWidgetFromPlot(RimSummaryPlot* graphPlot);
|
||||
void createPlotDockWidget(RimSummaryPlot* graphPlot);
|
||||
void eraseDockWidget(RimSummaryPlot* graphPlot);
|
||||
|
||||
private:
|
||||
QMainWindow* m_plotManagerMainWindow; // Outer main Window
|
||||
QMainWindow* m_plotMainWindow; // Inner main window
|
||||
|
||||
std::vector<QPointer<QDockWidget> > m_plotViewDockWidgets; // ChildPlotWidgets
|
||||
#endif
|
||||
protected:
|
||||
|
||||
// Overridden PDM methods
|
||||
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue);
|
||||
|
||||
private:
|
||||
virtual caf::PdmFieldHandle* objectToggleField();
|
||||
|
||||
private:
|
||||
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue);
|
||||
//virtual void initAfterRead();
|
||||
|
||||
|
||||
caf::PdmChildField<RimWellLogPlotCollection*> m_wellLogPlotCollection;
|
||||
caf::PdmChildField<RimSummaryPlotCollection*> m_summaryPlotCollection;
|
||||
|
||||
caf::PdmField<bool> show;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user