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

QKeyEvent::matches() to recognize different keyboard layouts.

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.7.0, 4.7.1, 4.7.2, 4.7.3, 4.7.4, 4.8.0, 4.8.1
    • None
    • Linux, Win, Mac

      For example QKeyEvent::matches(QKeySequence::ZoomIn) returns false if USA keyboard layout is used to enter the ZoomIn sequence
      Ctrl+ | +. USA layout brings along the shift modifier, as it has + and = on the same key, forcing the ZoomIn sequence to be
      Ctrl | Shift | + thus "failing" the QKeyEvent::matches() function.

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

            vestbo Tor Arne Vestbø
            qtcomsupport Qt Support
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes