#1380 Wip: Started to allign all the view widgets, preparing to avoid duplicated code when mdi window to RimViewWindow translation.

This commit is contained in:
Jacob Støren
2017-03-31 09:17:49 +02:00
parent 9a11949f67
commit a914e38d53
12 changed files with 94 additions and 6 deletions

View File

@@ -25,6 +25,8 @@
#include <QPointer>
#include <QWidget>
#include "RiuInterfaceToViewWindow.h"
class RimWellLogPlot;
class RiuWellLogTrack;
@@ -38,7 +40,7 @@ class QwtLegend;
// RiuWellLogPlot
//
//==================================================================================================
class RiuWellLogPlot : public QWidget
class RiuWellLogPlot : public QWidget, public RiuInterfaceToViewWindow
{
Q_OBJECT
@@ -47,6 +49,7 @@ public:
virtual ~RiuWellLogPlot();
RimWellLogPlot* ownerPlotDefinition();
virtual RimViewWindow* ownerViewWindow() const override;
void addTrackPlot(RiuWellLogTrack* trackPlot);
void insertTrackPlot(RiuWellLogTrack* trackPlot, size_t index);