I need to simulate \"Enter\" key event in Qt. How can I do this?
QKeyEvent *event = new QKeyEvent ( QEvent::KeyPress, Qt::Key_Enter); QCoreApplication::postEvent (receiver, event)