[PyQt] Can't call QTest::touchEvent(&widget)
Anton Chikin
kverlin.lists at gmail.com
Wed Apr 13 11:31:05 BST 2011
Hello All,
I'm using PyQt version 4.8.3-2, shipped with Ubuntu 11.04 beta. While
I was trying to use new multitouch testing function
QTest::touchEvent() http://doc.qt.nokia.com/4.7/qtest.html#touchEvent
I've come across the issue. This piece of code
from PyQt4 import QtTest
def testMT(self):
QtTest.QTest.touchEvent(self).press(0, QPoint(100,100))
causes
AttributeError: type object 'QTest' has no attribute 'touchEvent'
I discovered that this function is not listed in PyQt4 docs.
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtest.html
Could you please give me some guidelines to resolve this?
Thank you!
Anton Chikin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110413/d3fd6c76/attachment.html>
More information about the PyQt
mailing list