Use a special flag to indicate hidden children of a field.

Added new method in PdmUiItem called isUiHideChildren()
p4#: 22093
This commit is contained in:
Magne Sjaastad
2013-08-02 13:49:16 +02:00
parent 50777b3e3f
commit ffbb0b6a46
4 changed files with 26 additions and 5 deletions

View File

@@ -49,6 +49,7 @@ RimResultSlot::RimResultSlot()
CAF_PDM_InitFieldNoDefault(&legendConfig, "LegendDefinition", "Legend Definition", "", "", "");
CAF_PDM_InitFieldNoDefault(&m_legendConfigData, "ResultVarLegendDefinitionList", "", "", "", "");
m_legendConfigData.setUiHidden(true);
m_legendConfigData.setUiHideChildren(true);
legendConfig = new RimLegendConfig();
}