timer->start(5000); //開始定時器,並設定定時周期,每隔5秒就會重啟定時器,可以重覆觸發定時,除非你利用stop()將定時器關掉. timer->setSingleShot(true); // 僅僅 ...
確定! 回上一頁