diff -r 536d97e3f1a1 -r 28f36b9c925f Documentation/Source/eric6.WebBrowser.SafeBrowsing.SafeBrowsingLabel.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric6.WebBrowser.SafeBrowsing.SafeBrowsingLabel.html Fri Aug 04 19:43:32 2017 +0200 @@ -0,0 +1,155 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.WebBrowser.SafeBrowsing.SafeBrowsingLabel</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>eric6.WebBrowser.SafeBrowsing.SafeBrowsingLabel</h1> +<p> +Module implementing the label to show some SSL info. +</p> +<h3>Global Attributes</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> +<table> +<tr> +<td><a href="#SafeBrowsingLabel">SafeBrowsingLabel</a></td> +<td>Class implementing a label to show some Safe Browsing info.</td> +</tr> +</table> +<h3>Functions</h3> +<table> +<tr><td>None</td></tr> +</table> +<hr /><hr /> +<a NAME="SafeBrowsingLabel" ID="SafeBrowsingLabel"></a> +<h2>SafeBrowsingLabel</h2> +<p> + Class implementing a label to show some Safe Browsing info. +</p><h3>Signals</h3> +<dl> +<dt>clicked(pos)</dt> +<dd> +emitted to indicate a click of the label (QPoint) +</dd> +</dl> +<h3>Derived from</h3> +QLabel +<h3>Class Attributes</h3> +<table> +<tr><td>nokStyle</td></tr> +</table> +<h3>Class Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> +<table> +<tr> +<td><a href="#SafeBrowsingLabel.__init__">SafeBrowsingLabel</a></td> +<td>Constructor</td> +</tr><tr> +<td><a href="#SafeBrowsingLabel.__updateLabel">__updateLabel</a></td> +<td>Private slot to update the label text.</td> +</tr><tr> +<td><a href="#SafeBrowsingLabel.getThreatInfo">getThreatInfo</a></td> +<td>Public method to get the threat info text.</td> +</tr><tr> +<td><a href="#SafeBrowsingLabel.mouseDoubleClickEvent">mouseDoubleClickEvent</a></td> +<td>Protected method to handle mouse double click events.</td> +</tr><tr> +<td><a href="#SafeBrowsingLabel.mouseReleaseEvent">mouseReleaseEvent</a></td> +<td>Protected method to handle mouse release events.</td> +</tr><tr> +<td><a href="#SafeBrowsingLabel.setThreatInfo">setThreatInfo</a></td> +<td>Public slot to set threat information.</td> +</tr> +</table> +<h3>Static Methods</h3> +<table> +<tr><td>None</td></tr> +</table> +<a NAME="SafeBrowsingLabel.__init__" ID="SafeBrowsingLabel.__init__"></a> +<h4>SafeBrowsingLabel (Constructor)</h4> +<b>SafeBrowsingLabel</b>(<i>parent=None</i>) +<p> + Constructor +</p><dl> +<dt><i>parent</i></dt> +<dd> +reference to the parent widget (QWidget) +</dd> +</dl><a NAME="SafeBrowsingLabel.__updateLabel" ID="SafeBrowsingLabel.__updateLabel"></a> +<h4>SafeBrowsingLabel.__updateLabel</h4> +<b>__updateLabel</b>(<i></i>) +<p> + Private slot to update the label text. +</p><a NAME="SafeBrowsingLabel.getThreatInfo" ID="SafeBrowsingLabel.getThreatInfo"></a> +<h4>SafeBrowsingLabel.getThreatInfo</h4> +<b>getThreatInfo</b>(<i></i>) +<p> + Public method to get the threat info text. +</p><dl> +<dt>Returns:</dt> +<dd> +threat info text +</dd> +</dl><dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl><a NAME="SafeBrowsingLabel.mouseDoubleClickEvent" ID="SafeBrowsingLabel.mouseDoubleClickEvent"></a> +<h4>SafeBrowsingLabel.mouseDoubleClickEvent</h4> +<b>mouseDoubleClickEvent</b>(<i>evt</i>) +<p> + Protected method to handle mouse double click events. +</p><dl> +<dt><i>evt</i></dt> +<dd> +reference to the mouse event (QMouseEvent) +</dd> +</dl><a NAME="SafeBrowsingLabel.mouseReleaseEvent" ID="SafeBrowsingLabel.mouseReleaseEvent"></a> +<h4>SafeBrowsingLabel.mouseReleaseEvent</h4> +<b>mouseReleaseEvent</b>(<i>evt</i>) +<p> + Protected method to handle mouse release events. +</p><dl> +<dt><i>evt</i></dt> +<dd> +reference to the mouse event (QMouseEvent) +</dd> +</dl><a NAME="SafeBrowsingLabel.setThreatInfo" ID="SafeBrowsingLabel.setThreatInfo"></a> +<h4>SafeBrowsingLabel.setThreatInfo</h4> +<b>setThreatInfo</b>(<i>threatType, threatMessages</i>) +<p> + Public slot to set threat information. +</p><dl> +<dt><i>threatType</i> (str)</dt> +<dd> +threat type +</dd><dt><i>threatMessages</i> (str)</dt> +<dd> +more verbose info about detected threats +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file