Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, December 2007
QTest::mousePress


Message 1 in thread

hi!

i'm trying to test a widget's mousePressEvent method using QTest::mousePress.
however, i always get the following error executing the test:

'Mouse event not accepted by receiving widget'

debugging the code tells me that MyWidget::mousePressEvent is not even called,
so what am i missing here?

btw, QTest::keyClick and the keyPressEvents work fine!

thanks,
julian

--
 [ signature omitted ]