QApplication::sendEvent(ui->textEdit, &movemouse);
QDesktopWidget * desktopWidget = QApplication::desktop();QMouseEvent event(QEvent::MouseButtonPress,QPoint(41,81),Qt::LeftButton,Qt::LeftButton,Qt::NoModifier);QApplication::sendEvent(desktopWidget, &event);