OpenROAD icon indicating copy to clipboard operation
OpenROAD copied to clipboard

Use gestures not only for zoom in, but also for fit and zoom out

Open stefanottili opened this issue 1 year ago • 2 comments

Description

Currently mouse click and move will zoom in, drawing a rectangle on which area to zoom into.

Klayout has move up right for fit and move up left for zoom out. This is very useful and convenient for navigating with the mouse. And it would be nice if the two OpenRoad flow gui”s would behave the same.

What klayout is missing is changing the cursor to make this behavior self explanatory. Nlview uses “fit” and “x2”, “x3” as cursor for the fit and zoom out gesture.

Suggested Solution

No response

Additional Context

No response

stefanottili avatar Sep 24 '23 05:09 stefanottili

You might look at https://doc.qt.io/qt-5/gestures-overview.html for a custom gesture.

maliberty avatar Mar 12 '24 21:03 maliberty

OpenRoad already handles the “zoom in” gesture by drawing a rectangle, so implementing a fit if “move right up” and zoom out for “move left up” doesn’t need any more sophisticated gesture recognition.

stefanottili avatar Mar 12 '24 22:03 stefanottili