QCoreApplication::processEvents();
QCoreApplication::processEvents(QEventLoop::AllEvents, 100);//推荐
QT主线程耗时函数中响应UI或者多次改变UI
最新推荐文章于 2024-07-09 19:28:57 发布
QCoreApplication::processEvents();
QCoreApplication::processEvents(QEventLoop::AllEvents, 100);//推荐