(#412) Improved scroll wheel zooming (zoom around mouse Y position)

Moved scroll wheel handling to well log trace plot viewer, using event
filter for the plot canvas to get the mouse Y position, which is
transformed to the corresponding plot depth value and used as center for
zooming.
This commit is contained in:
Pål Hagen
2015-09-04 15:57:34 +02:00
parent 8d57bbe77b
commit 752c4071b9
7 changed files with 80 additions and 54 deletions

View File

@@ -47,7 +47,7 @@ public:
RiuWellLogPlot* viewer();
void zoomDepth(double zoomFactor);
void zoomDepth(double zoomFactor, double zoomCenter);
void panDepth(double panFactor);
void setVisibleDepthRange(double minimumDepth, double maximumDepth);