Skip to content

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?

  1. Launch tuto14_gui
  2. Press the space key
  3. observe that the start action prompted you for confirmation.
  4. Press "No" and then press f key to pay respects on your keyboard.
  5. observe that the start action prompted you for confirmation.

Related issue(s)

Closes #1253 (closed)

Edited by Luis MENDOZA

Merge request reports