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.TabManager.TabManagerWidget</h1> |
23 <h1>eric6.WebBrowser.TabManager.TabManagerWidget</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a window for managing the web browser tabs. |
26 Module implementing a window for managing the web browser tabs. |
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> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#TabManagerWidget">TabManagerWidget</a></td> |
38 <td><a href="#TabManagerWidget">TabManagerWidget</a></td> |
34 <td>Class implementing a window for managing the web browser tabs.</td> |
39 <td>Class implementing a window for managing the web browser tabs.</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="TabManagerWidget" ID="TabManagerWidget"></a> |
49 <a NAME="TabManagerWidget" ID="TabManagerWidget"></a> |
43 <h2>TabManagerWidget</h2> |
50 <h2>TabManagerWidget</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a window for managing the web browser tabs. |
53 Class implementing a window for managing the web browser tabs. |
46 </p><h3>Signals</h3> |
54 </p> |
47 <dl> |
55 <h3>Signals</h3> |
|
56 <dl> |
|
57 |
48 <dt>groupTypeChanged(int)</dt> |
58 <dt>groupTypeChanged(int)</dt> |
49 <dd> |
59 <dd> |
50 emitted when the 'Group By' value was changed |
60 emitted when the 'Group By' value was changed |
51 </dd> |
61 </dd> |
52 </dl> |
62 </dl> |
53 <h3>Derived from</h3> |
63 <h3>Derived from</h3> |
54 QWidget |
64 QWidget |
55 <h3>Class Attributes</h3> |
65 <h3>Class Attributes</h3> |
|
66 |
56 <table> |
67 <table> |
57 <tr><td>GroupByDomain</td></tr><tr><td>GroupByHost</td></tr><tr><td>GroupByWindow</td></tr><tr><td>WebBrowserRole</td></tr><tr><td>WebWindowRole</td></tr><tr><td>_tldExtractor</td></tr> |
68 <tr><td>GroupByDomain</td></tr><tr><td>GroupByHost</td></tr><tr><td>GroupByWindow</td></tr><tr><td>WebBrowserRole</td></tr><tr><td>WebWindowRole</td></tr><tr><td>_tldExtractor</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> |
64 <table> |
76 |
|
77 <table> |
|
78 |
65 <tr> |
79 <tr> |
66 <td><a href="#TabManagerWidget.__init__">TabManagerWidget</a></td> |
80 <td><a href="#TabManagerWidget.__init__">TabManagerWidget</a></td> |
67 <td>Constructor</td> |
81 <td>Constructor</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#TabManagerWidget.__createEmptyItem">__createEmptyItem</a></td> |
84 <td><a href="#TabManagerWidget.__createEmptyItem">__createEmptyItem</a></td> |
70 <td>Private method to create an empty tree item.</td> |
85 <td>Private method to create an empty tree item.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#TabManagerWidget.__customContextMenuRequested">__customContextMenuRequested</a></td> |
88 <td><a href="#TabManagerWidget.__customContextMenuRequested">__customContextMenuRequested</a></td> |
73 <td>Private slot to show the context menu.</td> |
89 <td>Private slot to show the context menu.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#TabManagerWidget.__groupByDomainName">__groupByDomainName</a></td> |
92 <td><a href="#TabManagerWidget.__groupByDomainName">__groupByDomainName</a></td> |
76 <td>Private method to group the tree items by domain name.</td> |
93 <td>Private method to group the tree items by domain name.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#TabManagerWidget.__groupByWindow">__groupByWindow</a></td> |
96 <td><a href="#TabManagerWidget.__groupByWindow">__groupByWindow</a></td> |
79 <td>Private method to group the tree items by window.</td> |
97 <td>Private method to group the tree items by window.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#TabManagerWidget.__isBrowserSelected">__isBrowserSelected</a></td> |
100 <td><a href="#TabManagerWidget.__isBrowserSelected">__isBrowserSelected</a></td> |
82 <td>Private slot to check, if any browser entry is selected.</td> |
101 <td>Private slot to check, if any browser entry is selected.</td> |
83 </tr><tr> |
102 </tr> |
|
103 <tr> |
84 <td><a href="#TabManagerWidget.__itemDoubleClicked">__itemDoubleClicked</a></td> |
104 <td><a href="#TabManagerWidget.__itemDoubleClicked">__itemDoubleClicked</a></td> |
85 <td>Private slot to handle double clicking a tree item.</td> |
105 <td>Private slot to handle double clicking a tree item.</td> |
86 </tr><tr> |
106 </tr> |
|
107 <tr> |
87 <td><a href="#TabManagerWidget.__makeWebBrowserViewConnections">__makeWebBrowserViewConnections</a></td> |
108 <td><a href="#TabManagerWidget.__makeWebBrowserViewConnections">__makeWebBrowserViewConnections</a></td> |
88 <td>Private method to create the signal connections to the web view.</td> |
109 <td>Private method to create the signal connections to the web view.</td> |
89 </tr><tr> |
110 </tr> |
|
111 <tr> |
90 <td><a href="#TabManagerWidget.__processActions">__processActions</a></td> |
112 <td><a href="#TabManagerWidget.__processActions">__processActions</a></td> |
91 <td>Private slot to process the actions.</td> |
113 <td>Private slot to process the actions.</td> |
92 </tr><tr> |
114 </tr> |
|
115 <tr> |
93 <td><a href="#TabManagerWidget.__refreshTree">__refreshTree</a></td> |
116 <td><a href="#TabManagerWidget.__refreshTree">__refreshTree</a></td> |
94 <td>Private slot to referesh the tree.</td> |
117 <td>Private slot to referesh the tree.</td> |
95 </tr><tr> |
118 </tr> |
|
119 <tr> |
96 <td><a href="#TabManagerWidget.__setGroupType">__setGroupType</a></td> |
120 <td><a href="#TabManagerWidget.__setGroupType">__setGroupType</a></td> |
97 <td>Private method to set the 'Group By' type.</td> |
121 <td>Private method to set the 'Group By' type.</td> |
98 </tr><tr> |
122 </tr> |
|
123 <tr> |
99 <td><a href="#TabManagerWidget.bookmarkSelectedBrowsers">bookmarkSelectedBrowsers</a></td> |
124 <td><a href="#TabManagerWidget.bookmarkSelectedBrowsers">bookmarkSelectedBrowsers</a></td> |
100 <td>Public method to bookmark the selected browsers.</td> |
125 <td>Public method to bookmark the selected browsers.</td> |
101 </tr><tr> |
126 </tr> |
|
127 <tr> |
102 <td><a href="#TabManagerWidget.changeGroupType">changeGroupType</a></td> |
128 <td><a href="#TabManagerWidget.changeGroupType">changeGroupType</a></td> |
103 <td>Public slot to change the 'Group By' type.</td> |
129 <td>Public slot to change the 'Group By' type.</td> |
104 </tr><tr> |
130 </tr> |
|
131 <tr> |
105 <td><a href="#TabManagerWidget.closeSelectedBrowsers">closeSelectedBrowsers</a></td> |
132 <td><a href="#TabManagerWidget.closeSelectedBrowsers">closeSelectedBrowsers</a></td> |
106 <td>Public method to close the selected browsers.</td> |
133 <td>Public method to close the selected browsers.</td> |
107 </tr><tr> |
134 </tr> |
|
135 <tr> |
108 <td><a href="#TabManagerWidget.createStatusBarIcon">createStatusBarIcon</a></td> |
136 <td><a href="#TabManagerWidget.createStatusBarIcon">createStatusBarIcon</a></td> |
109 <td>Public method to create a status bar icon.</td> |
137 <td>Public method to create a status bar icon.</td> |
110 </tr><tr> |
138 </tr> |
|
139 <tr> |
111 <td><a href="#TabManagerWidget.delayedRefreshTree">delayedRefreshTree</a></td> |
140 <td><a href="#TabManagerWidget.delayedRefreshTree">delayedRefreshTree</a></td> |
112 <td>Public slot to do a delyed refresh of the tree.</td> |
141 <td>Public slot to do a delyed refresh of the tree.</td> |
113 </tr><tr> |
142 </tr> |
|
143 <tr> |
114 <td><a href="#TabManagerWidget.domainFromUrl">domainFromUrl</a></td> |
144 <td><a href="#TabManagerWidget.domainFromUrl">domainFromUrl</a></td> |
115 <td>Public method to extract the domain from an URL.</td> |
145 <td>Public method to extract the domain from an URL.</td> |
116 </tr><tr> |
146 </tr> |
|
147 <tr> |
117 <td><a href="#TabManagerWidget.mainWindowCreated">mainWindowCreated</a></td> |
148 <td><a href="#TabManagerWidget.mainWindowCreated">mainWindowCreated</a></td> |
118 <td>Public method to act on the creation of a new web browser window.</td> |
149 <td>Public method to act on the creation of a new web browser window.</td> |
119 </tr><tr> |
150 </tr> |
|
151 <tr> |
120 <td><a href="#TabManagerWidget.raiseTabManager">raiseTabManager</a></td> |
152 <td><a href="#TabManagerWidget.raiseTabManager">raiseTabManager</a></td> |
121 <td>Public slot to show the tab manager.</td> |
153 <td>Public slot to show the tab manager.</td> |
122 </tr> |
154 </tr> |
123 </table> |
155 </table> |
124 <h3>Static Methods</h3> |
156 <h3>Static Methods</h3> |
|
157 |
125 <table> |
158 <table> |
126 <tr><td>None</td></tr> |
159 <tr><td>None</td></tr> |
127 </table> |
160 </table> |
|
161 |
128 <a NAME="TabManagerWidget.__init__" ID="TabManagerWidget.__init__"></a> |
162 <a NAME="TabManagerWidget.__init__" ID="TabManagerWidget.__init__"></a> |
129 <h4>TabManagerWidget (Constructor)</h4> |
163 <h4>TabManagerWidget (Constructor)</h4> |
130 <b>TabManagerWidget</b>(<i>mainWindow, parent=None, defaultWidget=False</i>) |
164 <b>TabManagerWidget</b>(<i>mainWindow, parent=None, defaultWidget=False</i>) |
|
165 |
131 <p> |
166 <p> |
132 Constructor |
167 Constructor |
133 </p><dl> |
168 </p> |
|
169 <dl> |
|
170 |
134 <dt><i>mainWindow</i> (WebBrowserWindow)</dt> |
171 <dt><i>mainWindow</i> (WebBrowserWindow)</dt> |
135 <dd> |
172 <dd> |
136 reference to the main window |
173 reference to the main window |
137 </dd><dt><i>parent</i> (QWidget)</dt> |
174 </dd> |
|
175 <dt><i>parent</i> (QWidget)</dt> |
138 <dd> |
176 <dd> |
139 reference to the parent widget |
177 reference to the parent widget |
140 </dd><dt><i>defaultWidget</i> (bool)</dt> |
178 </dd> |
|
179 <dt><i>defaultWidget</i> (bool)</dt> |
141 <dd> |
180 <dd> |
142 flag indicating the default widget |
181 flag indicating the default widget |
143 </dd> |
182 </dd> |
144 </dl><a NAME="TabManagerWidget.__createEmptyItem" ID="TabManagerWidget.__createEmptyItem"></a> |
183 </dl> |
|
184 <a NAME="TabManagerWidget.__createEmptyItem" ID="TabManagerWidget.__createEmptyItem"></a> |
145 <h4>TabManagerWidget.__createEmptyItem</h4> |
185 <h4>TabManagerWidget.__createEmptyItem</h4> |
146 <b>__createEmptyItem</b>(<i>parent=None, addToTree=True</i>) |
186 <b>__createEmptyItem</b>(<i>parent=None, addToTree=True</i>) |
|
187 |
147 <p> |
188 <p> |
148 Private method to create an empty tree item. |
189 Private method to create an empty tree item. |
149 </p><dl> |
190 </p> |
|
191 <dl> |
|
192 |
150 <dt><i>parent</i> (QTreeWidgetItem or QTreeWidget)</dt> |
193 <dt><i>parent</i> (QTreeWidgetItem or QTreeWidget)</dt> |
151 <dd> |
194 <dd> |
152 reference to the parent item |
195 reference to the parent item |
153 </dd><dt><i>addToTree</i> (bool)</dt> |
196 </dd> |
|
197 <dt><i>addToTree</i> (bool)</dt> |
154 <dd> |
198 <dd> |
155 flag indicating to add the item to the tree |
199 flag indicating to add the item to the tree |
156 </dd> |
200 </dd> |
157 </dl><dl> |
201 </dl> |
|
202 <dl> |
158 <dt>Returns:</dt> |
203 <dt>Returns:</dt> |
159 <dd> |
204 <dd> |
160 created item |
205 created item |
161 </dd> |
206 </dd> |
162 </dl><dl> |
207 </dl> |
|
208 <dl> |
163 <dt>Return Type:</dt> |
209 <dt>Return Type:</dt> |
164 <dd> |
210 <dd> |
165 QTreeWidgetItem |
211 QTreeWidgetItem |
166 </dd> |
212 </dd> |
167 </dl><a NAME="TabManagerWidget.__customContextMenuRequested" ID="TabManagerWidget.__customContextMenuRequested"></a> |
213 </dl> |
|
214 <a NAME="TabManagerWidget.__customContextMenuRequested" ID="TabManagerWidget.__customContextMenuRequested"></a> |
168 <h4>TabManagerWidget.__customContextMenuRequested</h4> |
215 <h4>TabManagerWidget.__customContextMenuRequested</h4> |
169 <b>__customContextMenuRequested</b>(<i>pos</i>) |
216 <b>__customContextMenuRequested</b>(<i>pos</i>) |
|
217 |
170 <p> |
218 <p> |
171 Private slot to show the context menu. |
219 Private slot to show the context menu. |
172 </p><dl> |
220 </p> |
|
221 <dl> |
|
222 |
173 <dt><i>pos</i> (QPoint)</dt> |
223 <dt><i>pos</i> (QPoint)</dt> |
174 <dd> |
224 <dd> |
175 position the menu should be shown at |
225 position the menu should be shown at |
176 </dd> |
226 </dd> |
177 </dl><a NAME="TabManagerWidget.__groupByDomainName" ID="TabManagerWidget.__groupByDomainName"></a> |
227 </dl> |
|
228 <a NAME="TabManagerWidget.__groupByDomainName" ID="TabManagerWidget.__groupByDomainName"></a> |
178 <h4>TabManagerWidget.__groupByDomainName</h4> |
229 <h4>TabManagerWidget.__groupByDomainName</h4> |
179 <b>__groupByDomainName</b>(<i>useHostName=False</i>) |
230 <b>__groupByDomainName</b>(<i>useHostName=False</i>) |
|
231 |
180 <p> |
232 <p> |
181 Private method to group the tree items by domain name. |
233 Private method to group the tree items by domain name. |
182 </p><dl> |
234 </p> |
|
235 <dl> |
|
236 |
183 <dt><i>useHostName</i> (bool)</dt> |
237 <dt><i>useHostName</i> (bool)</dt> |
184 <dd> |
238 <dd> |
185 flag indicating to use the host name |
239 flag indicating to use the host name |
186 </dd> |
240 </dd> |
187 </dl><a NAME="TabManagerWidget.__groupByWindow" ID="TabManagerWidget.__groupByWindow"></a> |
241 </dl> |
|
242 <a NAME="TabManagerWidget.__groupByWindow" ID="TabManagerWidget.__groupByWindow"></a> |
188 <h4>TabManagerWidget.__groupByWindow</h4> |
243 <h4>TabManagerWidget.__groupByWindow</h4> |
189 <b>__groupByWindow</b>(<i></i>) |
244 <b>__groupByWindow</b>(<i></i>) |
|
245 |
190 <p> |
246 <p> |
191 Private method to group the tree items by window. |
247 Private method to group the tree items by window. |
192 </p><a NAME="TabManagerWidget.__isBrowserSelected" ID="TabManagerWidget.__isBrowserSelected"></a> |
248 </p> |
|
249 <a NAME="TabManagerWidget.__isBrowserSelected" ID="TabManagerWidget.__isBrowserSelected"></a> |
193 <h4>TabManagerWidget.__isBrowserSelected</h4> |
250 <h4>TabManagerWidget.__isBrowserSelected</h4> |
194 <b>__isBrowserSelected</b>(<i></i>) |
251 <b>__isBrowserSelected</b>(<i></i>) |
|
252 |
195 <p> |
253 <p> |
196 Private slot to check, if any browser entry is selected. |
254 Private slot to check, if any browser entry is selected. |
197 </p><dl> |
255 </p> |
|
256 <dl> |
198 <dt>Returns:</dt> |
257 <dt>Returns:</dt> |
199 <dd> |
258 <dd> |
200 flag indicating the existence of a selected entry |
259 flag indicating the existence of a selected entry |
201 </dd> |
260 </dd> |
202 </dl><dl> |
261 </dl> |
|
262 <dl> |
203 <dt>Return Type:</dt> |
263 <dt>Return Type:</dt> |
204 <dd> |
264 <dd> |
205 bool |
265 bool |
206 </dd> |
266 </dd> |
207 </dl><a NAME="TabManagerWidget.__itemDoubleClicked" ID="TabManagerWidget.__itemDoubleClicked"></a> |
267 </dl> |
|
268 <a NAME="TabManagerWidget.__itemDoubleClicked" ID="TabManagerWidget.__itemDoubleClicked"></a> |
208 <h4>TabManagerWidget.__itemDoubleClicked</h4> |
269 <h4>TabManagerWidget.__itemDoubleClicked</h4> |
209 <b>__itemDoubleClicked</b>(<i>itm, column</i>) |
270 <b>__itemDoubleClicked</b>(<i>itm, column</i>) |
|
271 |
210 <p> |
272 <p> |
211 Private slot to handle double clicking a tree item. |
273 Private slot to handle double clicking a tree item. |
212 </p><dl> |
274 </p> |
|
275 <dl> |
|
276 |
213 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
277 <dt><i>itm</i> (QTreeWidgetItem)</dt> |
214 <dd> |
278 <dd> |
215 reference to the item having been double clicked |
279 reference to the item having been double clicked |
216 </dd><dt><i>column</i> (int)</dt> |
280 </dd> |
|
281 <dt><i>column</i> (int)</dt> |
217 <dd> |
282 <dd> |
218 column of the double click |
283 column of the double click |
219 </dd> |
284 </dd> |
220 </dl><a NAME="TabManagerWidget.__makeWebBrowserViewConnections" ID="TabManagerWidget.__makeWebBrowserViewConnections"></a> |
285 </dl> |
|
286 <a NAME="TabManagerWidget.__makeWebBrowserViewConnections" ID="TabManagerWidget.__makeWebBrowserViewConnections"></a> |
221 <h4>TabManagerWidget.__makeWebBrowserViewConnections</h4> |
287 <h4>TabManagerWidget.__makeWebBrowserViewConnections</h4> |
222 <b>__makeWebBrowserViewConnections</b>(<i>view</i>) |
288 <b>__makeWebBrowserViewConnections</b>(<i>view</i>) |
|
289 |
223 <p> |
290 <p> |
224 Private method to create the signal connections to the web view. |
291 Private method to create the signal connections to the web view. |
225 </p><dl> |
292 </p> |
|
293 <dl> |
|
294 |
226 <dt><i>view</i> (WebBrowserView)</dt> |
295 <dt><i>view</i> (WebBrowserView)</dt> |
227 <dd> |
296 <dd> |
228 reference to the web view |
297 reference to the web view |
229 </dd> |
298 </dd> |
230 </dl><a NAME="TabManagerWidget.__processActions" ID="TabManagerWidget.__processActions"></a> |
299 </dl> |
|
300 <a NAME="TabManagerWidget.__processActions" ID="TabManagerWidget.__processActions"></a> |
231 <h4>TabManagerWidget.__processActions</h4> |
301 <h4>TabManagerWidget.__processActions</h4> |
232 <b>__processActions</b>(<i>act</i>) |
302 <b>__processActions</b>(<i>act</i>) |
|
303 |
233 <p> |
304 <p> |
234 Private slot to process the actions. |
305 Private slot to process the actions. |
235 </p><dl> |
306 </p> |
|
307 <dl> |
|
308 |
236 <dt><i>act</i> (QAction)</dt> |
309 <dt><i>act</i> (QAction)</dt> |
237 <dd> |
310 <dd> |
238 reference to the action that triggered |
311 reference to the action that triggered |
239 </dd> |
312 </dd> |
240 </dl><a NAME="TabManagerWidget.__refreshTree" ID="TabManagerWidget.__refreshTree"></a> |
313 </dl> |
|
314 <a NAME="TabManagerWidget.__refreshTree" ID="TabManagerWidget.__refreshTree"></a> |
241 <h4>TabManagerWidget.__refreshTree</h4> |
315 <h4>TabManagerWidget.__refreshTree</h4> |
242 <b>__refreshTree</b>(<i></i>) |
316 <b>__refreshTree</b>(<i></i>) |
|
317 |
243 <p> |
318 <p> |
244 Private slot to referesh the tree. |
319 Private slot to referesh the tree. |
245 </p><a NAME="TabManagerWidget.__setGroupType" ID="TabManagerWidget.__setGroupType"></a> |
320 </p> |
|
321 <a NAME="TabManagerWidget.__setGroupType" ID="TabManagerWidget.__setGroupType"></a> |
246 <h4>TabManagerWidget.__setGroupType</h4> |
322 <h4>TabManagerWidget.__setGroupType</h4> |
247 <b>__setGroupType</b>(<i>groupType</i>) |
323 <b>__setGroupType</b>(<i>groupType</i>) |
|
324 |
248 <p> |
325 <p> |
249 Private method to set the 'Group By' type. |
326 Private method to set the 'Group By' type. |
250 </p><dl> |
327 </p> |
|
328 <dl> |
|
329 |
251 <dt><i>groupType</i> (int (0 - 2))</dt> |
330 <dt><i>groupType</i> (int (0 - 2))</dt> |
252 <dd> |
331 <dd> |
253 'Group By' type to be set |
332 'Group By' type to be set |
254 </dd> |
333 </dd> |
255 </dl><a NAME="TabManagerWidget.bookmarkSelectedBrowsers" ID="TabManagerWidget.bookmarkSelectedBrowsers"></a> |
334 </dl> |
|
335 <a NAME="TabManagerWidget.bookmarkSelectedBrowsers" ID="TabManagerWidget.bookmarkSelectedBrowsers"></a> |
256 <h4>TabManagerWidget.bookmarkSelectedBrowsers</h4> |
336 <h4>TabManagerWidget.bookmarkSelectedBrowsers</h4> |
257 <b>bookmarkSelectedBrowsers</b>(<i>browsersDict</i>) |
337 <b>bookmarkSelectedBrowsers</b>(<i>browsersDict</i>) |
|
338 |
258 <p> |
339 <p> |
259 Public method to bookmark the selected browsers. |
340 Public method to bookmark the selected browsers. |
260 </p><dl> |
341 </p> |
|
342 <dl> |
|
343 |
261 <dt><i>browsersDict</i> (dict with WebBrowserWindow as key and list of WebBrowserView)</dt> |
344 <dt><i>browsersDict</i> (dict with WebBrowserWindow as key and list of WebBrowserView)</dt> |
262 <dd> |
345 <dd> |
263 dictionary containing the browsers per window |
346 dictionary containing the browsers per window |
264 as value |
347 as value |
265 </dd> |
348 </dd> |
266 </dl><a NAME="TabManagerWidget.changeGroupType" ID="TabManagerWidget.changeGroupType"></a> |
349 </dl> |
|
350 <a NAME="TabManagerWidget.changeGroupType" ID="TabManagerWidget.changeGroupType"></a> |
267 <h4>TabManagerWidget.changeGroupType</h4> |
351 <h4>TabManagerWidget.changeGroupType</h4> |
268 <b>changeGroupType</b>(<i>act</i>) |
352 <b>changeGroupType</b>(<i>act</i>) |
|
353 |
269 <p> |
354 <p> |
270 Public slot to change the 'Group By' type. |
355 Public slot to change the 'Group By' type. |
271 </p><dl> |
356 </p> |
|
357 <dl> |
|
358 |
272 <dt><i>act</i> (QAction)</dt> |
359 <dt><i>act</i> (QAction)</dt> |
273 <dd> |
360 <dd> |
274 reference to the action that was triggered |
361 reference to the action that was triggered |
275 </dd> |
362 </dd> |
276 </dl><a NAME="TabManagerWidget.closeSelectedBrowsers" ID="TabManagerWidget.closeSelectedBrowsers"></a> |
363 </dl> |
|
364 <a NAME="TabManagerWidget.closeSelectedBrowsers" ID="TabManagerWidget.closeSelectedBrowsers"></a> |
277 <h4>TabManagerWidget.closeSelectedBrowsers</h4> |
365 <h4>TabManagerWidget.closeSelectedBrowsers</h4> |
278 <b>closeSelectedBrowsers</b>(<i>browsersDict</i>) |
366 <b>closeSelectedBrowsers</b>(<i>browsersDict</i>) |
|
367 |
279 <p> |
368 <p> |
280 Public method to close the selected browsers. |
369 Public method to close the selected browsers. |
281 </p><dl> |
370 </p> |
|
371 <dl> |
|
372 |
282 <dt><i>browsersDict</i> (dict with WebBrowserWindow as key and list of WebBrowserView)</dt> |
373 <dt><i>browsersDict</i> (dict with WebBrowserWindow as key and list of WebBrowserView)</dt> |
283 <dd> |
374 <dd> |
284 dictionary containing the browsers per window |
375 dictionary containing the browsers per window |
285 as value |
376 as value |
286 </dd> |
377 </dd> |
287 </dl><a NAME="TabManagerWidget.createStatusBarIcon" ID="TabManagerWidget.createStatusBarIcon"></a> |
378 </dl> |
|
379 <a NAME="TabManagerWidget.createStatusBarIcon" ID="TabManagerWidget.createStatusBarIcon"></a> |
288 <h4>TabManagerWidget.createStatusBarIcon</h4> |
380 <h4>TabManagerWidget.createStatusBarIcon</h4> |
289 <b>createStatusBarIcon</b>(<i></i>) |
381 <b>createStatusBarIcon</b>(<i></i>) |
|
382 |
290 <p> |
383 <p> |
291 Public method to create a status bar icon. |
384 Public method to create a status bar icon. |
292 </p><dl> |
385 </p> |
|
386 <dl> |
293 <dt>Returns:</dt> |
387 <dt>Returns:</dt> |
294 <dd> |
388 <dd> |
295 generated icon |
389 generated icon |
296 </dd> |
390 </dd> |
297 </dl><dl> |
391 </dl> |
|
392 <dl> |
298 <dt>Return Type:</dt> |
393 <dt>Return Type:</dt> |
299 <dd> |
394 <dd> |
300 E5ClickableLabel |
395 E5ClickableLabel |
301 </dd> |
396 </dd> |
302 </dl><a NAME="TabManagerWidget.delayedRefreshTree" ID="TabManagerWidget.delayedRefreshTree"></a> |
397 </dl> |
|
398 <a NAME="TabManagerWidget.delayedRefreshTree" ID="TabManagerWidget.delayedRefreshTree"></a> |
303 <h4>TabManagerWidget.delayedRefreshTree</h4> |
399 <h4>TabManagerWidget.delayedRefreshTree</h4> |
304 <b>delayedRefreshTree</b>(<i>page=None</i>) |
400 <b>delayedRefreshTree</b>(<i>page=None</i>) |
|
401 |
305 <p> |
402 <p> |
306 Public slot to do a delyed refresh of the tree. |
403 Public slot to do a delyed refresh of the tree. |
307 </p><dl> |
404 </p> |
|
405 <dl> |
|
406 |
308 <dt><i>page</i> (WebBrowserPage)</dt> |
407 <dt><i>page</i> (WebBrowserPage)</dt> |
309 <dd> |
408 <dd> |
310 reference to the web page |
409 reference to the web page |
311 </dd> |
410 </dd> |
312 </dl><a NAME="TabManagerWidget.domainFromUrl" ID="TabManagerWidget.domainFromUrl"></a> |
411 </dl> |
|
412 <a NAME="TabManagerWidget.domainFromUrl" ID="TabManagerWidget.domainFromUrl"></a> |
313 <h4>TabManagerWidget.domainFromUrl</h4> |
413 <h4>TabManagerWidget.domainFromUrl</h4> |
314 <b>domainFromUrl</b>(<i>url, useHostName=False</i>) |
414 <b>domainFromUrl</b>(<i>url, useHostName=False</i>) |
|
415 |
315 <p> |
416 <p> |
316 Public method to extract the domain from an URL. |
417 Public method to extract the domain from an URL. |
317 </p><dl> |
418 </p> |
|
419 <dl> |
|
420 |
318 <dt><i>url</i> (QUrl)</dt> |
421 <dt><i>url</i> (QUrl)</dt> |
319 <dd> |
422 <dd> |
320 URL to extract the domain from |
423 URL to extract the domain from |
321 </dd><dt><i>useHostName</i> (bool)</dt> |
424 </dd> |
|
425 <dt><i>useHostName</i> (bool)</dt> |
322 <dd> |
426 <dd> |
323 flag indicating to use the host name |
427 flag indicating to use the host name |
324 </dd> |
428 </dd> |
325 </dl><dl> |
429 </dl> |
|
430 <dl> |
326 <dt>Returns:</dt> |
431 <dt>Returns:</dt> |
327 <dd> |
432 <dd> |
328 domain name |
433 domain name |
329 </dd> |
434 </dd> |
330 </dl><dl> |
435 </dl> |
|
436 <dl> |
331 <dt>Return Type:</dt> |
437 <dt>Return Type:</dt> |
332 <dd> |
438 <dd> |
333 str |
439 str |
334 </dd> |
440 </dd> |
335 </dl><a NAME="TabManagerWidget.mainWindowCreated" ID="TabManagerWidget.mainWindowCreated"></a> |
441 </dl> |
|
442 <a NAME="TabManagerWidget.mainWindowCreated" ID="TabManagerWidget.mainWindowCreated"></a> |
336 <h4>TabManagerWidget.mainWindowCreated</h4> |
443 <h4>TabManagerWidget.mainWindowCreated</h4> |
337 <b>mainWindowCreated</b>(<i>mainWin, refresh=True</i>) |
444 <b>mainWindowCreated</b>(<i>mainWin, refresh=True</i>) |
|
445 |
338 <p> |
446 <p> |
339 Public method to act on the creation of a new web browser window. |
447 Public method to act on the creation of a new web browser window. |
340 </p><dl> |
448 </p> |
|
449 <dl> |
|
450 |
341 <dt><i>mainWin</i> (WebBrowserWindow)</dt> |
451 <dt><i>mainWin</i> (WebBrowserWindow)</dt> |
342 <dd> |
452 <dd> |
343 reference to the web browser window |
453 reference to the web browser window |
344 </dd><dt><i>refresh</i> (bool)</dt> |
454 </dd> |
|
455 <dt><i>refresh</i> (bool)</dt> |
345 <dd> |
456 <dd> |
346 flag indicating to refresh the widget |
457 flag indicating to refresh the widget |
347 </dd> |
458 </dd> |
348 </dl><a NAME="TabManagerWidget.raiseTabManager" ID="TabManagerWidget.raiseTabManager"></a> |
459 </dl> |
|
460 <a NAME="TabManagerWidget.raiseTabManager" ID="TabManagerWidget.raiseTabManager"></a> |
349 <h4>TabManagerWidget.raiseTabManager</h4> |
461 <h4>TabManagerWidget.raiseTabManager</h4> |
350 <b>raiseTabManager</b>(<i>icon</i>) |
462 <b>raiseTabManager</b>(<i>icon</i>) |
|
463 |
351 <p> |
464 <p> |
352 Public slot to show the tab manager. |
465 Public slot to show the tab manager. |
353 </p><dl> |
466 </p> |
|
467 <dl> |
|
468 |
354 <dt><i>icon</i> (E5ClickableLabel or QAction)</dt> |
469 <dt><i>icon</i> (E5ClickableLabel or QAction)</dt> |
355 <dd> |
470 <dd> |
356 reference to the clicked icon |
471 reference to the clicked icon |
357 </dd> |
472 </dd> |
358 </dl> |
473 </dl> |