<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、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                # QWebHistoryInterface Class Reference ## [[QtWebKit](index.htm) module] 該QWebHistoryInterface類提供了實現鏈路史上的一個接口。[More...](#details) 繼承[QObject](qobject.html)。 ### Methods * `__init__ (self, QObject?parent?=?None)` * `addHistoryEntry (self, QString?url)` * `bool historyContains (self, QString?url)` ### Static Methods * `QWebHistoryInterface defaultInterface ()` * `setDefaultInterface (QWebHistoryInterface?defaultInterface)` * * * ## Detailed Description 該QWebHistoryInterface類提供了實現鏈路史上的一個接口。 該QWebHistoryInterface是可以用來跟蹤訪問鏈接的接口。它包含了由WebKit引擎叫了兩個純虛方法:[addHistoryEntry](qwebhistoryinterface.html#addHistoryEntry)()是用來添加已訪問過的URL的界面,而[historyContains](qwebhistoryinterface.html#historyContains)()用于查詢給定的URL是否已經訪問過的用戶。默認情況下, QWebHistoryInterface沒有設置,所以WebKit的不跟蹤訪問過的鏈接的。 **Note:**通過QWebHistoryInterface跟蹤歷史是不特定的實例[QWebPage](qwebpage.html)而是適用于所有頁面。 * * * ## Method Documentation ``` QWebHistoryInterface.__init__ (self, QObject?parent?=?None) ``` 該_parent_的說法,如果不是沒有,原因_self_通過Qt的,而不是PyQt的擁有。 構造一個新的[QWebHistoryInterface](qwebhistoryinterface.html)與父_parent_。 ``` QWebHistoryInterface.addHistoryEntry (self, QString?url) ``` 這種方法是抽象的,應在任何子類中重新實現。 通過所謂的WebKit增加另一個_url_要訪問的頁面的列表。 ``` QWebHistoryInterface QWebHistoryInterface.defaultInterface () ``` [ 返回將使用的WebKit的默認界面。如果沒有默認的界面已定, WebKit的不會讓訪問過的鏈接的跟蹤和一個空指針將被返回。 ](qwebhistoryinterface.html) [**See also**](qwebhistoryinterface.html) [setDefaultInterface](qwebhistoryinterface.html#setDefaultInterface)( ) 。 ``` bool QWebHistoryInterface.historyContains (self, QString?url) ``` 這種方法是抽象的,應在任何子類中重新實現。 由WebKit引擎打電話來查詢是否有一定_url_已訪問的用戶了。返回True如果_url_是訪問過的鏈接的歷史的一部分,否則返回False 。 ``` QWebHistoryInterface.setDefaultInterface (QWebHistoryInterface?defaultInterface) ``` 設置新的默認界面,_defaultInterface_,將被所有的WebKit來跟蹤訪問過的鏈接的。 如果沒有父的接口已經被設置,舊的接口將被刪除。當存在該應用程序[QWebHistoryInterface](qwebhistoryinterface.html)會自動刪除_defaultInterface_如果它不具有父。 **See also** [defaultInterface](qwebhistoryinterface.html#defaultInterface)( ) 。
                  <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>

                              哎呀哎呀视频在线观看