mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove all use of .uiCapability()->setUiTreeHidden( true );
This commit is contained in:
@@ -56,10 +56,8 @@ RimIntersectionCollection::RimIntersectionCollection()
|
||||
CAF_PDM_InitScriptableObject( "Intersections", ":/CrossSections16x16.png" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_intersections, "CrossSections", "Intersections" );
|
||||
m_intersections.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_intersectionBoxes, "IntersectionBoxes", "IntersectionBoxes" );
|
||||
m_intersectionBoxes.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
CAF_PDM_InitField( &m_isActive, "Active", true, "Active" );
|
||||
m_isActive.uiCapability()->setUiHidden( true );
|
||||
|
||||
@@ -60,22 +60,18 @@ RimIntersectionResultDefinition::RimIntersectionResultDefinition()
|
||||
m_autoName.xmlCapability()->setIOWritable( false );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_eclipseResultDefinition, "EclipseResultDef", "EclipseResultDef" );
|
||||
m_eclipseResultDefinition.uiCapability()->setUiTreeHidden( true );
|
||||
m_eclipseResultDefinition.uiCapability()->setUiTreeChildrenHidden( true );
|
||||
m_eclipseResultDefinition = new RimEclipseResultDefinition;
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_geomResultDefinition, "GeoMechResultDef", "GeoMechResultDef" );
|
||||
m_geomResultDefinition.uiCapability()->setUiTreeHidden( true );
|
||||
m_geomResultDefinition.uiCapability()->setUiTreeChildrenHidden( true );
|
||||
m_geomResultDefinition = new RimGeoMechResultDefinition;
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_legendConfig, "LegendConfig", "Legend" );
|
||||
m_legendConfig.uiCapability()->setUiTreeHidden( true );
|
||||
m_legendConfig.uiCapability()->setUiTreeChildrenHidden( false );
|
||||
m_legendConfig = new RimRegularLegendConfig;
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_ternaryLegendConfig, "TernaryLegendConfig", "Legend" );
|
||||
m_ternaryLegendConfig.uiCapability()->setUiTreeHidden( true );
|
||||
m_ternaryLegendConfig.uiCapability()->setUiTreeChildrenHidden( false );
|
||||
m_ternaryLegendConfig = new RimTernaryLegendConfig;
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@ RimIntersectionResultsDefinitionCollection::RimIntersectionResultsDefinitionColl
|
||||
m_isActive.uiCapability()->setUiHidden( true );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_intersectionResultsDefs, "IntersectionResultDefinitions", "Data Sources" );
|
||||
m_intersectionResultsDefs.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
m_intersectionResultsDefs.push_back( new RimIntersectionResultDefinition ); // Add the default result definition
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user