最近写程序的时候有个界面想定两个QTimer定时器,不同时间干不同的事: QTimer *timer1 = new QTimer(this); QTimer *timer2 = new QTimer(this); timer1->start(100); timer2->start(1000); connect(timer1, SIGNAL(timeout()), this, SLOT(Timer1_Fuc()); connect(timer2, SIGNAL(timeout()), this,…