Documentation/Source/eric6.WebBrowser.WebBrowserPage.html

changeset 5532
3a7c5deab9b7
parent 5113
d394e20f7467
child 5534
f9368ecf153a
--- a/Documentation/Source/eric6.WebBrowser.WebBrowserPage.html	Sat Feb 18 19:59:14 2017 +0100
+++ b/Documentation/Source/eric6.WebBrowser.WebBrowserPage.html	Sun Feb 19 19:23:21 2017 +0100
@@ -75,6 +75,9 @@
 <td><a href="#WebBrowserPage.__fullScreenRequested">__fullScreenRequested</a></td>
 <td>Private slot handling a full screen request.</td>
 </tr><tr>
+<td><a href="#WebBrowserPage.__printFinished">__printFinished</a></td>
+<td>Private method called when the print job finished.</td>
+</tr><tr>
 <td><a href="#WebBrowserPage.__setupWebChannel">__setupWebChannel</a></td>
 <td>Private method to setup a web channel to our external object.</td>
 </tr><tr>
@@ -105,6 +108,9 @@
 <td><a href="#WebBrowserPage.mapToViewport">mapToViewport</a></td>
 <td>Public method to map a position to the viewport.</td>
 </tr><tr>
+<td><a href="#WebBrowserPage.printPage">printPage</a></td>
+<td>Public method to print the current page.</td>
+</tr><tr>
 <td><a href="#WebBrowserPage.resultCallback">resultCallback</a></td>
 <td></td>
 </tr><tr>
@@ -196,6 +202,16 @@
 <dd>
 reference to the full screen request
 </dd>
+</dl><a NAME="WebBrowserPage.__printFinished" ID="WebBrowserPage.__printFinished"></a>
+<h4>WebBrowserPage.__printFinished</h4>
+<b>__printFinished</b>(<i>ok</i>)
+<p>
+        Private method called when the print job finished.
+</p><dl>
+<dt><i>ok</i> (bool)</dt>
+<dd>
+flag indicating a successful print
+</dd>
 </dl><a NAME="WebBrowserPage.__setupWebChannel" ID="WebBrowserPage.__setupWebChannel"></a>
 <h4>WebBrowserPage.__setupWebChannel</h4>
 <b>__setupWebChannel</b>(<i></i>)
@@ -373,6 +389,19 @@
 <dd>
 QPoint
 </dd>
+</dl><a NAME="WebBrowserPage.printPage" ID="WebBrowserPage.printPage"></a>
+<h4>WebBrowserPage.printPage</h4>
+<b>printPage</b>(<i>printer</i>)
+<p>
+        Public method to print the current page.
+</p><p>
+        Note: This is just a wrapper around QWebEnginePage.print() to ensure
+        the printer object is available until the print job finished.
+</p><dl>
+<dt><i>printer</i> (QPrinter)</dt>
+<dd>
+reference to the printer object
+</dd>
 </dl><a NAME="WebBrowserPage.resultCallback" ID="WebBrowserPage.resultCallback"></a>
 <h4>WebBrowserPage.resultCallback</h4>
 <b>resultCallback</b>(<i>resDict=resultDict</i>)

eric ide

mercurial