qAPP

qApp->sendEvent( ui->spinBox, &myEvent);

原文地址:https://www.cnblogs.com/wllwqdeai/p/10830933.html