Resolve "feat(ui): add multiple shortcut sequence support for toolbar"
Description
Add support to bind multiple shortcuts to a signe toolbar button.
The toolbar manager uses boost::split
with ;
separator, then passes the resulting vector of strings through the action vector to the actual toolbar service. The service creates a QList
of QSequenceKeys
and adds them to the QAction
with setShortcuts
.
How to test it?
- Launch tuto14_gui
- Press the
space
key - observe that the start action prompted you for confirmation.
- Press "No" and then press
f
keyto pay respectson your keyboard. - observe that the start action prompted you for confirmation.
Related issue(s)
Closes #1253 (closed)