educelab / volume-cartographer

Volumetric processing toolkit and C++ libraries for the recovery and restoration of damaged cultural materials
GNU General Public License v3.0
63 stars 22 forks source link

Add keyboard shortcuts for zooming to GUI apps #70

Closed stephenrparsons closed 11 months ago

stephenrparsons commented 11 months ago

Adds '+' and '-' keyboard shortcuts to zoom in and out for apps that use ImageScrollArea. Helpful for more fine-grained zooming, in particular when scrolling is wonky, as when using a touchpad over remote desktop.

csparker247 commented 11 months ago

It's more normal to use QShortcut with a QKeySequence for this [example]. This is due to keyboard layout issues.