<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">Hello All,<br><br>I'm using PyQt version 4.8.3-2, shipped with Ubuntu 11.04 beta. While<br>I was trying to use new multitouch testing function<br>
QTest::touchEvent() <a href="http://doc.qt.nokia.com/4.7/qtest.html#touchEvent" target="_blank" style="color: rgb(0, 0, 204); ">http://doc.qt.nokia.com/4.7/qtest.html#touchEvent</a><br>I've come across the issue. This piece of code<br>
<br>from PyQt4 import QtTest<br>def testMT(self):<br> QtTest.QTest.touchEvent(self).press(0, QPoint(100,100))<br><br>causes<br><br>AttributeError: type object 'QTest' has no attribute 'touchEvent'<br>
<br>I discovered that this function is not listed in PyQt4 docs.<br><a href="http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtest.html" target="_blank" style="color: rgb(0, 0, 204); ">http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtest.html</a><br>
<br>Could you please give me some guidelines to resolve this?<br>Thank you!<br><font color="#888888">Anton Chikin.</font></span>