eric6/Documentation/Source/eric6.WebBrowser.WebBrowserPage.html

changeset 7766
0af772bc14c4
parent 7273
391d6b7b1eff
child 7989
a21d673a8f99
equal deleted inserted replaced
7765:72ea8b7452a4 7766:0af772bc14c4
73 <dt>safeBrowsingBad(threatType, threatMessages)</dt> 73 <dt>safeBrowsingBad(threatType, threatMessages)</dt>
74 <dd> 74 <dd>
75 emitted to indicate a 75 emitted to indicate a
76 malicious web site as determined by safe browsing 76 malicious web site as determined by safe browsing
77 </dd> 77 </dd>
78 <dt>sslConfigurationChanged()</dt>
79 <dd>
80 emitted to indicate a change of the
81 stored SSL configuration data
82 </dd>
78 </dl> 83 </dl>
79 <h3>Derived from</h3> 84 <h3>Derived from</h3>
80 QWebEnginePage 85 QWebEnginePage
81 <h3>Class Attributes</h3> 86 <h3>Class Attributes</h3>
82 87
143 <tr> 148 <tr>
144 <td><a href="#WebBrowserPage.certificateError">certificateError</a></td> 149 <td><a href="#WebBrowserPage.certificateError">certificateError</a></td>
145 <td>Public method to handle SSL certificate errors.</td> 150 <td>Public method to handle SSL certificate errors.</td>
146 </tr> 151 </tr>
147 <tr> 152 <tr>
153 <td><a href="#WebBrowserPage.clearSslConfiguration">clearSslConfiguration</a></td>
154 <td>Public slot to clear the stored SSL configuration data.</td>
155 </tr>
156 <tr>
148 <td><a href="#WebBrowserPage.execJavaScript">execJavaScript</a></td> 157 <td><a href="#WebBrowserPage.execJavaScript">execJavaScript</a></td>
149 <td>Public method to execute a JavaScript function synchroneously.</td> 158 <td>Public method to execute a JavaScript function synchroneously.</td>
150 </tr> 159 </tr>
151 <tr> 160 <tr>
152 <td><a href="#WebBrowserPage.execPrintPage">execPrintPage</a></td> 161 <td><a href="#WebBrowserPage.execPrintPage">execPrintPage</a></td>
155 <tr> 164 <tr>
156 <td><a href="#WebBrowserPage.getSafeBrowsingStatus">getSafeBrowsingStatus</a></td> 165 <td><a href="#WebBrowserPage.getSafeBrowsingStatus">getSafeBrowsingStatus</a></td>
157 <td>Public method to get the safe browsing status of the current page.</td> 166 <td>Public method to get the safe browsing status of the current page.</td>
158 </tr> 167 </tr>
159 <tr> 168 <tr>
169 <td><a href="#WebBrowserPage.getSslCertificate">getSslCertificate</a></td>
170 <td>Public method to get a reference to the SSL certificate.</td>
171 </tr>
172 <tr>
173 <td><a href="#WebBrowserPage.getSslCertificateChain">getSslCertificateChain</a></td>
174 <td>Public method to get a reference to the SSL certificate chain.</td>
175 </tr>
176 <tr>
177 <td><a href="#WebBrowserPage.getSslConfiguration">getSslConfiguration</a></td>
178 <td>Public method to return a reference to the current SSL configuration.</td>
179 </tr>
180 <tr>
181 <td><a href="#WebBrowserPage.hasValidSslInfo">hasValidSslInfo</a></td>
182 <td>Public method to check, if the page has a valid SSL certificate.</td>
183 </tr>
184 <tr>
160 <td><a href="#WebBrowserPage.hitTestContent">hitTestContent</a></td> 185 <td><a href="#WebBrowserPage.hitTestContent">hitTestContent</a></td>
161 <td>Public method to test the content at a specified position.</td> 186 <td>Public method to test the content at a specified position.</td>
162 </tr> 187 </tr>
163 <tr> 188 <tr>
164 <td><a href="#WebBrowserPage.icon">icon</a></td> 189 <td><a href="#WebBrowserPage.icon">icon</a></td>
205 <td>Public method to get the scroll position of the web page.</td> 230 <td>Public method to get the scroll position of the web page.</td>
206 </tr> 231 </tr>
207 <tr> 232 <tr>
208 <td><a href="#WebBrowserPage.scrollTo">scrollTo</a></td> 233 <td><a href="#WebBrowserPage.scrollTo">scrollTo</a></td>
209 <td>Public method to scroll to the given position.</td> 234 <td>Public method to scroll to the given position.</td>
235 </tr>
236 <tr>
237 <td><a href="#WebBrowserPage.setSslConfiguration">setSslConfiguration</a></td>
238 <td>Public slot to set the SSL configuration data of the page.</td>
239 </tr>
240 <tr>
241 <td><a href="#WebBrowserPage.showSslInfo">showSslInfo</a></td>
242 <td>Public slot to show some SSL information for the loaded page.</td>
210 </tr> 243 </tr>
211 </table> 244 </table>
212 <h3>Static Methods</h3> 245 <h3>Static Methods</h3>
213 246
214 <table> 247 <table>
440 <dt>Return Type:</dt> 473 <dt>Return Type:</dt>
441 <dd> 474 <dd>
442 bool 475 bool
443 </dd> 476 </dd>
444 </dl> 477 </dl>
478 <a NAME="WebBrowserPage.clearSslConfiguration" ID="WebBrowserPage.clearSslConfiguration"></a>
479 <h4>WebBrowserPage.clearSslConfiguration</h4>
480 <b>clearSslConfiguration</b>(<i></i>)
481
482 <p>
483 Public slot to clear the stored SSL configuration data.
484 </p>
445 <a NAME="WebBrowserPage.execJavaScript" ID="WebBrowserPage.execJavaScript"></a> 485 <a NAME="WebBrowserPage.execJavaScript" ID="WebBrowserPage.execJavaScript"></a>
446 <h4>WebBrowserPage.execJavaScript</h4> 486 <h4>WebBrowserPage.execJavaScript</h4>
447 <b>execJavaScript</b>(<i>script, worldId=QWebEngineScript.MainWorld, timeout=500</i>) 487 <b>execJavaScript</b>(<i>script, worldId=QWebEngineScript.MainWorld, timeout=500</i>)
448 488
449 <p> 489 <p>
523 <dt>Return Type:</dt> 563 <dt>Return Type:</dt>
524 <dd> 564 <dd>
525 bool 565 bool
526 </dd> 566 </dd>
527 </dl> 567 </dl>
568 <a NAME="WebBrowserPage.getSslCertificate" ID="WebBrowserPage.getSslCertificate"></a>
569 <h4>WebBrowserPage.getSslCertificate</h4>
570 <b>getSslCertificate</b>(<i></i>)
571
572 <p>
573 Public method to get a reference to the SSL certificate.
574 </p>
575 <dl>
576 <dt>Returns:</dt>
577 <dd>
578 amended SSL certificate
579 </dd>
580 </dl>
581 <dl>
582 <dt>Return Type:</dt>
583 <dd>
584 QSslCertificate
585 </dd>
586 </dl>
587 <a NAME="WebBrowserPage.getSslCertificateChain" ID="WebBrowserPage.getSslCertificateChain"></a>
588 <h4>WebBrowserPage.getSslCertificateChain</h4>
589 <b>getSslCertificateChain</b>(<i></i>)
590
591 <p>
592 Public method to get a reference to the SSL certificate chain.
593 </p>
594 <dl>
595 <dt>Returns:</dt>
596 <dd>
597 SSL certificate chain
598 </dd>
599 </dl>
600 <dl>
601 <dt>Return Type:</dt>
602 <dd>
603 list of QSslCertificate
604 </dd>
605 </dl>
606 <a NAME="WebBrowserPage.getSslConfiguration" ID="WebBrowserPage.getSslConfiguration"></a>
607 <h4>WebBrowserPage.getSslConfiguration</h4>
608 <b>getSslConfiguration</b>(<i></i>)
609
610 <p>
611 Public method to return a reference to the current SSL configuration.
612 </p>
613 <dl>
614 <dt>Returns:</dt>
615 <dd>
616 reference to the SSL configuration in use
617 </dd>
618 </dl>
619 <dl>
620 <dt>Return Type:</dt>
621 <dd>
622 QSslConfiguration
623 </dd>
624 </dl>
625 <a NAME="WebBrowserPage.hasValidSslInfo" ID="WebBrowserPage.hasValidSslInfo"></a>
626 <h4>WebBrowserPage.hasValidSslInfo</h4>
627 <b>hasValidSslInfo</b>(<i></i>)
628
629 <p>
630 Public method to check, if the page has a valid SSL certificate.
631 </p>
632 <dl>
633 <dt>Returns:</dt>
634 <dd>
635 flag indicating a valid SSL certificate
636 </dd>
637 </dl>
638 <dl>
639 <dt>Return Type:</dt>
640 <dd>
641 bool
642 </dd>
643 </dl>
528 <a NAME="WebBrowserPage.hitTestContent" ID="WebBrowserPage.hitTestContent"></a> 644 <a NAME="WebBrowserPage.hitTestContent" ID="WebBrowserPage.hitTestContent"></a>
529 <h4>WebBrowserPage.hitTestContent</h4> 645 <h4>WebBrowserPage.hitTestContent</h4>
530 <b>hitTestContent</b>(<i>pos</i>) 646 <b>hitTestContent</b>(<i>pos</i>)
531 647
532 <p> 648 <p>
759 <dt><i>pos</i> (QPointF)</dt> 875 <dt><i>pos</i> (QPointF)</dt>
760 <dd> 876 <dd>
761 position to scroll to 877 position to scroll to
762 </dd> 878 </dd>
763 </dl> 879 </dl>
880 <a NAME="WebBrowserPage.setSslConfiguration" ID="WebBrowserPage.setSslConfiguration"></a>
881 <h4>WebBrowserPage.setSslConfiguration</h4>
882 <b>setSslConfiguration</b>(<i>sslConfiguration</i>)
883
884 <p>
885 Public slot to set the SSL configuration data of the page.
886 </p>
887 <dl>
888
889 <dt><i>sslConfiguration</i> (QSslConfiguration)</dt>
890 <dd>
891 SSL configuration to be set
892 </dd>
893 </dl>
894 <a NAME="WebBrowserPage.showSslInfo" ID="WebBrowserPage.showSslInfo"></a>
895 <h4>WebBrowserPage.showSslInfo</h4>
896 <b>showSslInfo</b>(<i>pos</i>)
897
898 <p>
899 Public slot to show some SSL information for the loaded page.
900 </p>
901 <dl>
902
903 <dt><i>pos</i> (QPoint)</dt>
904 <dd>
905 position to show the info at
906 </dd>
907 </dl>
764 <div align="right"><a href="#top">Up</a></div> 908 <div align="right"><a href="#top">Up</a></div>
765 <hr /> 909 <hr />
766 </body></html> 910 </body></html>

eric ide

mercurial