#1106, #1107, #1009, #1113 Started using WellLog plot for the Accumulated Well Flow plot

This commit is contained in:
Jacob Støren
2017-01-19 17:39:43 +01:00
parent 6fad753c4d
commit 6bd8a4d51a
7 changed files with 91 additions and 7 deletions

View File

@@ -22,6 +22,9 @@
#include "RiaApplication.h"
#include "RimWellAllocationPlot.h"
#include "RimWellLogPlot.h"
#include "RimWellLogTrack.h"
#include "QBoxLayout"
@@ -30,10 +33,17 @@
///
//--------------------------------------------------------------------------------------------------
RiuWellAllocationPlot::RiuWellAllocationPlot(RimWellAllocationPlot* plotDefinition, QWidget* parent)
: QwtPlot(parent)
: QFrame(parent)
{
Q_ASSERT(plotDefinition);
this->setLayout(new QVBoxLayout());
this->layout()->setMargin(0);
m_plotDefinition = plotDefinition;
QWidget* wellFlowWidget = m_plotDefinition->accumulatedWellFlowPlot()->createViewWidget(this);
this->layout()->addWidget(wellFlowWidget);
}
//--------------------------------------------------------------------------------------------------

View File

@@ -32,7 +32,7 @@ class RimWellAllocationPlot;
//
//
//==================================================================================================
class RiuWellAllocationPlot : public QwtPlot
class RiuWellAllocationPlot : public QFrame
{
Q_OBJECT;
public: