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

Add support for simulating mouse wheel events in QTest

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 5.11.2
    • Testing: qtestlib
    • None
    • All

    Description

      QTest has functionality to simulate mouse clicks and movements but there is no way to simulate mouse wheel events. Looking at documentation (http://doc.qt.io/qt-5/qtest.html#details) there is not a single mention of "wheel" anywhere.

       

      Suggestion is to add this basic functionality to QTest.

       

      This has been requested recently (https://stackoverflow.com/questions/50996997/how-to-simulate-mouse-wheel-events-using-qtestlib-qt5) and as far back as 10 years ago, in  2008 (https://www.qtcentre.org/threads/13436-Wheel-and-QTest).

      Today this request was made formal.

      NOTE: If there is a misunderstanding that this functionality is in fact available, then the documentation should be updated on how to do it!

       

       

      Attachments

        Issue Links

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

          Activity

            People

              macadder Jason McDonald
              lennartrolland@gmail.com Lennart Rolland
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes