From 6f48200bd354b3e3a3a9d9d393943c85e3f341b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B8ren?= Date: Fri, 20 Jan 2017 17:20:28 +0100 Subject: [PATCH] Made method protected --- ApplicationCode/ProjectDataModel/RimViewWindow.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ApplicationCode/ProjectDataModel/RimViewWindow.h b/ApplicationCode/ProjectDataModel/RimViewWindow.h index ec0d6a575c..25921fae10 100644 --- a/ApplicationCode/ProjectDataModel/RimViewWindow.h +++ b/ApplicationCode/ProjectDataModel/RimViewWindow.h @@ -59,11 +59,6 @@ public: virtual QImage snapshotWindowContent() = 0; virtual void zoomAll() = 0; - - // Derived classes are not supposed to override this function. The intention is to always use m_showWindow - // as the objectToggleField for this class. This way the visibility of a widget being part of a composite widget - // can be controlled from the project tree using check box toggles - virtual caf::PdmFieldHandle* objectToggleField() override final; protected: void removeMdiWindowFromMdiArea(); @@ -79,6 +74,10 @@ protected: virtual void loadDataAndUpdate() = 0; ////////// + // Derived classes are not supposed to override this function. The intention is to always use m_showWindow + // as the objectToggleField for this class. This way the visibility of a widget being part of a composite widget + // can be controlled from the project tree using check box toggles + virtual caf::PdmFieldHandle* objectToggleField() override final; virtual void fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue) override; virtual void initAfterRead() override;