QT 延时

//#include
//#include
//#include




//void qsleep(unsigned int msec)
//{
//    QTime dieTime = QTime::currentTime().addMSecs(msec);
//    while( QTime::currentTime() < dieTime )
//        QCoreApplication::processEvents(QEventLoop::AllEvents, 100);
//}

你可能感兴趣的:(QT)