#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

@@ -27,6 +27,7 @@
#include "cafMouseState.h"
#include "cvfStructGrid.h"
#include "RiuInterfaceToViewWindow.h"
class RicCommandFeature;
class RimView;
@@ -52,7 +53,7 @@ namespace cvf
// RiuViewer
//
//==================================================================================================
class RiuViewer : public caf::Viewer
class RiuViewer : public caf::Viewer, public RiuInterfaceToViewWindow
{
Q_OBJECT
@@ -65,6 +66,7 @@ public:
void setPointOfInterest(cvf::Vec3d poi);
void setOwnerReservoirView(RimView * owner);
RimView* ownerReservoirView();
RimViewWindow* ownerViewWindow() const override;
void setEnableMask(unsigned int mask);
void showInfoText(bool enable);