mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1321 Update Flow Characteristics plot when new timesteps arrives.
Added a updateCurrentTimeStepInPlots method Deleted obsolete ifdeffed code from main plot collection
This commit is contained in:
@@ -50,39 +50,18 @@ public:
|
||||
RimSummaryPlotCollection* summaryPlotCollection();
|
||||
RimFlowPlotCollection* flowPlotCollection();
|
||||
|
||||
void deleteAllContainedObjects();
|
||||
void deleteAllContainedObjects();
|
||||
void updateCurrentTimeStepInPlots();
|
||||
|
||||
#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 caf::PdmFieldHandle* objectToggleField();
|
||||
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue);
|
||||
//virtual void initAfterRead();
|
||||
|
||||
virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue);
|
||||
|
||||
caf::PdmChildField<RimWellLogPlotCollection*> m_wellLogPlotCollection;
|
||||
caf::PdmChildField<RimSummaryPlotCollection*> m_summaryPlotCollection;
|
||||
caf::PdmChildField<RimFlowPlotCollection*> m_flowPlotCollection;
|
||||
|
||||
caf::PdmField<bool> show;
|
||||
caf::PdmField<bool> show;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user