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

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
d64760b2da50
child 10436
f6881d10e995
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.WebBrowser.SafeBrowsing.SafeBrowsingLabel</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.WebBrowser.SafeBrowsing.SafeBrowsingLabel</h1>
10
11 <p>
12 Module implementing the label to show some SSL info.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22
23 <tr>
24 <td><a href="#SafeBrowsingLabel">SafeBrowsingLabel</a></td>
25 <td>Class implementing a label to show some Safe Browsing info.</td>
26 </tr>
27 </table>
28 <h3>Functions</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <hr />
34 <hr />
35 <a NAME="SafeBrowsingLabel" ID="SafeBrowsingLabel"></a>
36 <h2>SafeBrowsingLabel</h2>
37
38 <p>
39 Class implementing a label to show some Safe Browsing info.
40 </p>
41 <h3>Signals</h3>
42 <dl>
43
44 <dt>clicked(pos)</dt>
45 <dd>
46 emitted to indicate a click of the label (QPoint)
47 </dd>
48 </dl>
49 <h3>Derived from</h3>
50 QLabel
51 <h3>Class Attributes</h3>
52
53 <table>
54 <tr><td>nokStyle</td></tr>
55 </table>
56 <h3>Class Methods</h3>
57
58 <table>
59 <tr><td>None</td></tr>
60 </table>
61 <h3>Methods</h3>
62
63 <table>
64
65 <tr>
66 <td><a href="#SafeBrowsingLabel.__init__">SafeBrowsingLabel</a></td>
67 <td>Constructor</td>
68 </tr>
69 <tr>
70 <td><a href="#SafeBrowsingLabel.__updateLabel">__updateLabel</a></td>
71 <td>Private slot to update the label text.</td>
72 </tr>
73 <tr>
74 <td><a href="#SafeBrowsingLabel.getThreatInfo">getThreatInfo</a></td>
75 <td>Public method to get the threat info text.</td>
76 </tr>
77 <tr>
78 <td><a href="#SafeBrowsingLabel.mouseDoubleClickEvent">mouseDoubleClickEvent</a></td>
79 <td>Protected method to handle mouse double click events.</td>
80 </tr>
81 <tr>
82 <td><a href="#SafeBrowsingLabel.mouseReleaseEvent">mouseReleaseEvent</a></td>
83 <td>Protected method to handle mouse release events.</td>
84 </tr>
85 <tr>
86 <td><a href="#SafeBrowsingLabel.setThreatInfo">setThreatInfo</a></td>
87 <td>Public slot to set threat information.</td>
88 </tr>
89 </table>
90 <h3>Static Methods</h3>
91
92 <table>
93 <tr><td>None</td></tr>
94 </table>
95
96 <a NAME="SafeBrowsingLabel.__init__" ID="SafeBrowsingLabel.__init__"></a>
97 <h4>SafeBrowsingLabel (Constructor)</h4>
98 <b>SafeBrowsingLabel</b>(<i>parent=None</i>)
99
100 <p>
101 Constructor
102 </p>
103 <dl>
104
105 <dt><i>parent</i></dt>
106 <dd>
107 reference to the parent widget (QWidget)
108 </dd>
109 </dl>
110 <a NAME="SafeBrowsingLabel.__updateLabel" ID="SafeBrowsingLabel.__updateLabel"></a>
111 <h4>SafeBrowsingLabel.__updateLabel</h4>
112 <b>__updateLabel</b>(<i></i>)
113
114 <p>
115 Private slot to update the label text.
116 </p>
117 <a NAME="SafeBrowsingLabel.getThreatInfo" ID="SafeBrowsingLabel.getThreatInfo"></a>
118 <h4>SafeBrowsingLabel.getThreatInfo</h4>
119 <b>getThreatInfo</b>(<i></i>)
120
121 <p>
122 Public method to get the threat info text.
123 </p>
124 <dl>
125 <dt>Return:</dt>
126 <dd>
127 threat info text
128 </dd>
129 </dl>
130 <dl>
131 <dt>Return Type:</dt>
132 <dd>
133 str
134 </dd>
135 </dl>
136 <a NAME="SafeBrowsingLabel.mouseDoubleClickEvent" ID="SafeBrowsingLabel.mouseDoubleClickEvent"></a>
137 <h4>SafeBrowsingLabel.mouseDoubleClickEvent</h4>
138 <b>mouseDoubleClickEvent</b>(<i>evt</i>)
139
140 <p>
141 Protected method to handle mouse double click events.
142 </p>
143 <dl>
144
145 <dt><i>evt</i></dt>
146 <dd>
147 reference to the mouse event (QMouseEvent)
148 </dd>
149 </dl>
150 <a NAME="SafeBrowsingLabel.mouseReleaseEvent" ID="SafeBrowsingLabel.mouseReleaseEvent"></a>
151 <h4>SafeBrowsingLabel.mouseReleaseEvent</h4>
152 <b>mouseReleaseEvent</b>(<i>evt</i>)
153
154 <p>
155 Protected method to handle mouse release events.
156 </p>
157 <dl>
158
159 <dt><i>evt</i></dt>
160 <dd>
161 reference to the mouse event (QMouseEvent)
162 </dd>
163 </dl>
164 <a NAME="SafeBrowsingLabel.setThreatInfo" ID="SafeBrowsingLabel.setThreatInfo"></a>
165 <h4>SafeBrowsingLabel.setThreatInfo</h4>
166 <b>setThreatInfo</b>(<i>threatType, threatMessages</i>)
167
168 <p>
169 Public slot to set threat information.
170 </p>
171 <dl>
172
173 <dt><i>threatType</i> (str)</dt>
174 <dd>
175 threat type
176 </dd>
177 <dt><i>threatMessages</i> (str)</dt>
178 <dd>
179 more verbose info about detected threats
180 </dd>
181 </dl>
182 <div align="right"><a href="#top">Up</a></div>
183 <hr />
184 </body></html>

eric ide

mercurial