eric6/Documentation/Source/eric6.WebBrowser.SafeBrowsing.SafeBrowsingLabel.html

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

eric ide

mercurial