[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44304] Qt figure zoom and unzoom on mouse cli
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #44304] Qt figure zoom and unzoom on mouse click |
Date: |
Wed, 08 Apr 2015 00:58:40 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 |
Update of bug #44304 (project octave):
Status: None => In Progress
_______________________________________________________
Follow-up Comment #7:
It looks like this is almost right, except that when doing a Shift+Left Click
or a right click, the behavior should be to zoom out by a factor of 2, not
perform an unzoom back to the original axes layout.
The code is in Canvas.cc, Canvas::canvasMouseReleaseEvent. But I think the
zoom would be better placed in the Canvas::canvasMousePressEvent routine.
Basing decisions on the release event doesn't allow for distinguishing between
single and double click events which is otherwise quite easy.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44304>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #44304] Qt figure zoom and unzoom on mouse click,
Rik <=