mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Major modularization adjustments
Use uiField() when issuing setUi....() commands Use PdmChildArrayField instead of PdmPointersFielc Use PdmChildField instead of PdmField to pdm pointer objects Use PdmChildArrayField instead of PdmField< std::list< caf::PdmPointer< type > > > Use PdmObjectHandle instead of PdmObject Replaced parentFields(std::vector) with parentField() Use PdmUiPropertyViewDialog instead of PdmUiPropertyDialog
This commit is contained in:
@@ -37,7 +37,7 @@ RimEclipseWell::RimEclipseWell()
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&name, "WellName", "Name", "", "", "");
|
||||
CAF_PDM_InitField(&showWell, "ShowWell", true, "Show well ", "", "", "");
|
||||
showWell.setUiHidden(true);
|
||||
showWell.capability<caf::PdmUiFieldHandle>()->setUiHidden(true);
|
||||
|
||||
CAF_PDM_InitField(&showWellLabel, "ShowWellLabel", true, "Show well label", "", "", "");
|
||||
|
||||
@@ -48,8 +48,8 @@ RimEclipseWell::RimEclipseWell()
|
||||
CAF_PDM_InitField(&showWellCells, "ShowWellCells", true, "Add cells to range filter", "", "", "");
|
||||
CAF_PDM_InitField(&showWellCellFence, "ShowWellCellFence", false, "Use well fence", "", "", "");
|
||||
|
||||
name.setUiHidden(true);
|
||||
name.setUiReadOnly(true);
|
||||
name.capability<caf::PdmUiFieldHandle>()->setUiHidden(true);
|
||||
name.capability<caf::PdmUiFieldHandle>()->setUiReadOnly(true);
|
||||
|
||||
m_wellIndex = cvf::UNDEFINED_SIZE_T;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user