In QT5, we have a special timer class, QTimer. ... send the timeout signal void slot() { timer->stop(); //Stop timer //do something }.
確定! 回上一頁