How to generate a fake mouse events?
-
you can use QTest::mouseMove(), ::mouseClick() etc.
More info:
- "QTest":http://developer.qt.nokia.com/doc/qt-4.7/qtest.html#id-bb25a0c4-7bca-451e-bc26-b0d46c6b6243
- "QTestLib":http://developer.qt.nokia.com/doc/qt-4.7/qtestlib-manual.html#id-5c55b407-8319-459d-b5e8-e88c11cb0897
- "and a convenient tutorial":http://developer.qt.nokia.com/doc/qt-4.7/qtestlib-tutorial1.html
Hope that helps.