//信号----------------------------------------------------------
timeout(); //间隔时间超时后发出
QObject::destroyed(QObject * obj = 0) // 对象销毁时发出
//槽函数----------------------------------------------------------
void QTimer::start() //开始启动定时器 可以设定参数毫秒
void QTimer::stop() //停止定时器 但不销毁
// 常用函数-------------------------------------------------------
时间精度
Qt::TimerType
Qt::PreciseTimer 0 Precise timers try to keep millisecond accuracy
Qt::CoarseTimer 1 Coarse timers try to keep accuracy within 5% of the desired interval
Qt::VeryCoarseTimer 2 Very coarse timers only keep full second accuracy