mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
WIP - well log plots, added traces to plots and curves to traces
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
|
||||
#include "RimWellLogPlot.h"
|
||||
|
||||
#include "RimWellLogPlotTrace.h"
|
||||
|
||||
#include "RiuWellLogPlot.h"
|
||||
#include "RiuMainWindow.h"
|
||||
|
||||
@@ -36,6 +38,9 @@ RimWellLogPlot::RimWellLogPlot()
|
||||
CAF_PDM_InitField(&showWindow, "ShowWindow", true, "Show well log plot", "", "", "");
|
||||
showWindow.uiCapability()->setUiHidden(true);
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&traces, "Traces", "", "", "", "");
|
||||
traces.uiCapability()->setUiHidden(true);
|
||||
|
||||
updateViewerWidget();
|
||||
}
|
||||
|
||||
|
@@ -21,9 +21,11 @@
|
||||
|
||||
#include "cafPdmObject.h"
|
||||
#include "cafPdmField.h"
|
||||
#include "cafPdmChildArrayField.h"
|
||||
|
||||
#include <QPointer>
|
||||
|
||||
class RimWellLogPlotTrace;
|
||||
class RiuWellLogPlot;
|
||||
|
||||
|
||||
@@ -50,8 +52,7 @@ private:
|
||||
|
||||
virtual caf::PdmFieldHandle* objectToggleField();
|
||||
|
||||
// TODO: Add traces
|
||||
|
||||
private:
|
||||
QPointer<RiuWellLogPlot> m_viewer;
|
||||
caf::PdmChildArrayField<RimWellLogPlotTrace*> traces;
|
||||
};
|
||||
|
@@ -19,6 +19,8 @@
|
||||
|
||||
#include "RimWellLogPlotTrace.h"
|
||||
|
||||
#include "RimWellLogPlotCurve.h"
|
||||
|
||||
|
||||
CAF_PDM_SOURCE_INIT(RimWellLogPlotTrace, "WellLogPlotTrace");
|
||||
|
||||
@@ -31,6 +33,9 @@ RimWellLogPlotTrace::RimWellLogPlotTrace()
|
||||
|
||||
CAF_PDM_InitField(&show, "Show", true, "Show trace", "", "", "");
|
||||
show.uiCapability()->setUiHidden(true);
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&curves, "Curves", "", "", "", "");
|
||||
curves.uiCapability()->setUiHidden(true);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@@ -21,6 +21,9 @@
|
||||
|
||||
#include "cafPdmObject.h"
|
||||
#include "cafPdmField.h"
|
||||
#include "cafPdmChildArrayField.h"
|
||||
|
||||
class RimWellLogPlotCurve;
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
@@ -43,4 +46,5 @@ private:
|
||||
|
||||
private:
|
||||
caf::PdmField<bool> show;
|
||||
caf::PdmChildArrayField<RimWellLogPlotCurve*> curves;
|
||||
};
|
||||
|
Reference in New Issue
Block a user