This uses Qt's QKeySequence to detect keyboard inputs. As such, there are some things to note:
On macOS, Ctrl is automatically replaced with Cmd
Depending on your keyboard layout, you may have to somewhat modify the above commands. For example, my keyboard has the + key as a super to the = key, changing the Zoom In shortcut to Ctrl + Shift + =. Modifying the shortcuts for all keyboard layouts is not convenient or easy, so consider this a limitation.
Adds basic keyboard shortcuts:
Ctrl + O
- Open a .volpkgCtrl + S
- Save the .volpkgCtrl + +
- Zoom InCtrl + -
- Zoom OutLeft arrow key
- Previous sliceRight arrow key
- Next slice[
- Impact slider down]
- Impact slider upThis uses Qt's
QKeySequence
to detect keyboard inputs. As such, there are some things to note:Ctrl
is automatically replaced withCmd
+
key as a super to the=
key, changing the Zoom In shortcut toCtrl + Shift + =
. Modifying the shortcuts for all keyboard layouts is not convenient or easy, so consider this a limitation.Future updates will make these user-customizable.
Closes #14