[Qt-interest] Drag and drop with QTest
Sanderson Coelho
sanderson.coelho at openbossa.org
Tue Jan 19 20:47:48 CET 2010
hi,
I've tried to simulate a dragging and dropping item, using QTest, and i
didnt't get it yet
I did:
QTest::mousePress(view.viewport(), Qt::LeftButton, 0, originPoint);
QTest::mouseMove(view.viewport(), destPoint);
QTest::mouseRelease(view.viewport(), Qt::LeftButton, 0, destPoint);
Does anyone have any ideia what is the problem?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100119/3cd0f608/attachment.html
More information about the Qt-interest-old
mailing list