标签:slot eve single event exec loop code void 阻塞
1 void delay(int mSec)//ms 2 { 3 QEventLoop loop; 4 QTimer::singleShot(mSec, &loop, SLOT(quit())); 5 loop.exec(); 6 }
标签:slot eve single event exec loop code void 阻塞
原文地址:https://www.cnblogs.com/ybqjymy/p/12169864.html