From b4572fd9a2749a63cd751973deba5dd59f895b17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B8ren?= Date: Mon, 26 Nov 2018 21:51:05 +0100 Subject: [PATCH] AppFwk: Remove som unused code --- .../cafPdmUiCore/cafPdmUiEditorHandle.h | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/Fwk/AppFwk/cafProjectDataModel/cafPdmUiCore/cafPdmUiEditorHandle.h b/Fwk/AppFwk/cafProjectDataModel/cafPdmUiCore/cafPdmUiEditorHandle.h index f3641e40d5..0f124144d2 100644 --- a/Fwk/AppFwk/cafProjectDataModel/cafPdmUiCore/cafPdmUiEditorHandle.h +++ b/Fwk/AppFwk/cafProjectDataModel/cafPdmUiCore/cafPdmUiEditorHandle.h @@ -81,34 +81,5 @@ private: bool m_isConfiguringUi; }; - -//================================================================================================== -/// Proxy editor handle used to propagate updates to the editor responsible for the UI for this object -/// -/// A tree view control is connected to the root item, and all nodes in the tree will have a proxy editor -/// pointing to the root node editor controlling the UI for the whole tree -//================================================================================================== -class PdmUiProxyEditorHandle: public PdmUiEditorHandle -{ -public: - explicit PdmUiProxyEditorHandle(PdmUiEditorHandle* mainEditorHandle) : PdmUiEditorHandle() { m_mainEditorHandle = mainEditorHandle; } - ~PdmUiProxyEditorHandle() override {}; - -protected: // Interface to override: - - /// Supposed to update all parts of the widgets, both visibility, sensitivity, decorations and field data - void configureAndUpdateUi(const QString& uiConfigName) override - { - if (m_mainEditorHandle) - { - m_mainEditorHandle->updateUi(uiConfigName); - } - }; - -private: - PdmUiEditorHandle* m_mainEditorHandle; -}; - - } // End of namespace caf