mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor: Start using setUiTreeHidden where missing.
This commit is contained in:
committed by
Magne Sjaastad
parent
0db0cbe8ac
commit
75fe73ee64
@@ -115,7 +115,7 @@ RimGeoMechCase::RimGeoMechCase( void )
|
||||
"",
|
||||
"",
|
||||
"All GeoMech Views in the Case" );
|
||||
geoMechViews.uiCapability()->setUiHidden( true );
|
||||
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,
|
||||
|
||||
@@ -34,7 +34,7 @@ RimGeoMechCellColors::RimGeoMechCellColors( void )
|
||||
{
|
||||
CAF_PDM_InitFieldNoDefault( &legendConfig, "LegendDefinition", "Color Legend", "", "", "" );
|
||||
this->legendConfig = new RimRegularLegendConfig();
|
||||
legendConfig.uiCapability()->setUiHidden( true );
|
||||
legendConfig.uiCapability()->setUiTreeHidden( true );
|
||||
legendConfig->changed.connect( this, &RimGeoMechCellColors::onLegendConfigChanged );
|
||||
}
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ RimGeoMechModels::RimGeoMechModels( void )
|
||||
CAF_PDM_InitObject( "Geomechanical Models", ":/GeoMechCases48x48.png", "", "" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_cases, "Cases", "", "", "", "" );
|
||||
m_cases.uiCapability()->setUiHidden( true );
|
||||
m_cases.uiCapability()->setUiTreeHidden( true );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -88,19 +88,19 @@ RimGeoMechView::RimGeoMechView( void )
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &cellResult, "GridCellResult", "Color Result", ":/CellResult.png", "", "" );
|
||||
cellResult = new RimGeoMechCellColors();
|
||||
cellResult.uiCapability()->setUiHidden( true );
|
||||
cellResult.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_tensorResults, "TensorResults", "Tensor Results", "", "", "" );
|
||||
m_tensorResults = new RimTensorResults();
|
||||
m_tensorResults.uiCapability()->setUiHidden( true );
|
||||
m_tensorResults.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_propertyFilterCollection, "PropertyFilters", "Property Filters", "", "", "" );
|
||||
m_propertyFilterCollection = new RimGeoMechPropertyFilterCollection();
|
||||
m_propertyFilterCollection.uiCapability()->setUiHidden( true );
|
||||
m_propertyFilterCollection.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_partsCollection, "Parts", "Parts", "", "", "" );
|
||||
m_partsCollection = new RimGeoMechPartCollection();
|
||||
m_partsCollection.uiCapability()->setUiHidden( true );
|
||||
m_partsCollection.uiCapability()->setUiTreeHidden( true );
|
||||
|
||||
CAF_PDM_InitField( &m_showDisplacement, "ShowDisplacement", false, "Show Displacement", "", "", "" );
|
||||
CAF_PDM_InitField( &m_displacementScaling, "DisplacementScaling", 1.0, "Scaling Factor", "", "", "" );
|
||||
|
||||
Reference in New Issue
Block a user