#6007 Minor ui tweaks.

This commit is contained in:
Kristian Bendiksen
2020-06-03 12:08:59 +02:00
committed by Magne Sjaastad
parent c349047a91
commit 38ec6e5069
6 changed files with 41 additions and 15 deletions

View File

@@ -106,6 +106,8 @@ RimFractureModel::RimFractureModel()
CAF_PDM_InitField( &m_boundingBoxVertical, "BoundingBoxVertical", 100.0, "Bounding Box Vertical", "", "", "" );
CAF_PDM_InitFieldNoDefault( &m_faciesProperties, "FaciesProperties", "Facies Properties", "", "", "" );
m_faciesProperties.uiCapability()->setUiHidden( true );
m_faciesProperties.uiCapability()->setUiTreeHidden( true );
}
//--------------------------------------------------------------------------------------------------

View File

@@ -38,6 +38,9 @@ RimFaciesProperties::RimFaciesProperties()
m_propertiesTable.uiCapability()->setUiEditorTypeName( caf::PdmUiTextEditor::uiEditorTypeName() );
m_propertiesTable.uiCapability()->setUiLabelPosition( caf::PdmUiItemInfo::HIDDEN );
m_propertiesTable.uiCapability()->setUiReadOnly( true );
m_propertiesTable.xmlCapability()->disableIO();
setUiName( "Facies Properties" );
}
//--------------------------------------------------------------------------------------------------
@@ -119,10 +122,10 @@ QString RimFaciesProperties::generatePropertiesTable()
" <th>Formation</th>"
" <th>Facies</th>"
" <th>Porosity</th>"
" <th>Young's Modulus</th>"
" <th>Poisson's Ratio</th>"
" <th>Young's<br>Modulus</th>"
" <th>Poisson's<br>Ratio</th>"
" <th>K-Ic</th>"
" <th>Proppant Embedment</th>"
" <th>Proppant<br>Embedment</th>"
" </tr>"
" </thead>"
" <tbody>" );

View File

@@ -1496,6 +1496,14 @@ void RimWellLogTrack::setXAxisGridVisibility( RimWellLogPlot::AxisGridVisibility
m_xAxisGridVisibility = gridLines;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogTrack::setColorShadingLegend( RimColorLegend* colorLegend )
{
m_colorShadingLegend = colorLegend;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@@ -166,6 +166,7 @@ public:
void setAnnotationType( RiuPlotAnnotationTool::RegionAnnotationType annotationType );
void setAnnotationDisplay( RiuPlotAnnotationTool::RegionDisplay annotationDisplay );
void setAnnotationTransparency( int percent );
void setColorShadingLegend( RimColorLegend* colorLegend );
RiuPlotAnnotationTool::RegionAnnotationType annotationType() const;
RiuPlotAnnotationTool::RegionDisplay annotationDisplay() const;