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

QKeySequenceEdit: make it possible to remove a shortcut

    XMLWordPrintable

Details

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

    Description

      After my recent change: https://codereview.qt-project.org/c/qt/qtbase/+/410160

       

      It is possible to clear the QLineEdit in QKeySequenceEdit, but unfortunately, QKeySequenceEdit would not record this as an intent to remove the shortcut.

       

      So, once a shortcut is set in the application in this widget, it is not possible to remove that via this widget itself. One would would need to use some external clear button, which could clutter the UI.

       

      It would be intuitive to record the clearing of the QLineEdit in the QKeySequenceEdit after one second. This way, if a shortcut is no longer needed for an action in the application, the user could get rid of it using QKeySequenceEdit.

      Attachments

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

        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