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:
@@ -19,6 +19,8 @@
|
||||
|
||||
#include "RimNoCommonAreaNncCollection.h"
|
||||
|
||||
#include "RimNoCommonAreaNNC.h"
|
||||
|
||||
CAF_PDM_SOURCE_INIT(RimNoCommonAreaNncCollection, "RimNoCommonAreaNncCollection");
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -29,7 +31,7 @@ RimNoCommonAreaNncCollection::RimNoCommonAreaNncCollection()
|
||||
CAF_PDM_InitObject("RimNoCommonAreaNncCollection", "", "", "");
|
||||
|
||||
CAF_PDM_InitField(&name, "UserDescription", QString("No Common Area Nncs"), "Name", "", "", "");
|
||||
name.setUiHidden(true);
|
||||
name.capability<caf::PdmUiFieldHandle>()->setUiHidden(true);
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&noCommonAreaNncs, "NoCommonAreaNncs", "NoCommonAreaNncs", "", "", "");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user