|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.WebBrowser.UrlBar.FavIconLabel</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.UrlBar.FavIconLabel</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the label to show the web site icon. |
|
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="#FavIconLabel">FavIconLabel</a></td> |
|
25 <td>Class implementing the label to show the web site icon.</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="FavIconLabel" ID="FavIconLabel"></a> |
|
36 <h2>FavIconLabel</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing the label to show the web site icon. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QLabel |
|
43 <h3>Class Attributes</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>None</td></tr> |
|
47 </table> |
|
48 <h3>Class Methods</h3> |
|
49 |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Methods</h3> |
|
54 |
|
55 <table> |
|
56 |
|
57 <tr> |
|
58 <td><a href="#FavIconLabel.__init__">FavIconLabel</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#FavIconLabel.__browserIconChanged">__browserIconChanged</a></td> |
|
63 <td>Private slot to set the icon.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#FavIconLabel.__clearIcon">__clearIcon</a></td> |
|
67 <td>Private slot to clear the icon.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#FavIconLabel.__showPopup">__showPopup</a></td> |
|
71 <td>Private method to show the site info popup.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#FavIconLabel.mouseMoveEvent">mouseMoveEvent</a></td> |
|
75 <td>Protected method to handle mouse move events.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#FavIconLabel.mousePressEvent">mousePressEvent</a></td> |
|
79 <td>Protected method to handle mouse press events.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#FavIconLabel.mouseReleaseEvent">mouseReleaseEvent</a></td> |
|
83 <td>Protected method to handle mouse release events.</td> |
|
84 </tr> |
|
85 <tr> |
|
86 <td><a href="#FavIconLabel.setBrowser">setBrowser</a></td> |
|
87 <td>Public method to set the browser connection.</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="FavIconLabel.__init__" ID="FavIconLabel.__init__"></a> |
|
97 <h4>FavIconLabel (Constructor)</h4> |
|
98 <b>FavIconLabel</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="FavIconLabel.__browserIconChanged" ID="FavIconLabel.__browserIconChanged"></a> |
|
111 <h4>FavIconLabel.__browserIconChanged</h4> |
|
112 <b>__browserIconChanged</b>(<i></i>) |
|
113 |
|
114 <p> |
|
115 Private slot to set the icon. |
|
116 </p> |
|
117 <a NAME="FavIconLabel.__clearIcon" ID="FavIconLabel.__clearIcon"></a> |
|
118 <h4>FavIconLabel.__clearIcon</h4> |
|
119 <b>__clearIcon</b>(<i></i>) |
|
120 |
|
121 <p> |
|
122 Private slot to clear the icon. |
|
123 </p> |
|
124 <a NAME="FavIconLabel.__showPopup" ID="FavIconLabel.__showPopup"></a> |
|
125 <h4>FavIconLabel.__showPopup</h4> |
|
126 <b>__showPopup</b>(<i>pos</i>) |
|
127 |
|
128 <p> |
|
129 Private method to show the site info popup. |
|
130 </p> |
|
131 <dl> |
|
132 |
|
133 <dt><i>pos</i> (QPoint)</dt> |
|
134 <dd> |
|
135 position the popup should be shown at |
|
136 </dd> |
|
137 </dl> |
|
138 <a NAME="FavIconLabel.mouseMoveEvent" ID="FavIconLabel.mouseMoveEvent"></a> |
|
139 <h4>FavIconLabel.mouseMoveEvent</h4> |
|
140 <b>mouseMoveEvent</b>(<i>evt</i>) |
|
141 |
|
142 <p> |
|
143 Protected method to handle mouse move events. |
|
144 </p> |
|
145 <dl> |
|
146 |
|
147 <dt><i>evt</i></dt> |
|
148 <dd> |
|
149 reference to the mouse event (QMouseEvent) |
|
150 </dd> |
|
151 </dl> |
|
152 <a NAME="FavIconLabel.mousePressEvent" ID="FavIconLabel.mousePressEvent"></a> |
|
153 <h4>FavIconLabel.mousePressEvent</h4> |
|
154 <b>mousePressEvent</b>(<i>evt</i>) |
|
155 |
|
156 <p> |
|
157 Protected method to handle mouse press events. |
|
158 </p> |
|
159 <dl> |
|
160 |
|
161 <dt><i>evt</i></dt> |
|
162 <dd> |
|
163 reference to the mouse event (QMouseEvent) |
|
164 </dd> |
|
165 </dl> |
|
166 <a NAME="FavIconLabel.mouseReleaseEvent" ID="FavIconLabel.mouseReleaseEvent"></a> |
|
167 <h4>FavIconLabel.mouseReleaseEvent</h4> |
|
168 <b>mouseReleaseEvent</b>(<i>evt</i>) |
|
169 |
|
170 <p> |
|
171 Protected method to handle mouse release events. |
|
172 </p> |
|
173 <dl> |
|
174 |
|
175 <dt><i>evt</i></dt> |
|
176 <dd> |
|
177 reference to the mouse event (QMouseEvent) |
|
178 </dd> |
|
179 </dl> |
|
180 <a NAME="FavIconLabel.setBrowser" ID="FavIconLabel.setBrowser"></a> |
|
181 <h4>FavIconLabel.setBrowser</h4> |
|
182 <b>setBrowser</b>(<i>browser</i>) |
|
183 |
|
184 <p> |
|
185 Public method to set the browser connection. |
|
186 </p> |
|
187 <dl> |
|
188 |
|
189 <dt><i>browser</i></dt> |
|
190 <dd> |
|
191 reference to the browser widegt (HelpBrowser) |
|
192 </dd> |
|
193 </dl> |
|
194 <div align="right"><a href="#top">Up</a></div> |
|
195 <hr /> |
|
196 </body></html> |