Janitor : Fix invalid rename introduce by horizontal/vertical depth log plots

Fix deprecated
This commit is contained in:
Magne Sjaastad
2022-03-08 08:42:21 +01:00
parent 6700c21086
commit 728885a6c8
23 changed files with 67 additions and 66 deletions

View File

@@ -314,7 +314,7 @@ void RimWellLogCurve::updateZoomInParentPlot()
}
if ( updateDepthZoom )
{
wellLogPlot->setAutoScaleDepthEnabled( true );
wellLogPlot->setAutoScaleDepthValuesEnabled( true );
}
wellLogPlot->updateZoom();
}

View File

@@ -1355,6 +1355,22 @@ void RimWellLogTrack::setAndUpdateSimWellFormationNamesData( RimCase* rimCase, c
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogTrack::setAutoScaleXEnabled( bool enabled )
{
CAF_ASSERT( "A well log track can be both vertical and horizontal, use setAutoScalePropertyValuesEnabled " );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogTrack::setAutoScaleYEnabled( bool enabled )
{
CAF_ASSERT( "A well log track can be both vertical and horizontal, use setAutoScaleDepthValuesEnabled " );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@@ -139,8 +139,11 @@ public:
bool useBranchDetection );
void setAndUpdateSimWellFormationNamesData( RimCase* rimCase, const QString& simWellName );
void setAutoScalePropertyValuesEnabled( bool enabled ) override;
void setAutoScaleDepthValuesEnabled( bool enabled ) override;
[[deprecated( "Use setAutoScalePropertyValuesEnabled() instead." )]] void setAutoScaleXEnabled( bool enabled ) override;
[[deprecated( "Use setAutoScaleDepthValuesEnabled() instead." )]] void setAutoScaleYEnabled( bool enabled ) override;
void setAutoScalePropertyValuesEnabled( bool enabled );
void setAutoScaleDepthValuesEnabled( bool enabled );
void setAutoScalePropertyValuesIfNecessary();
void availablePropertyValueRange( double* minX, double* maxX );