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

Allow simulation of auto-repeat key events in qtestlib

    XMLWordPrintable

Details

    Description

      Currently it's not possible to use QTestLib to test for auto-repeat key events (i.e. when holding down a key).

      Perhaps QTest::keyPress(), QTest::keyRelease() and QTest::keyClick() could accept a 'repeat' argument. It looks like the undocumented QTest::simulateEvent() accepts this as an argument already, but QTest::sendKeyEvent() hard-codes the repeat value before passing it to simulateEvent().

      Attachments

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

        Activity

          People

            macadder Jason McDonald
            bealam Bea Lam (closed Nokia identity) (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes