Documentation/Source/eric6.WebBrowser.WebInspector.html

changeset 6153
0b18c86c03a1
parent 4918
71caf42a13d8
equal deleted inserted replaced
6152:a98925d5a214 6153:0b18c86c03a1
50 <hr /><hr /> 50 <hr /><hr />
51 <a NAME="WebInspector" ID="WebInspector"></a> 51 <a NAME="WebInspector" ID="WebInspector"></a>
52 <h2>WebInspector</h2> 52 <h2>WebInspector</h2>
53 <p> 53 <p>
54 Class implementing a QWebEngineView to load the web inspector in. 54 Class implementing a QWebEngineView to load the web inspector in.
55 </p> 55 </p><h3>Signals</h3>
56 <dl>
57 <dt>inspectorClosed</dt>
58 <dd>
59 emitted to indicate the closing of the inspector
60 window
61 </dd>
62 </dl>
56 <h3>Derived from</h3> 63 <h3>Derived from</h3>
57 QWebEngineView 64 QWebEngineView
58 <h3>Class Attributes</h3> 65 <h3>Class Attributes</h3>
59 <table> 66 <table>
60 <tr><td>None</td></tr> 67 <tr><td>None</td></tr>
61 </table> 68 </table>
62 <h3>Class Methods</h3> 69 <h3>Class Methods</h3>
63 <table> 70 <table>
64 <tr><td>None</td></tr> 71 <tr>
72 <td><a href="#WebInspector.isEnabled">isEnabled</a></td>
73 <td>Class method to check, if the web inspector is enabled.</td>
74 </tr>
65 </table> 75 </table>
66 <h3>Methods</h3> 76 <h3>Methods</h3>
67 <table> 77 <table>
68 <tr> 78 <tr>
69 <td><a href="#WebInspector.__init__">WebInspector</a></td> 79 <td><a href="#WebInspector.__init__">WebInspector</a></td>
82 <td>Protected method to save the geometry when closed.</td> 92 <td>Protected method to save the geometry when closed.</td>
83 </tr><tr> 93 </tr><tr>
84 <td><a href="#WebInspector.inspectElement">inspectElement</a></td> 94 <td><a href="#WebInspector.inspectElement">inspectElement</a></td>
85 <td>Public method to inspect an element.</td> 95 <td>Public method to inspect an element.</td>
86 </tr><tr> 96 </tr><tr>
87 <td><a href="#WebInspector.isEnabled">isEnabled</a></td>
88 <td>Public method to check, if the web inspector is enabled.</td>
89 </tr><tr>
90 <td><a href="#WebInspector.setView">setView</a></td> 97 <td><a href="#WebInspector.setView">setView</a></td>
91 <td>Public method to connect a view to this inspector.</td> 98 <td>Public method to connect a view to this inspector.</td>
92 </tr> 99 </tr>
93 </table> 100 </table>
94 <h3>Static Methods</h3> 101 <h3>Static Methods</h3>
95 <table> 102 <table>
96 <tr><td>None</td></tr> 103 <tr><td>None</td></tr>
97 </table> 104 </table>
98 <a NAME="WebInspector.__init__" ID="WebInspector.__init__"></a> 105 <a NAME="WebInspector.isEnabled" ID="WebInspector.isEnabled"></a>
106 <h4>WebInspector.isEnabled (class method)</h4>
107 <b>isEnabled</b>(<i></i>)
108 <p>
109 Class method to check, if the web inspector is enabled.
110 </p><dl>
111 <dt>Returns:</dt>
112 <dd>
113 flag indicating the enabled state
114 </dd>
115 </dl><dl>
116 <dt>Return Type:</dt>
117 <dd>
118 bool
119 </dd>
120 </dl><a NAME="WebInspector.__init__" ID="WebInspector.__init__"></a>
99 <h4>WebInspector (Constructor)</h4> 121 <h4>WebInspector (Constructor)</h4>
100 <b>WebInspector</b>(<i>parent=None</i>) 122 <b>WebInspector</b>(<i>parent=None</i>)
101 <p> 123 <p>
102 Constructor 124 Constructor
103 </p><dl> 125 </p><dl>
133 </dl><a NAME="WebInspector.inspectElement" ID="WebInspector.inspectElement"></a> 155 </dl><a NAME="WebInspector.inspectElement" ID="WebInspector.inspectElement"></a>
134 <h4>WebInspector.inspectElement</h4> 156 <h4>WebInspector.inspectElement</h4>
135 <b>inspectElement</b>(<i></i>) 157 <b>inspectElement</b>(<i></i>)
136 <p> 158 <p>
137 Public method to inspect an element. 159 Public method to inspect an element.
138 </p><a NAME="WebInspector.isEnabled" ID="WebInspector.isEnabled"></a> 160 </p><a NAME="WebInspector.setView" ID="WebInspector.setView"></a>
139 <h4>WebInspector.isEnabled</h4>
140 <b>isEnabled</b>(<i></i>)
141 <p>
142 Public method to check, if the web inspector is enabled.
143 </p><dl>
144 <dt>Returns:</dt>
145 <dd>
146 flag indicating the enabled state
147 </dd>
148 </dl><dl>
149 <dt>Return Type:</dt>
150 <dd>
151 bool
152 </dd>
153 </dl><a NAME="WebInspector.setView" ID="WebInspector.setView"></a>
154 <h4>WebInspector.setView</h4> 161 <h4>WebInspector.setView</h4>
155 <b>setView</b>(<i>view, inspectElement=False</i>) 162 <b>setView</b>(<i>view, inspectElement=False</i>)
156 <p> 163 <p>
157 Public method to connect a view to this inspector. 164 Public method to connect a view to this inspector.
158 </p><dl> 165 </p><dl>

eric ide

mercurial