Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-103844

QKeySequenceEdit: make it configurable to be able to use Esc as part of the sequence

XMLWordPrintable

    • Icon: User Story User Story
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.3.0
    • None

      Some applications seem to allow Esc to be part of a shortcut combination.

       

      Currently, it is hard-coded in QKeySequenceEdit to always mean to leave the recording, effectively cancelling it.

       

      I feel like that this ought to be configurable for the application developer using Qt to decide oneself what makes the most sense in the particular application context.

      We could leave the default behaviour as is, but add a new property to opt-in for the behaviour that Esc does not cancel the current recording session - rather, it becomes part of the shortcut for the current action.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            lpapp Laszlo Papp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes