• PySide 模块
  • PySide.QtCore
  • 内容表

    上一话题

    QChildEvent

    下一话题

    QObject

    QTimerEvent

    概要

    函数

    详细描述

    PySide.QtCore.QTimerEvent class contains parameters that describe a timer event.

    计时器事件被定期发送给已启动一个或多个计时器的对象。每个计时器拥有唯一标识符。启动计时器采用 QObject.startTimer() .

    PySide.QtCore.QTimer 类提供使用信号而不是事件的高级编程接口。它还提供单发计时器。

    事件处理程序 QObject.timerEvent() receives timer events.

    class PySide.QtCore. QTimerEvent ( timerId )
    参数: timerId PySide.QtCore.int

    构造计时器事件对象,采用将计时器标识符设为 timerId .

    PySide.QtCore.QTimerEvent. timerId ( )
    返回类型: PySide.QtCore.int

    返回唯一计时器标识符,其是相同标识符作为返回来自 QObject.startTimer() .