<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>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # QWebHistory Class Reference ## [[QtWebKit](index.htm) module] 該QWebHistory類代表的歷史[QWebPage](qwebpage.html) [More...](#details) ### Methods * `back (self)` * `QWebHistoryItem backItem (self)` * `list-of-QWebHistoryItem backItems (self, int?maxItems)` * `bool canGoBack (self)` * `bool canGoForward (self)` * `clear (self)` * `int count (self)` * `QWebHistoryItem currentItem (self)` * `int currentItemIndex (self)` * `forward (self)` * `QWebHistoryItem forwardItem (self)` * `list-of-QWebHistoryItem forwardItems (self, int?maxItems)` * `goToItem (self, QWebHistoryItem?item)` * `QWebHistoryItem itemAt (self, int?i)` * `list-of-QWebHistoryItem items (self)` * `int maximumItemCount (self)` * `setMaximumItemCount (self, int?count)` ### Special Methods * `__len__ (self)` * * * ## Detailed Description 該QWebHistory類代表的歷史[QWebPage](qwebpage.html) Each [QWebPage](qwebpage.html)實例包含了可接訪問過的網頁的歷史記錄[QWebPage.history](qwebpage.html#history)( ) 。 QWebHistory表示這個歷史和使得能夠瀏覽它。 歷史上使用的概念_current item_,劃分為參觀那些可以通過導航來訪問過的網頁_back_和_forward_使用[back](qwebhistory.html#back)()和[forward](qwebhistory.html#forward)()函數。目前的項目可以通過調用獲得[currentItem](qwebhistory.html#currentItem)( ) ,并在歷史上的任意項目可以通過它傳遞所進行的當前項目[goToItem](qwebhistory.html#goToItem)( ) 。 可以通過調用得到描述,可以通過返回被訪問過的網頁項的列表中[backItems](qwebhistory.html#backItems)()函數,同樣,描述了前面的當前頁面的頁面中的項目可以用以下方式獲得[forwardItems](qwebhistory.html#forwardItems)()函數。與得到的總項列表[items](qwebhistory.html#items)()函數。 正如容器,功能可用來檢查歷史列表中的條款。在歷史上任意的項目可以用以下方式獲得[itemAt](qwebhistory.html#itemAt)( )的總項數由下式給出[count](qwebhistory.html#count)()和歷史可以與清除[clear](qwebhistory.html#clear)()函數。 QWebHistory的狀態可以保存到一個[QDataStream](qdatastream.html)使用\u003e\u003e運算符,并使用\u003c\u003c操作符加載。 * * * ## Method Documentation ``` QWebHistory.back (self) ``` 設置當前項目是前一個項目的歷史并進入相應的頁面,也就是說,可以追溯到1歷史項目。 **See also** [forward](qwebhistory.html#forward)()和[goToItem](qwebhistory.html#goToItem)( ) 。 ``` QWebHistoryItem QWebHistory.backItem (self) ``` [ 在歷史記錄中當前項目之前返回該項目。 ``` list-of-QWebHistoryItem QWebHistory.backItems (self, int?maxItems) ``` 返回向后歷史列表項的列表。最多_maxItems_條目返回。 ](qwebhistoryitem.html) [**See also**](qwebhistoryitem.html) [forwardItems](qwebhistory.html#forwardItems)( ) 。 ``` bool QWebHistory.canGoBack (self) ``` 返回True如果有一個在歷史記錄中當前條目前面的項目;否則返回False。 **See also** [canGoForward](qwebhistory.html#canGoForward)( ) 。 ``` bool QWebHistory.canGoForward (self) ``` 返回True如果我們有一個項目要往前走,否則返回False 。 **See also** [canGoBack](qwebhistory.html#canGoBack)( ) 。 ``` QWebHistory.clear (self) ``` 清除歷史。 **See also** [count](qwebhistory.html#count)()和[items](qwebhistory.html#items)( ) 。 ``` int QWebHistory.count (self) ``` 返回的項目在歷史的總數。 ``` QWebHistoryItem QWebHistory.currentItem (self) ``` [ 返回歷史上的當前項。 ``` int QWebHistory.currentItemIndex (self) ``` 返回歷史記錄中當前項的索引。 此功能被引入Qt的4.5 。 ``` QWebHistory.forward (self) ``` 設置當前項目是在歷史的下一個項目,并進入相應的頁面,也就是說,前進1歷史項目。 ](qwebhistoryitem.html) [**See also**](qwebhistoryitem.html) [back](qwebhistory.html#back)()和[goToItem](qwebhistory.html#goToItem)( ) 。 ``` QWebHistoryItem QWebHistory.forwardItem (self) ``` [ 在歷史上當前項目后返回的項目。 ``` list-of-QWebHistoryItem QWebHistory.forwardItems (self, int?maxItems) ``` 返回在歷史前進列表項的列表。最多_maxItems_條目返回。 ](qwebhistoryitem.html) [**See also**](qwebhistoryitem.html) [backItems](qwebhistory.html#backItems)( ) 。 ``` QWebHistory.goToItem (self, QWebHistoryItem?item) ``` 設置要指定當前項目_item_在歷史上,并進入到該頁面。 **See also** [back](qwebhistory.html#back)()和[forward](qwebhistory.html#forward)( ) 。 ``` QWebHistoryItem QWebHistory.itemAt (self, int?i) ``` [ 返回索引項_i_在歷史上。 ``` list-of-QWebHistoryItem QWebHistory.items (self) ``` 返回的所有項目,目前在歷史列表。 ](qwebhistoryitem.html) [**See also**](qwebhistoryitem.html) [count](qwebhistory.html#count)()和[clear](qwebhistory.html#clear)( ) 。 ``` int QWebHistory.maximumItemCount (self) ``` 返回歷史上的最大項目數。 此功能被引入Qt的4.5 。 **See also** [setMaximumItemCount](qwebhistory.html#setMaximumItemCount)( ) 。 ``` QWebHistory.setMaximumItemCount (self, int?count) ``` 設置在歷史的最大項目數量_count_。 此功能被引入Qt的4.5 。 **See also** [maximumItemCount](qwebhistory.html#maximumItemCount)( ) 。 ``` QWebHistory.__len__ (self) ```
                  <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>

                              哎呀哎呀视频在线观看