5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.WebBrowser.History.HistoryMenu</h1> |
9 <h1>eric7.WebBrowser.History.HistoryMenu</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the history menu. |
11 Module implementing the history menu. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
15 <table> |
16 <table> |
16 <tr><td>None</td></tr> |
17 <tr><td>None</td></tr> |
17 </table> |
18 </table> |
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
20 <table> |
21 <table> |
|
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#HistoryMenu">HistoryMenu</a></td> |
22 <td><a href="#HistoryMenu">HistoryMenu</a></td> |
25 <td>Class implementing the history menu.</td> |
23 <td>Class implementing the history menu.</td> |
26 </tr> |
24 </tr> |
27 <tr> |
25 <tr> |
35 <tr> |
33 <tr> |
36 <td><a href="#HistoryMostVisitedMenuModel">HistoryMostVisitedMenuModel</a></td> |
34 <td><a href="#HistoryMostVisitedMenuModel">HistoryMostVisitedMenuModel</a></td> |
37 <td>Class implementing a model to show the most visited history entries.</td> |
35 <td>Class implementing a model to show the most visited history entries.</td> |
38 </tr> |
36 </tr> |
39 </table> |
37 </table> |
|
38 |
40 <h3>Functions</h3> |
39 <h3>Functions</h3> |
41 |
40 <table> |
42 <table> |
41 <tr><td>None</td></tr> |
43 <tr><td>None</td></tr> |
42 </table> |
44 </table> |
43 |
45 <hr /> |
44 <hr /> |
46 <hr /> |
45 <hr /> |
47 <a NAME="HistoryMenu" ID="HistoryMenu"></a> |
46 <a NAME="HistoryMenu" ID="HistoryMenu"></a> |
48 <h2>HistoryMenu</h2> |
47 <h2>HistoryMenu</h2> |
49 |
|
50 <p> |
48 <p> |
51 Class implementing the history menu. |
49 Class implementing the history menu. |
52 </p> |
50 </p> |
|
51 |
53 <h3>Signals</h3> |
52 <h3>Signals</h3> |
54 <dl> |
53 <dl> |
55 |
54 |
56 <dt>newBackgroundTab(QUrl, str)</dt> |
55 <dt>newBackgroundTab(QUrl, str)</dt> |
57 <dd> |
56 <dd> |
127 <tr> |
124 <tr> |
128 <td><a href="#HistoryMenu.showHistoryDialog">showHistoryDialog</a></td> |
125 <td><a href="#HistoryMenu.showHistoryDialog">showHistoryDialog</a></td> |
129 <td>Public slot to show the history dialog.</td> |
126 <td>Public slot to show the history dialog.</td> |
130 </tr> |
127 </tr> |
131 </table> |
128 </table> |
|
129 |
132 <h3>Static Methods</h3> |
130 <h3>Static Methods</h3> |
133 |
131 <table> |
134 <table> |
132 <tr><td>None</td></tr> |
135 <tr><td>None</td></tr> |
133 </table> |
136 </table> |
134 |
137 |
135 |
138 <a NAME="HistoryMenu.__init__" ID="HistoryMenu.__init__"></a> |
136 <a NAME="HistoryMenu.__init__" ID="HistoryMenu.__init__"></a> |
139 <h4>HistoryMenu (Constructor)</h4> |
137 <h4>HistoryMenu (Constructor)</h4> |
140 <b>HistoryMenu</b>(<i>parent=None, tabWidget=None</i>) |
138 <b>HistoryMenu</b>(<i>parent=None, tabWidget=None</i>) |
141 |
|
142 <p> |
139 <p> |
143 Constructor |
140 Constructor |
144 </p> |
141 </p> |
|
142 |
145 <dl> |
143 <dl> |
146 |
144 |
147 <dt><i>parent</i> (QWidget)</dt> |
145 <dt><i>parent</i> (QWidget)</dt> |
148 <dd> |
146 <dd> |
149 reference to the parent widget |
147 reference to the parent widget |
155 </dd> |
153 </dd> |
156 </dl> |
154 </dl> |
157 <a NAME="HistoryMenu.__aboutToShowClosedTabsMenu" ID="HistoryMenu.__aboutToShowClosedTabsMenu"></a> |
155 <a NAME="HistoryMenu.__aboutToShowClosedTabsMenu" ID="HistoryMenu.__aboutToShowClosedTabsMenu"></a> |
158 <h4>HistoryMenu.__aboutToShowClosedTabsMenu</h4> |
156 <h4>HistoryMenu.__aboutToShowClosedTabsMenu</h4> |
159 <b>__aboutToShowClosedTabsMenu</b>(<i></i>) |
157 <b>__aboutToShowClosedTabsMenu</b>(<i></i>) |
160 |
|
161 <p> |
158 <p> |
162 Private slot to populate the closed tabs menu. |
159 Private slot to populate the closed tabs menu. |
163 </p> |
160 </p> |
|
161 |
164 <a NAME="HistoryMenu.__activated" ID="HistoryMenu.__activated"></a> |
162 <a NAME="HistoryMenu.__activated" ID="HistoryMenu.__activated"></a> |
165 <h4>HistoryMenu.__activated</h4> |
163 <h4>HistoryMenu.__activated</h4> |
166 <b>__activated</b>(<i>idx</i>) |
164 <b>__activated</b>(<i>idx</i>) |
167 |
|
168 <p> |
165 <p> |
169 Private slot handling the activated signal. |
166 Private slot handling the activated signal. |
170 </p> |
167 </p> |
|
168 |
171 <dl> |
169 <dl> |
172 |
170 |
173 <dt><i>idx</i> (QModelIndex)</dt> |
171 <dt><i>idx</i> (QModelIndex)</dt> |
174 <dd> |
172 <dd> |
175 index of the activated item |
173 index of the activated item |
176 </dd> |
174 </dd> |
177 </dl> |
175 </dl> |
178 <a NAME="HistoryMenu.__clearHistoryDialog" ID="HistoryMenu.__clearHistoryDialog"></a> |
176 <a NAME="HistoryMenu.__clearHistoryDialog" ID="HistoryMenu.__clearHistoryDialog"></a> |
179 <h4>HistoryMenu.__clearHistoryDialog</h4> |
177 <h4>HistoryMenu.__clearHistoryDialog</h4> |
180 <b>__clearHistoryDialog</b>(<i></i>) |
178 <b>__clearHistoryDialog</b>(<i></i>) |
181 |
|
182 <p> |
179 <p> |
183 Private slot to clear the history. |
180 Private slot to clear the history. |
184 </p> |
181 </p> |
|
182 |
185 <a NAME="HistoryMenu.__closedTabAvailable" ID="HistoryMenu.__closedTabAvailable"></a> |
183 <a NAME="HistoryMenu.__closedTabAvailable" ID="HistoryMenu.__closedTabAvailable"></a> |
186 <h4>HistoryMenu.__closedTabAvailable</h4> |
184 <h4>HistoryMenu.__closedTabAvailable</h4> |
187 <b>__closedTabAvailable</b>(<i>avail</i>) |
185 <b>__closedTabAvailable</b>(<i>avail</i>) |
188 |
|
189 <p> |
186 <p> |
190 Private slot to handle changes of the availability of closed tabs. |
187 Private slot to handle changes of the availability of closed tabs. |
191 </p> |
188 </p> |
|
189 |
192 <dl> |
190 <dl> |
193 |
191 |
194 <dt><i>avail</i> (bool)</dt> |
192 <dt><i>avail</i> (bool)</dt> |
195 <dd> |
193 <dd> |
196 flag indicating the availability of closed tabs |
194 flag indicating the availability of closed tabs |
197 </dd> |
195 </dd> |
198 </dl> |
196 </dl> |
199 <a NAME="HistoryMenu.postPopulated" ID="HistoryMenu.postPopulated"></a> |
197 <a NAME="HistoryMenu.postPopulated" ID="HistoryMenu.postPopulated"></a> |
200 <h4>HistoryMenu.postPopulated</h4> |
198 <h4>HistoryMenu.postPopulated</h4> |
201 <b>postPopulated</b>(<i></i>) |
199 <b>postPopulated</b>(<i></i>) |
202 |
|
203 <p> |
200 <p> |
204 Public method to add any actions after the tree. |
201 Public method to add any actions after the tree. |
205 </p> |
202 </p> |
|
203 |
206 <a NAME="HistoryMenu.prePopulated" ID="HistoryMenu.prePopulated"></a> |
204 <a NAME="HistoryMenu.prePopulated" ID="HistoryMenu.prePopulated"></a> |
207 <h4>HistoryMenu.prePopulated</h4> |
205 <h4>HistoryMenu.prePopulated</h4> |
208 <b>prePopulated</b>(<i></i>) |
206 <b>prePopulated</b>(<i></i>) |
209 |
|
210 <p> |
207 <p> |
211 Public method to add any actions before the tree. |
208 Public method to add any actions before the tree. |
212 </p> |
209 </p> |
|
210 |
213 <dl> |
211 <dl> |
214 <dt>Return:</dt> |
212 <dt>Return:</dt> |
215 <dd> |
213 <dd> |
216 flag indicating if any actions were added |
214 flag indicating if any actions were added |
217 </dd> |
215 </dd> |
223 </dd> |
221 </dd> |
224 </dl> |
222 </dl> |
225 <a NAME="HistoryMenu.setInitialActions" ID="HistoryMenu.setInitialActions"></a> |
223 <a NAME="HistoryMenu.setInitialActions" ID="HistoryMenu.setInitialActions"></a> |
226 <h4>HistoryMenu.setInitialActions</h4> |
224 <h4>HistoryMenu.setInitialActions</h4> |
227 <b>setInitialActions</b>(<i>actions</i>) |
225 <b>setInitialActions</b>(<i>actions</i>) |
228 |
|
229 <p> |
226 <p> |
230 Public method to set the list of actions that should appear first in |
227 Public method to set the list of actions that should appear first in |
231 the menu. |
228 the menu. |
232 </p> |
229 </p> |
|
230 |
233 <dl> |
231 <dl> |
234 |
232 |
235 <dt><i>actions</i> (list of QAction)</dt> |
233 <dt><i>actions</i> (list of QAction)</dt> |
236 <dd> |
234 <dd> |
237 list of initial actions |
235 list of initial actions |
238 </dd> |
236 </dd> |
239 </dl> |
237 </dl> |
240 <a NAME="HistoryMenu.showHistoryDialog" ID="HistoryMenu.showHistoryDialog"></a> |
238 <a NAME="HistoryMenu.showHistoryDialog" ID="HistoryMenu.showHistoryDialog"></a> |
241 <h4>HistoryMenu.showHistoryDialog</h4> |
239 <h4>HistoryMenu.showHistoryDialog</h4> |
242 <b>showHistoryDialog</b>(<i></i>) |
240 <b>showHistoryDialog</b>(<i></i>) |
243 |
|
244 <p> |
241 <p> |
245 Public slot to show the history dialog. |
242 Public slot to show the history dialog. |
246 </p> |
243 </p> |
|
244 |
247 <div align="right"><a href="#top">Up</a></div> |
245 <div align="right"><a href="#top">Up</a></div> |
248 <hr /> |
246 <hr /> |
249 <hr /> |
247 <hr /> |
250 <a NAME="HistoryMenuModel" ID="HistoryMenuModel"></a> |
248 <a NAME="HistoryMenuModel" ID="HistoryMenuModel"></a> |
251 <h2>HistoryMenuModel</h2> |
249 <h2>HistoryMenuModel</h2> |
252 |
|
253 <p> |
250 <p> |
254 Class implementing a model for the history menu. |
251 Class implementing a model for the history menu. |
255 </p> |
252 </p> |
256 <p> |
253 <p> |
257 It maps the first bunch of items of the source model to the root. |
254 It maps the first bunch of items of the source model to the root. |
258 </p> |
255 </p> |
|
256 |
259 <h3>Derived from</h3> |
257 <h3>Derived from</h3> |
260 QAbstractProxyModel |
258 QAbstractProxyModel |
261 <h3>Class Attributes</h3> |
259 <h3>Class Attributes</h3> |
262 |
|
263 <table> |
260 <table> |
264 <tr><td>MOVEDROWS</td></tr> |
261 <tr><td>MOVEDROWS</td></tr> |
265 </table> |
262 </table> |
|
263 |
266 <h3>Class Methods</h3> |
264 <h3>Class Methods</h3> |
267 |
265 <table> |
268 <table> |
266 <tr><td>None</td></tr> |
269 <tr><td>None</td></tr> |
267 </table> |
270 </table> |
268 |
271 <h3>Methods</h3> |
269 <h3>Methods</h3> |
272 |
270 <table> |
273 <table> |
|
274 |
|
275 <tr> |
271 <tr> |
276 <td><a href="#HistoryMenuModel.__init__">HistoryMenuModel</a></td> |
272 <td><a href="#HistoryMenuModel.__init__">HistoryMenuModel</a></td> |
277 <td>Constructor</td> |
273 <td>Constructor</td> |
278 </tr> |
274 </tr> |
279 <tr> |
275 <tr> |
307 <tr> |
303 <tr> |
308 <td><a href="#HistoryMenuModel.rowCount">rowCount</a></td> |
304 <td><a href="#HistoryMenuModel.rowCount">rowCount</a></td> |
309 <td>Public method to determine the number of rows.</td> |
305 <td>Public method to determine the number of rows.</td> |
310 </tr> |
306 </tr> |
311 </table> |
307 </table> |
|
308 |
312 <h3>Static Methods</h3> |
309 <h3>Static Methods</h3> |
313 |
310 <table> |
314 <table> |
311 <tr><td>None</td></tr> |
315 <tr><td>None</td></tr> |
312 </table> |
316 </table> |
313 |
317 |
314 |
318 <a NAME="HistoryMenuModel.__init__" ID="HistoryMenuModel.__init__"></a> |
315 <a NAME="HistoryMenuModel.__init__" ID="HistoryMenuModel.__init__"></a> |
319 <h4>HistoryMenuModel (Constructor)</h4> |
316 <h4>HistoryMenuModel (Constructor)</h4> |
320 <b>HistoryMenuModel</b>(<i>sourceModel, parent=None</i>) |
317 <b>HistoryMenuModel</b>(<i>sourceModel, parent=None</i>) |
321 |
|
322 <p> |
318 <p> |
323 Constructor |
319 Constructor |
324 </p> |
320 </p> |
|
321 |
325 <dl> |
322 <dl> |
326 |
323 |
327 <dt><i>sourceModel</i> (QAbstractItemModel)</dt> |
324 <dt><i>sourceModel</i> (QAbstractItemModel)</dt> |
328 <dd> |
325 <dd> |
329 reference to the source model |
326 reference to the source model |
379 </dd> |
376 </dd> |
380 </dl> |
377 </dl> |
381 <a NAME="HistoryMenuModel.index" ID="HistoryMenuModel.index"></a> |
378 <a NAME="HistoryMenuModel.index" ID="HistoryMenuModel.index"></a> |
382 <h4>HistoryMenuModel.index</h4> |
379 <h4>HistoryMenuModel.index</h4> |
383 <b>index</b>(<i>row, column, parent=None</i>) |
380 <b>index</b>(<i>row, column, parent=None</i>) |
384 |
|
385 <p> |
381 <p> |
386 Public method to create an index. |
382 Public method to create an index. |
387 </p> |
383 </p> |
|
384 |
388 <dl> |
385 <dl> |
389 |
386 |
390 <dt><i>row</i> (int)</dt> |
387 <dt><i>row</i> (int)</dt> |
391 <dd> |
388 <dd> |
392 row number for the index |
389 row number for the index |
413 </dd> |
410 </dd> |
414 </dl> |
411 </dl> |
415 <a NAME="HistoryMenuModel.mapFromSource" ID="HistoryMenuModel.mapFromSource"></a> |
412 <a NAME="HistoryMenuModel.mapFromSource" ID="HistoryMenuModel.mapFromSource"></a> |
416 <h4>HistoryMenuModel.mapFromSource</h4> |
413 <h4>HistoryMenuModel.mapFromSource</h4> |
417 <b>mapFromSource</b>(<i>sourceIndex</i>) |
414 <b>mapFromSource</b>(<i>sourceIndex</i>) |
418 |
|
419 <p> |
415 <p> |
420 Public method to map an index to the proxy model index. |
416 Public method to map an index to the proxy model index. |
421 </p> |
417 </p> |
|
418 |
422 <dl> |
419 <dl> |
423 |
420 |
424 <dt><i>sourceIndex</i> (QModelIndex)</dt> |
421 <dt><i>sourceIndex</i> (QModelIndex)</dt> |
425 <dd> |
422 <dd> |
426 reference to a source model index |
423 reference to a source model index |
439 </dd> |
436 </dd> |
440 </dl> |
437 </dl> |
441 <a NAME="HistoryMenuModel.mapToSource" ID="HistoryMenuModel.mapToSource"></a> |
438 <a NAME="HistoryMenuModel.mapToSource" ID="HistoryMenuModel.mapToSource"></a> |
442 <h4>HistoryMenuModel.mapToSource</h4> |
439 <h4>HistoryMenuModel.mapToSource</h4> |
443 <b>mapToSource</b>(<i>proxyIndex</i>) |
440 <b>mapToSource</b>(<i>proxyIndex</i>) |
444 |
|
445 <p> |
441 <p> |
446 Public method to map an index to the source model index. |
442 Public method to map an index to the source model index. |
447 </p> |
443 </p> |
|
444 |
448 <dl> |
445 <dl> |
449 |
446 |
450 <dt><i>proxyIndex</i> (QModelIndex)</dt> |
447 <dt><i>proxyIndex</i> (QModelIndex)</dt> |
451 <dd> |
448 <dd> |
452 reference to a proxy model index |
449 reference to a proxy model index |
604 <tr> |
599 <tr> |
605 <td><a href="#HistoryMostVisitedMenu.prePopulated">prePopulated</a></td> |
600 <td><a href="#HistoryMostVisitedMenu.prePopulated">prePopulated</a></td> |
606 <td>Public method to add any actions before the tree.</td> |
601 <td>Public method to add any actions before the tree.</td> |
607 </tr> |
602 </tr> |
608 </table> |
603 </table> |
|
604 |
609 <h3>Static Methods</h3> |
605 <h3>Static Methods</h3> |
610 |
606 <table> |
611 <table> |
607 <tr><td>None</td></tr> |
612 <tr><td>None</td></tr> |
608 </table> |
613 </table> |
609 |
614 |
610 |
615 <a NAME="HistoryMostVisitedMenu.__init__" ID="HistoryMostVisitedMenu.__init__"></a> |
611 <a NAME="HistoryMostVisitedMenu.__init__" ID="HistoryMostVisitedMenu.__init__"></a> |
616 <h4>HistoryMostVisitedMenu (Constructor)</h4> |
612 <h4>HistoryMostVisitedMenu (Constructor)</h4> |
617 <b>HistoryMostVisitedMenu</b>(<i>count, parent=None</i>) |
613 <b>HistoryMostVisitedMenu</b>(<i>count, parent=None</i>) |
618 |
|
619 <p> |
614 <p> |
620 Constructor |
615 Constructor |
621 </p> |
616 </p> |
|
617 |
622 <dl> |
618 <dl> |
623 |
619 |
624 <dt><i>count</i> (int)</dt> |
620 <dt><i>count</i> (int)</dt> |
625 <dd> |
621 <dd> |
626 maximum number of entries to be shown |
622 maximum number of entries to be shown |
631 </dd> |
627 </dd> |
632 </dl> |
628 </dl> |
633 <a NAME="HistoryMostVisitedMenu.__activated" ID="HistoryMostVisitedMenu.__activated"></a> |
629 <a NAME="HistoryMostVisitedMenu.__activated" ID="HistoryMostVisitedMenu.__activated"></a> |
634 <h4>HistoryMostVisitedMenu.__activated</h4> |
630 <h4>HistoryMostVisitedMenu.__activated</h4> |
635 <b>__activated</b>(<i>idx</i>) |
631 <b>__activated</b>(<i>idx</i>) |
636 |
|
637 <p> |
632 <p> |
638 Private slot handling the activated signal. |
633 Private slot handling the activated signal. |
639 </p> |
634 </p> |
|
635 |
640 <dl> |
636 <dl> |
641 |
637 |
642 <dt><i>idx</i> (QModelIndex)</dt> |
638 <dt><i>idx</i> (QModelIndex)</dt> |
643 <dd> |
639 <dd> |
644 index of the activated item |
640 index of the activated item |
645 </dd> |
641 </dd> |
646 </dl> |
642 </dl> |
647 <a NAME="HistoryMostVisitedMenu.prePopulated" ID="HistoryMostVisitedMenu.prePopulated"></a> |
643 <a NAME="HistoryMostVisitedMenu.prePopulated" ID="HistoryMostVisitedMenu.prePopulated"></a> |
648 <h4>HistoryMostVisitedMenu.prePopulated</h4> |
644 <h4>HistoryMostVisitedMenu.prePopulated</h4> |
649 <b>prePopulated</b>(<i></i>) |
645 <b>prePopulated</b>(<i></i>) |
650 |
|
651 <p> |
646 <p> |
652 Public method to add any actions before the tree. |
647 Public method to add any actions before the tree. |
653 </p> |
648 </p> |
|
649 |
654 <dl> |
650 <dl> |
655 <dt>Return:</dt> |
651 <dt>Return:</dt> |
656 <dd> |
652 <dd> |
657 flag indicating if any actions were added |
653 flag indicating if any actions were added |
658 </dd> |
654 </dd> |
666 <div align="right"><a href="#top">Up</a></div> |
662 <div align="right"><a href="#top">Up</a></div> |
667 <hr /> |
663 <hr /> |
668 <hr /> |
664 <hr /> |
669 <a NAME="HistoryMostVisitedMenuModel" ID="HistoryMostVisitedMenuModel"></a> |
665 <a NAME="HistoryMostVisitedMenuModel" ID="HistoryMostVisitedMenuModel"></a> |
670 <h2>HistoryMostVisitedMenuModel</h2> |
666 <h2>HistoryMostVisitedMenuModel</h2> |
671 |
|
672 <p> |
667 <p> |
673 Class implementing a model to show the most visited history entries. |
668 Class implementing a model to show the most visited history entries. |
674 </p> |
669 </p> |
|
670 |
675 <h3>Derived from</h3> |
671 <h3>Derived from</h3> |
676 QSortFilterProxyModel |
672 QSortFilterProxyModel |
677 <h3>Class Attributes</h3> |
673 <h3>Class Attributes</h3> |
678 |
674 <table> |
679 <table> |
675 <tr><td>None</td></tr> |
680 <tr><td>None</td></tr> |
676 </table> |
681 </table> |
677 |
682 <h3>Class Methods</h3> |
678 <h3>Class Methods</h3> |
683 |
679 <table> |
684 <table> |
680 <tr><td>None</td></tr> |
685 <tr><td>None</td></tr> |
681 </table> |
686 </table> |
682 |
687 <h3>Methods</h3> |
683 <h3>Methods</h3> |
688 |
684 <table> |
689 <table> |
|
690 |
|
691 <tr> |
685 <tr> |
692 <td><a href="#HistoryMostVisitedMenuModel.__init__">HistoryMostVisitedMenuModel</a></td> |
686 <td><a href="#HistoryMostVisitedMenuModel.__init__">HistoryMostVisitedMenuModel</a></td> |
693 <td>Constructor</td> |
687 <td>Constructor</td> |
694 </tr> |
688 </tr> |
695 <tr> |
689 <tr> |
696 <td><a href="#HistoryMostVisitedMenuModel.lessThan">lessThan</a></td> |
690 <td><a href="#HistoryMostVisitedMenuModel.lessThan">lessThan</a></td> |
697 <td>Public method used to sort the displayed items.</td> |
691 <td>Public method used to sort the displayed items.</td> |
698 </tr> |
692 </tr> |
699 </table> |
693 </table> |
|
694 |
700 <h3>Static Methods</h3> |
695 <h3>Static Methods</h3> |
701 |
696 <table> |
702 <table> |
697 <tr><td>None</td></tr> |
703 <tr><td>None</td></tr> |
698 </table> |
704 </table> |
699 |
705 |
700 |
706 <a NAME="HistoryMostVisitedMenuModel.__init__" ID="HistoryMostVisitedMenuModel.__init__"></a> |
701 <a NAME="HistoryMostVisitedMenuModel.__init__" ID="HistoryMostVisitedMenuModel.__init__"></a> |
707 <h4>HistoryMostVisitedMenuModel (Constructor)</h4> |
702 <h4>HistoryMostVisitedMenuModel (Constructor)</h4> |
708 <b>HistoryMostVisitedMenuModel</b>(<i>sourceModel, parent=None</i>) |
703 <b>HistoryMostVisitedMenuModel</b>(<i>sourceModel, parent=None</i>) |
709 |
|
710 <p> |
704 <p> |
711 Constructor |
705 Constructor |
712 </p> |
706 </p> |
|
707 |
713 <dl> |
708 <dl> |
714 |
709 |
715 <dt><i>sourceModel</i> (QAbstractItemModel)</dt> |
710 <dt><i>sourceModel</i> (QAbstractItemModel)</dt> |
716 <dd> |
711 <dd> |
717 reference to the source model |
712 reference to the source model |