The QTimerEvent class contains parameters that describe a timer 事件。 更多...
继承 QEvent .
The QTimerEvent class contains parameters that describe a timer 事件。
Timer events are sent at regular intervals to objects that have started one or more timers. Each timer has a unique identifier. A timer is started with QObject.startTimer ().
QTimer class provides a high-level programming interface that uses signals instead of events. It also provides single-shot timers.
事件处理程序 QObject.timerEvent () receives timer 事件。
构造计时器事件对象,采用将计时器标识符设为 timerId .
Returns the unique timer identifier, which is the same identifier as returned from QObject.startTimer ().