eric7/Documentation/Source/eric7.WebBrowser.UrlBar.FavIconLabel.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.WebBrowser.UrlBar.FavIconLabel</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body>
22 <a NAME="top" ID="top"></a>
23 <h1>eric7.WebBrowser.UrlBar.FavIconLabel</h1>
24
25 <p>
26 Module implementing the label to show the web site icon.
27 </p>
28 <h3>Global Attributes</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <h3>Classes</h3>
34
35 <table>
36
37 <tr>
38 <td><a href="#FavIconLabel">FavIconLabel</a></td>
39 <td>Class implementing the label to show the web site icon.</td>
40 </tr>
41 </table>
42 <h3>Functions</h3>
43
44 <table>
45 <tr><td>None</td></tr>
46 </table>
47 <hr />
48 <hr />
49 <a NAME="FavIconLabel" ID="FavIconLabel"></a>
50 <h2>FavIconLabel</h2>
51
52 <p>
53 Class implementing the label to show the web site icon.
54 </p>
55 <h3>Derived from</h3>
56 QLabel
57 <h3>Class Attributes</h3>
58
59 <table>
60 <tr><td>None</td></tr>
61 </table>
62 <h3>Class Methods</h3>
63
64 <table>
65 <tr><td>None</td></tr>
66 </table>
67 <h3>Methods</h3>
68
69 <table>
70
71 <tr>
72 <td><a href="#FavIconLabel.__init__">FavIconLabel</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#FavIconLabel.__browserIconChanged">__browserIconChanged</a></td>
77 <td>Private slot to set the icon.</td>
78 </tr>
79 <tr>
80 <td><a href="#FavIconLabel.__clearIcon">__clearIcon</a></td>
81 <td>Private slot to clear the icon.</td>
82 </tr>
83 <tr>
84 <td><a href="#FavIconLabel.__showPopup">__showPopup</a></td>
85 <td>Private method to show the site info popup.</td>
86 </tr>
87 <tr>
88 <td><a href="#FavIconLabel.mouseMoveEvent">mouseMoveEvent</a></td>
89 <td>Protected method to handle mouse move events.</td>
90 </tr>
91 <tr>
92 <td><a href="#FavIconLabel.mousePressEvent">mousePressEvent</a></td>
93 <td>Protected method to handle mouse press events.</td>
94 </tr>
95 <tr>
96 <td><a href="#FavIconLabel.mouseReleaseEvent">mouseReleaseEvent</a></td>
97 <td>Protected method to handle mouse release events.</td>
98 </tr>
99 <tr>
100 <td><a href="#FavIconLabel.setBrowser">setBrowser</a></td>
101 <td>Public method to set the browser connection.</td>
102 </tr>
103 </table>
104 <h3>Static Methods</h3>
105
106 <table>
107 <tr><td>None</td></tr>
108 </table>
109
110 <a NAME="FavIconLabel.__init__" ID="FavIconLabel.__init__"></a>
111 <h4>FavIconLabel (Constructor)</h4>
112 <b>FavIconLabel</b>(<i>parent=None</i>)
113
114 <p>
115 Constructor
116 </p>
117 <dl>
118
119 <dt><i>parent</i></dt>
120 <dd>
121 reference to the parent widget (QWidget)
122 </dd>
123 </dl>
124 <a NAME="FavIconLabel.__browserIconChanged" ID="FavIconLabel.__browserIconChanged"></a>
125 <h4>FavIconLabel.__browserIconChanged</h4>
126 <b>__browserIconChanged</b>(<i></i>)
127
128 <p>
129 Private slot to set the icon.
130 </p>
131 <a NAME="FavIconLabel.__clearIcon" ID="FavIconLabel.__clearIcon"></a>
132 <h4>FavIconLabel.__clearIcon</h4>
133 <b>__clearIcon</b>(<i></i>)
134
135 <p>
136 Private slot to clear the icon.
137 </p>
138 <a NAME="FavIconLabel.__showPopup" ID="FavIconLabel.__showPopup"></a>
139 <h4>FavIconLabel.__showPopup</h4>
140 <b>__showPopup</b>(<i>pos</i>)
141
142 <p>
143 Private method to show the site info popup.
144 </p>
145 <dl>
146
147 <dt><i>pos</i> (QPoint)</dt>
148 <dd>
149 position the popup should be shown at
150 </dd>
151 </dl>
152 <a NAME="FavIconLabel.mouseMoveEvent" ID="FavIconLabel.mouseMoveEvent"></a>
153 <h4>FavIconLabel.mouseMoveEvent</h4>
154 <b>mouseMoveEvent</b>(<i>evt</i>)
155
156 <p>
157 Protected method to handle mouse move 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.mousePressEvent" ID="FavIconLabel.mousePressEvent"></a>
167 <h4>FavIconLabel.mousePressEvent</h4>
168 <b>mousePressEvent</b>(<i>evt</i>)
169
170 <p>
171 Protected method to handle mouse press 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.mouseReleaseEvent" ID="FavIconLabel.mouseReleaseEvent"></a>
181 <h4>FavIconLabel.mouseReleaseEvent</h4>
182 <b>mouseReleaseEvent</b>(<i>evt</i>)
183
184 <p>
185 Protected method to handle mouse release events.
186 </p>
187 <dl>
188
189 <dt><i>evt</i></dt>
190 <dd>
191 reference to the mouse event (QMouseEvent)
192 </dd>
193 </dl>
194 <a NAME="FavIconLabel.setBrowser" ID="FavIconLabel.setBrowser"></a>
195 <h4>FavIconLabel.setBrowser</h4>
196 <b>setBrowser</b>(<i>browser</i>)
197
198 <p>
199 Public method to set the browser connection.
200 </p>
201 <dl>
202
203 <dt><i>browser</i></dt>
204 <dd>
205 reference to the browser widegt (HelpBrowser)
206 </dd>
207 </dl>
208 <div align="right"><a href="#top">Up</a></div>
209 <hr />
210 </body></html>

eric ide

mercurial