Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2112

QShortcut.setKey does not accept a lone Key

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.3.1
    • Documentation, PySide
    • None
    • Windows

      The Documentation for QShortcut.setKey states that you can put a singular Key type such as Qt.Key_Escape in however when you try to do so it throws an error saying that it only accepts PySide6.QtGui.QKeySequence, PySide6.QtCore.QKeyCombination, PySide6.QtGui.QKeySequence.StandardKey, str, or int

        1. pyside2112.py
          0.8 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            mr_spagetty Eddie Wallace
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes