mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-13 01:26:19 -06:00
Use PdmUiPushButtonEditor::configureEditorForField
This commit is contained in:
1 parent
db1fa5ada0
commit
3f05300d2a
7 files changed
+14
-51
No files matched your search
@@ -86,11 +86,7 @@ RimIntersectionBox::RimIntersectionBox()
|
||||
CAF_PDM_InitField (&m_depthSliderStepSize, "DepthSliderStepSize", 0.5, "Depth Slider Step Size", "", "", "");
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&m_show3DManipulator, "show3DManipulator", "", "", "", "");
|
||||
m_show3DManipulator.xmlCapability()->setIOWritable(false);
|
||||
m_show3DManipulator.xmlCapability()->setIOReadable(false);
|
||||
m_show3DManipulator.uiCapability()->setUiEditorTypeName(caf::PdmUiPushButtonEditor::uiEditorTypeName());
|
||||
m_show3DManipulator.uiCapability()->setUiLabelPosition(caf::PdmUiItemInfo::HIDDEN);
|
||||
|
||||
caf::PdmUiPushButtonEditor::configureEditorForField(&m_show3DManipulator);
|
||||
m_show3DManipulator = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user