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

QTestLib should allow for the creation of drag events

    XMLWordPrintable

Details

    • ada9dd41c83aad3890b8f01a98fdbeae04528eba

    Description

      Currently, it seems there is no way to simulate drag events with QTest. I have tried a combination of QTest::mousePress followed by QTest::mouseMove, as well as attempting to make QMouseEvents manually and send them with QApplication::sendEvent(). Because of this, I'm unable to test drag and drop functionality.

      This may be the same problem as QTBUG-5232, that the widget never receives the mouse move event, and thus never starts the drag action.

      Attachments

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

        Activity

          People

            charles Charles Yin (closed Nokia identity) (Inactive)
            chrisburel Chris Burel
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes