<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                # QBasicTimer Class Reference ## [[QtCore](index.htm) module] 該QBasicTimer類提供了定時器事件的對象。[More...](#details) ### Methods * `__init__ (self)` * `__init__ (self, QBasicTimer)` * `bool isActive (self)` * `start (self, int?msec, QObject?obj)` * `stop (self)` * `int timerId (self)` * * * ## Detailed Description 該QBasicTimer類提供了定時器事件的對象。 這是由內部的Qt快速,重量輕,低層次的類。我們建議使用更高級別[QTimer](qtimer.html)如果您要使用計時器在你的應用程序類,而不是這個類。請注意,這個定時器是一個重復的計時器,將發送后續的定時器事件,除非[stop](qbasictimer.html#stop)( )函數被調用。 要使用這個類,創建一個QBasicTimer ,并調用它的[start](qbasictimer.html#start)( )與一個超時間隔和一個指針指向一個函數[QObject](qobject.html)子類。當定時器超時,它會發送一個計時器事件到[QObject](qobject.html)子類。計時器可以在任何時候停止使用[stop](qbasictimer.html#stop)( ) 。[isActive](qbasictimer.html#isActive)()對正在運行的定時器返回True ,即它已經開始,還沒有達到超時時間,一直沒有停止。定時器的ID可以用檢索[timerId](qbasictimer.html#timerId)( ) 。 該[Wiggly](index.htm)示例使用QBasicTimer重繪窗口小部件定期。 * * * ## Method Documentation ``` QBasicTimer.__init__ (self) ``` Contructs一個基本定時器。 **See also** [start](qbasictimer.html#start)( ) 。 ``` QBasicTimer.__init__ (self, QBasicTimer) ``` ``` bool QBasicTimer.isActive (self) ``` 如果計時器正在運行,并且尚未停止,則返回True ,否則返回False 。 **See also** [start](qbasictimer.html#start)()和[stop](qbasictimer.html#stop)( ) 。 ``` QBasicTimer.start (self, int?msec, QObject?obj) ``` 啟動(或重啟)與計時器_msec_毫秒超時。 給定_object_將接收計時器事件。 **See also** [stop](qbasictimer.html#stop)( )[isActive](qbasictimer.html#isActive)()和[QObject.timerEvent](qobject.html#timerEvent)( ) 。 ``` QBasicTimer.stop (self) ``` 停止計時器。 **See also** [start](qbasictimer.html#start)()和[isActive](qbasictimer.html#isActive)( ) 。 ``` int QBasicTimer.timerId (self) ``` 返回定時器的ID 。 **See also** [QTimerEvent.timerId](qtimerevent.html#timerId)( ) 。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看