Name Description Size Coverage
CMakeLists.txt 1134 -
tst_qdrag.cpp QDrag::exec() runs a nested event loop that, on most platforms, only a real user can terminate. The exception is the in-process QSimpleDrag, which QPlatformIntegration provides by default, so that synthetic input is enough. A settable QPlatformCursor is also needed, because QSimpleDrag::startDrag() resolves the source window from QCursor::pos() rather than from the last mouse event. The offscreen plugin has both, which makes it the one platform where these tests are deterministic. ("minimal" has no QPlatformCursor) 21126 -