Well log plots now contain one plot per trace

This commit is contained in:
Pål Hagen
2015-08-28 14:25:14 +02:00
parent 7401160677
commit 4e83cff8a2
7 changed files with 133 additions and 6 deletions

View File

@@ -19,14 +19,19 @@
#pragma once
#include "qwt_plot.h"
#include <QWidget>
#include <QList>
class RimWellLogPlot;
class RiuWellLogTracePlot;
class QHBoxLayout;
//==================================================================================================
//
// RiuWellLogPlot
//
//==================================================================================================
class RiuWellLogPlot : public QwtPlot
class RiuWellLogPlot : public QWidget
{
Q_OBJECT
@@ -34,5 +39,11 @@ public:
RiuWellLogPlot(QWidget* parent = NULL);
virtual ~RiuWellLogPlot();
void update(const RimWellLogPlot& plot);
void clear();
private:
QHBoxLayout* m_layout;
QList<RiuWellLogTracePlot*> m_children;
};