On Wed, 13 Apr 2011 14:31:05 +0400, Anton Chikin <[email protected]>
wrote:
> 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.

Hmm - not sure how it got missed. It will be in tonight's snapshot.

Thanks,
Phil
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to