|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.WebBrowser.Tools.WebIconDialog</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.Tools.WebIconDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to manage the Favicons. |
|
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="#WebIconDialog">WebIconDialog</a></td> |
|
39 <td>Class implementing a dialog to manage the Favicons.</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="WebIconDialog" ID="WebIconDialog"></a> |
|
50 <h2>WebIconDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to manage the Favicons. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QDialog, Ui_WebIconDialog |
|
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="#WebIconDialog.__init__">WebIconDialog</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#WebIconDialog.__setRemoveButtons">__setRemoveButtons</a></td> |
|
77 <td>Private method to set the state of the 'remove' buttons.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#WebIconDialog.getUrls">getUrls</a></td> |
|
81 <td>Public method to get the list of URLs.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#WebIconDialog.on_iconsList_customContextMenuRequested">on_iconsList_customContextMenuRequested</a></td> |
|
85 <td>Private slot to show the context menu.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#WebIconDialog.on_iconsList_itemSelectionChanged">on_iconsList_itemSelectionChanged</a></td> |
|
89 <td>Private slot handling the selection of entries.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#WebIconDialog.on_removeAllButton_clicked">on_removeAllButton_clicked</a></td> |
|
93 <td>Private slot to remove all entries.</td> |
|
94 </tr> |
|
95 <tr> |
|
96 <td><a href="#WebIconDialog.on_removeButton_clicked">on_removeButton_clicked</a></td> |
|
97 <td>Private slot to remove the selected items.</td> |
|
98 </tr> |
|
99 </table> |
|
100 <h3>Static Methods</h3> |
|
101 |
|
102 <table> |
|
103 <tr><td>None</td></tr> |
|
104 </table> |
|
105 |
|
106 <a NAME="WebIconDialog.__init__" ID="WebIconDialog.__init__"></a> |
|
107 <h4>WebIconDialog (Constructor)</h4> |
|
108 <b>WebIconDialog</b>(<i>iconsDB, parent=None</i>) |
|
109 |
|
110 <p> |
|
111 Constructor |
|
112 </p> |
|
113 <dl> |
|
114 |
|
115 <dt><i>iconsDB</i> (dict)</dt> |
|
116 <dd> |
|
117 icons database |
|
118 </dd> |
|
119 <dt><i>parent</i> (QWidget)</dt> |
|
120 <dd> |
|
121 reference to the parent widget |
|
122 </dd> |
|
123 </dl> |
|
124 <a NAME="WebIconDialog.__setRemoveButtons" ID="WebIconDialog.__setRemoveButtons"></a> |
|
125 <h4>WebIconDialog.__setRemoveButtons</h4> |
|
126 <b>__setRemoveButtons</b>(<i></i>) |
|
127 |
|
128 <p> |
|
129 Private method to set the state of the 'remove' buttons. |
|
130 </p> |
|
131 <a NAME="WebIconDialog.getUrls" ID="WebIconDialog.getUrls"></a> |
|
132 <h4>WebIconDialog.getUrls</h4> |
|
133 <b>getUrls</b>(<i></i>) |
|
134 |
|
135 <p> |
|
136 Public method to get the list of URLs. |
|
137 </p> |
|
138 <dl> |
|
139 <dt>Return:</dt> |
|
140 <dd> |
|
141 list of URLs |
|
142 </dd> |
|
143 </dl> |
|
144 <dl> |
|
145 <dt>Return Type:</dt> |
|
146 <dd> |
|
147 list of str |
|
148 </dd> |
|
149 </dl> |
|
150 <a NAME="WebIconDialog.on_iconsList_customContextMenuRequested" ID="WebIconDialog.on_iconsList_customContextMenuRequested"></a> |
|
151 <h4>WebIconDialog.on_iconsList_customContextMenuRequested</h4> |
|
152 <b>on_iconsList_customContextMenuRequested</b>(<i>pos</i>) |
|
153 |
|
154 <p> |
|
155 Private slot to show the context menu. |
|
156 </p> |
|
157 <dl> |
|
158 |
|
159 <dt><i>pos</i> (QPoint)</dt> |
|
160 <dd> |
|
161 cursor position |
|
162 </dd> |
|
163 </dl> |
|
164 <a NAME="WebIconDialog.on_iconsList_itemSelectionChanged" ID="WebIconDialog.on_iconsList_itemSelectionChanged"></a> |
|
165 <h4>WebIconDialog.on_iconsList_itemSelectionChanged</h4> |
|
166 <b>on_iconsList_itemSelectionChanged</b>(<i></i>) |
|
167 |
|
168 <p> |
|
169 Private slot handling the selection of entries. |
|
170 </p> |
|
171 <a NAME="WebIconDialog.on_removeAllButton_clicked" ID="WebIconDialog.on_removeAllButton_clicked"></a> |
|
172 <h4>WebIconDialog.on_removeAllButton_clicked</h4> |
|
173 <b>on_removeAllButton_clicked</b>(<i></i>) |
|
174 |
|
175 <p> |
|
176 Private slot to remove all entries. |
|
177 </p> |
|
178 <a NAME="WebIconDialog.on_removeButton_clicked" ID="WebIconDialog.on_removeButton_clicked"></a> |
|
179 <h4>WebIconDialog.on_removeButton_clicked</h4> |
|
180 <b>on_removeButton_clicked</b>(<i></i>) |
|
181 |
|
182 <p> |
|
183 Private slot to remove the selected items. |
|
184 </p> |
|
185 <div align="right"><a href="#top">Up</a></div> |
|
186 <hr /> |
|
187 </body></html> |