educelab / volume-cartographer

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

Add keyboard shortcuts for zooming to GUI apps #70

Closed stephenrparsons closed 10 months ago

stephenrparsons commented 10 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 10 months ago

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