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

Details

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

    Description

      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.

      Attachments

        For Gerrit Dashboard: QTBUG-103844
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes