Remove all use of .uiCapability()->setUiTreeHidden( true );

This commit is contained in:
Magne Sjaastad
2024-02-02 16:51:55 +01:00
parent 01a082f9fc
commit ce513be638
163 changed files with 0 additions and 319 deletions

View File

@@ -106,7 +106,6 @@ RimGeoMechCase::RimGeoMechCase()
"The Abaqus Based GeoMech Case" );
CAF_PDM_InitScriptableFieldWithScriptKeywordNoDefault( &geoMechViews, "GeoMechViews", "Views", "", "", "", "All GeoMech Views in the Case" );
geoMechViews.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitField( &m_cohesion, "CaseCohesion", 10.0, "Cohesion", "", "Used to calculate the SE:SFI result", "" );
CAF_PDM_InitField( &m_frictionAngleDeg, "FrctionAngleDeg", 30.0, "Friction Angle [Deg]", "", "Used to calculate the SE:SFI result", "" );
@@ -147,11 +146,9 @@ RimGeoMechCase::RimGeoMechCase()
CAF_PDM_InitFieldNoDefault( &m_contourMapCollection, "ContourMaps", "2d Contour Maps" );
m_contourMapCollection = new RimGeoMechContourMapViewCollection;
m_contourMapCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_mudWeightWindowParameters, "MudWeightWindowParameters", "Mud Weight Window Parameters" );
m_mudWeightWindowParameters = new RimMudWeightWindowParameters;
m_mudWeightWindowParameters.uiCapability()->setUiTreeHidden( true );
m_displayNameOption = RimCaseDisplayNameTools::DisplayName::CUSTOM;
m_displayNameOption.uiCapability()->setUiHidden( true );

View File

@@ -34,7 +34,6 @@ RimGeoMechCellColors::RimGeoMechCellColors()
{
CAF_PDM_InitFieldNoDefault( &legendConfig, "LegendDefinition", "Color Legend" );
legendConfig = new RimRegularLegendConfig();
legendConfig.uiCapability()->setUiTreeHidden( true );
legendConfig->changed.connect( this, &RimGeoMechCellColors::onLegendConfigChanged );
}

View File

@@ -13,7 +13,6 @@ RimGeoMechContourMapViewCollection::RimGeoMechContourMapViewCollection()
CAF_PDM_InitObject( "GeoMech Contour Maps", ":/2DMaps16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_contourMapViews, "GeoMechViews", "Contour Maps", ":/CrossSection16x16.png" );
m_contourMapViews.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@@ -37,7 +37,6 @@ RimGeoMechModels::RimGeoMechModels()
CAF_PDM_InitObject( "Geomechanical Models", ":/GeoMechCases48x48.png" );
CAF_PDM_InitFieldNoDefault( &m_cases, "Cases", "" );
m_cases.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@@ -44,7 +44,6 @@ RimGeoMechPartCollection::RimGeoMechPartCollection()
CAF_PDM_InitScriptableObject( "Parts", ":/GeoMechCase24x24.png" );
CAF_PDM_InitScriptableFieldNoDefault( &m_parts, "Parts", "Parts" );
m_parts.uiCapability()->setUiTreeHidden( true );
setDeletable( false );
}

View File

@@ -93,22 +93,18 @@ RimGeoMechView::RimGeoMechView()
CAF_PDM_InitFieldNoDefault( &cellResult, "GridCellResult", "Color Result", ":/CellResult.png" );
cellResult = new RimGeoMechCellColors();
cellResult.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_tensorResults, "TensorResults", "Tensor Results" );
m_tensorResults = new RimTensorResults();
m_tensorResults.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_faultReactivationResult, "FaultReactivationResult", "Fault Reactivation Result" );
m_faultReactivationResult = new RimGeoMechFaultReactivationResult();
CAF_PDM_InitFieldNoDefault( &m_propertyFilterCollection, "PropertyFilters", "Property Filters" );
m_propertyFilterCollection = new RimGeoMechPropertyFilterCollection();
m_propertyFilterCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitFieldNoDefault( &m_partsCollection, "Parts", "Parts" );
m_partsCollection = new RimGeoMechPartCollection();
m_partsCollection.uiCapability()->setUiTreeHidden( true );
CAF_PDM_InitField( &m_showDisplacement, "ShowDisplacement", false, "Show Displacement" );
CAF_PDM_InitField( &m_displacementScaling, "DisplacementScaling", 1.0, "Scaling Factor" );