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

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

eric ide

mercurial