mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
AppFwk: Remove som unused code
This commit is contained in:
parent
fb93ad7ca7
commit
b4572fd9a2
@ -81,34 +81,5 @@ private:
|
|||||||
bool m_isConfiguringUi;
|
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
|
} // End of namespace caf
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user