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

@@ -363,7 +363,7 @@ void RimDepthTrackPlot::setDepthAxisRange( double minimumDepth, double maximumDe
m_minVisibleDepth.uiCapability()->updateConnectedEditors();
m_maxVisibleDepth.uiCapability()->updateConnectedEditors();
setAutoScaleDepthEnabled( false );
setAutoScaleDepthValuesEnabled( false );
updateZoom();
}
@@ -1057,7 +1057,7 @@ caf::PdmFieldHandle* RimDepthTrackPlot::userDescriptionField()
void RimDepthTrackPlot::insertPlot( RimPlot* plot, size_t index )
{
auto wellLogTrack = dynamic_cast<RimWellLogTrack*>( plot );
CVF_ASSERT( plot && !wellLogTrack && "Only type RimWellLogTrack is supported in RimDepthTrackPlot" );
CVF_ASSERT( wellLogTrack && "Only type RimWellLogTrack is supported in RimDepthTrackPlot" );
if ( wellLogTrack )
{
@@ -1211,9 +1211,9 @@ RiuPlotAxis RimDepthTrackPlot::valueAxis() const
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimDepthTrackPlot::setAutoScaleXEnabled( bool enabled )
void RimDepthTrackPlot::setAutoScalePropertyValuesEnabled( bool enabled )
{
for ( RimPlot* plot : plots() )
for ( auto plot : m_plots.childObjects() )
{
plot->setAutoScalePropertyValuesEnabled( enabled );
}
@@ -1222,7 +1222,7 @@ void RimDepthTrackPlot::setAutoScaleXEnabled( bool enabled )
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimDepthTrackPlot::setAutoScaleDepthEnabled( bool enabled )
void RimDepthTrackPlot::setAutoScaleDepthValuesEnabled( bool enabled )
{
m_isAutoScaleDepthEnabled = enabled;
m_isAutoScaleDepthEnabled.uiCapability()->updateConnectedEditors();
@@ -1233,8 +1233,8 @@ void RimDepthTrackPlot::setAutoScaleDepthEnabled( bool enabled )
//--------------------------------------------------------------------------------------------------
void RimDepthTrackPlot::zoomAll()
{
setAutoScaleXEnabled( true );
setAutoScaleDepthEnabled( true );
setAutoScalePropertyValuesEnabled( true );
setAutoScaleDepthValuesEnabled( true );
updateZoom();
}