src/eric7/Documentation/Source/eric7.WebBrowser.SafeBrowsing.SafeBrowsingLabel.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 10436
f6881d10e995
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/Documentation/Source/eric7.WebBrowser.SafeBrowsing.SafeBrowsingLabel.html	Thu Jul 07 11:23:56 2022 +0200
@@ -0,0 +1,184 @@
+<!DOCTYPE html>
+<html><head>
+<title>eric7.WebBrowser.SafeBrowsing.SafeBrowsingLabel</title>
+<meta charset="UTF-8">
+<link rel="stylesheet" href="styles.css">
+</head>
+<body>
+<a NAME="top" ID="top"></a>
+<h1>eric7.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>Return:</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

eric ide

mercurial