#792 Added Window zoom and Zoom All

This commit is contained in:
Magne Sjaastad
2016-07-05 10:47:03 +02:00
parent 2715310782
commit b8615f0ebc
15 changed files with 215 additions and 4 deletions

View File

@@ -370,6 +370,17 @@ bool RimWellLogPlot::hasAvailableDepthRange() const
return m_minAvailableDepth < HUGE_VAL && m_maxAvailableDepth > -HUGE_VAL;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogPlot::zoomAll()
{
m_isAutoScaleDepthEnabled = true;
m_isAutoScaleDepthEnabled.uiCapability()->updateConnectedEditors();
updateDepthZoom();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------