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

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # QWebInspector Class Reference ## [[QtWebKit](index.htm) module] 該QWebInspector類允許的安置和控制[QWebPage](qwebpage.html)的檢查。檢查員可以顯示網頁的層次結構,它的加載數據和它的各個元素的當前狀態。它主要是用于Web開發人員。[More...](#details) 繼承[QWidget](qwidget.html)。 ### Methods * `__init__ (self, QWidget?parent?=?None)` * `closeEvent (self, QCloseEvent?event)` * `bool event (self, QEvent)` * `hideEvent (self, QHideEvent?event)` * `QWebPage page (self)` * `resizeEvent (self, QResizeEvent?event)` * `setPage (self, QWebPage?page)` * `showEvent (self, QShowEvent?event)` * `QSize sizeHint (self)` * * * ## Detailed Description 該QWebInspector類允許的安置和控制[QWebPage](qwebpage.html)的檢查。檢查員可以顯示網頁的層次結構,它的加載數據和它的各個元素的當前狀態。它主要是用于Web開發人員。 該[QWebPage](qwebpage.html)要被檢查,必須使用指定的[setPage](qwebinspector.html#setPage)()方法。 一個典型的使用QWebInspector的如下: ``` // ... [QWebPage](qwebpage.html) *page = new [QWebPage](qwebpage.html); // ... QWebInspector *inspector = new QWebInspector; inspector->setPage(page); ``` 一個QWebInspector可取得明顯的以編程方式使用[setVisible](qwidget.html#visible-prop)() ,或者通過附加的用戶[QWebPage](qwebpage.html)的上下文菜單。 **Note:**如果A QWebInspector會顯示一個空白窗口小部件: * [page](qwebinspector.html#page)() is null * [QWebSettings.DeveloperExtrasEnabled](qwebsettings.html#WebAttribute-enum) is false ### Resources 這個類的作用主要是作為一個容器和一個控制器的檢查。最需要的檢查器中的資源都是由相關的資[QWebPage](qwebpage.html)并且被分配在第一時間是: * an element is inspected * the QWebInspector is shown. ### Inspector configuration persistence 檢查員允許用戶通過其用戶界面配置一些選項(如資源跟蹤??“始終啟用”選項) 。這些設置將自動被持久化[QtWebKit](index.htm)只有當你的應用程序以前稱為[QCoreApplication.setOrganizationName](qcoreapplication.html#organizationName-prop)()和[QCoreApplication.setApplicationName](qcoreapplication.html#applicationName-prop)( ) 。看[QSettings](qsettings.html)的默認構造函數文檔為什么這是必要的解釋。 * * * ## Method Documentation ``` QWebInspector.__init__ (self, QWidget?parent?=?None) ``` 該_parent_的說法,如果不是沒有,原因_self_通過Qt的,而不是PyQt的擁有。 構造一個未綁定[QWebInspector](qwebinspector.html)同_parent_作為其母公司。 ``` QWebInspector.closeEvent (self, QCloseEvent?event) ``` 從重新實現[QWidget.closeEvent](qwidget.html#closeEvent)( ) 。 ``` bool QWebInspector.event (self, QEvent) ``` 從重新實現[QObject.event](qobject.html#event)( ) 。 ``` QWebInspector.hideEvent (self, QHideEvent?event) ``` 從重新實現[QWidget.hideEvent](qwidget.html#hideEvent)( ) 。 ``` QWebPage QWebInspector.page (self) ``` [](qwebpage.html) [返回視察](qwebpage.html)[QWebPage](qwebpage.html)。如果沒有網頁,目前相關的,則返回一個空指針。 **See also** [setPage](qwebinspector.html#setPage)( ) 。 ``` QWebInspector.resizeEvent (self, QResizeEvent?event) ``` 從重新實現[QWidget.resizeEvent](qwidget.html#resizeEvent)( ) 。 ``` QWebInspector.setPage (self, QWebPage?page) ``` 這個檢查綁定到[QWebPage](qwebpage.html)要被檢查。 **Notes:** * There can only be one [QWebInspector](qwebinspector.html) associated with a [QWebPage](qwebpage.html) and vice versa. * Calling this method with a null _page_ will break the current association, if any. * If _page_ is already associated to another [QWebInspector](qwebinspector.html), the association will be replaced and the previous [QWebInspector](qwebinspector.html) will become unbound **See also** [page](qwebinspector.html#page)( ) 。 ``` QWebInspector.showEvent (self, QShowEvent?event) ``` 從重新實現[QWidget.showEvent](qwidget.html#showEvent)( ) 。 ``` QSize QWebInspector.sizeHint (self) ``` [](qsize.html) [從重新實現](qsize.html)[QWidget.sizeHint](qwidget.html#sizeHint-prop)( ) 。
                  <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>

                              哎呀哎呀视频在线观看