--- a/eric6/Documentation/Source/eric6.WebBrowser.WebBrowserSnap.html Wed Sep 25 19:40:31 2019 +0200 +++ b/eric6/Documentation/Source/eric6.WebBrowser.WebBrowserSnap.html Wed Sep 25 19:42:44 2019 +0200 @@ -18,71 +18,92 @@ </style> </head> -<body><a NAME="top" ID="top"></a> +<body> +<a NAME="top" ID="top"></a> <h1>eric6.WebBrowser.WebBrowserSnap</h1> + <p> Module implementing functions to generate page previews. </p> <h3>Global Attributes</h3> + <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> + <table> <tr><td>None</td></tr> </table> <h3>Functions</h3> + <table> + <tr> <td><a href="#__render">__render</a></td> <td>Private function to render a pixmap of given size for a web page.</td> -</tr><tr> +</tr> +<tr> <td><a href="#renderTabPreview">renderTabPreview</a></td> <td>Public function to render a pixmap of a page.</td> </tr> </table> -<hr /><hr /> +<hr /> +<hr /> <a NAME="__render" ID="__render"></a> <h2>__render</h2> <b>__render</b>(<i>view, w, h</i>) + <p> Private function to render a pixmap of given size for a web page. -</p><dl> +</p> +<dl> + <dt><i>view</i></dt> <dd> reference to the view to be previewed (QWebEngineView) -</dd><dt><i>w</i></dt> +</dd> +<dt><i>w</i></dt> <dd> width of the pixmap (integer) -</dd><dt><i>h</i></dt> +</dd> +<dt><i>h</i></dt> <dd> height of the pixmap (integer) </dd> -</dl><dl> +</dl> +<dl> <dt>Returns:</dt> <dd> rendered pixmap (QPixmap) </dd> </dl> <div align="right"><a href="#top">Up</a></div> -<hr /><hr /> +<hr /> +<hr /> <a NAME="renderTabPreview" ID="renderTabPreview"></a> <h2>renderTabPreview</h2> <b>renderTabPreview</b>(<i>view, w, h</i>) + <p> Public function to render a pixmap of a page. -</p><dl> +</p> +<dl> + <dt><i>view</i></dt> <dd> reference to the view to be previewed (QWebEngineView) -</dd><dt><i>w</i></dt> +</dd> +<dt><i>w</i></dt> <dd> width of the preview pixmap (integer) -</dd><dt><i>h</i></dt> +</dd> +<dt><i>h</i></dt> <dd> height of the preview pixmap (integer) </dd> -</dl><dl> +</dl> +<dl> <dt>Returns:</dt> <dd> preview pixmap (QPixmap)