QKeyEvent *event = new QKeyEvent ( QEvent::KeyPress, Qt::Key_Enter); QCoreApplication::postEvent (receiver, event)