eric7/Documentation/Source/eric7.WebBrowser.WebBrowserSnap.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eric7/Documentation/Source/eric7.WebBrowser.WebBrowserSnap.html	Mon May 24 11:19:57 2021 +0200
@@ -0,0 +1,114 @@
+<!DOCTYPE html>
+<html><head>
+<title>eric7.WebBrowser.WebBrowserSnap</title>
+<meta charset="UTF-8">
+<style>
+body {
+    background: #EDECE6;
+    margin: 0em 1em 10em 1em;
+    color: black;
+}
+
+h1 { color: white; background: #85774A; }
+h2 { color: white; background: #85774A; }
+h3 { color: white; background: #9D936E; }
+h4 { color: white; background: #9D936E; }
+    
+a { color: #BA6D36; }
+
+</style>
+</head>
+<body>
+<a NAME="top" ID="top"></a>
+<h1>eric7.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>
+<td><a href="#renderTabPreview">renderTabPreview</a></td>
+<td>Public function to render a pixmap of a page.</td>
+</tr>
+</table>
+<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>
+
+<dt><i>view</i></dt>
+<dd>
+reference to the view to be previewed (QWebEngineView)
+</dd>
+<dt><i>w</i></dt>
+<dd>
+width of the pixmap (integer)
+</dd>
+<dt><i>h</i></dt>
+<dd>
+height of the pixmap (integer)
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+rendered pixmap (QPixmap)
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<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>
+
+<dt><i>view</i></dt>
+<dd>
+reference to the view to be previewed (QWebEngineView)
+</dd>
+<dt><i>w</i></dt>
+<dd>
+width of the preview pixmap (integer)
+</dd>
+<dt><i>h</i></dt>
+<dd>
+height of the preview pixmap (integer)
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+preview pixmap (QPixmap)
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial