1 void delay(int mSec)//ms
2 {
3     QEventLoop loop;
4     QTimer::singleShot(mSec, &loop, SLOT(quit()));
5     loop.exec();
6 }

相关文章:

  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
  • 2021-05-18
  • 2022-02-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-08
  • 2021-11-11
  • 2021-07-02
  • 2022-12-23
  • 2022-02-07
相关资源
相似解决方案