Am Wed, 21 Aug 2013 12:39:44 -0400
schrieb Mitchell Verter <mitchell.ver...@gmail.com>:

>  QCoreApplication::postEvent(this, evt);

i am doing nearly the same, but i use recorded events and replay them. then i 
use sendEvent and not postEvent, but this shouldn't be your problem.

but: i think you must locate the correct receiver for your event. i am looping
over QApplication::allWidgets() and searching for a widget with correct object
name and correct class name. 
this values i have saved during recording, so i can use them on replay. effect:
i can even move the window around and resize, the mouse press is delivered to 
my pushbutton nevertheless.

alex

-- 
/*
 *  You will inherit millions of dollars.
 */

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to