QTimer *timer = new QTimer(this); connect(timer, SIGNAL(timeout()), this, SLOT(update())); timer->start(1000);. 2.在线程中使用QTimer void Thread::run() ...
確定! 回上一頁