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

Shift modifier does not work in key press event

    XMLWordPrintable

Details

    • Qt 5: c15e8517ef877a141df7cd5d4767d19ac81e7c2e Qt 4: 72f6bd8d51911f8a2a0dadc7fa10509fa86970a1

    Description

      Re-implemented QWidget::event(QEvent*) to catch key press event. But QKeyEvent::key() returns wrong value when pressing keys with Shift modifier.

      For example, if Shift+3 is pressed, QKeyEvent::key() returns '3' instead of '#'.

      Attachments

        Issue Links

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

          Activity

            People

              owolff Oliver Wolff
              jsiddiqi Jamshed Siddiqi
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes