142 <p> |
142 <p> |
143 Constructor |
143 Constructor |
144 </p> |
144 </p> |
145 <dl> |
145 <dl> |
146 |
146 |
147 <dt><i>parent</i></dt> |
147 <dt><i>parent</i> (QWidget)</dt> |
148 <dd> |
148 <dd> |
149 reference to the parent widget (QWidget) |
149 reference to the parent widget |
150 </dd> |
150 </dd> |
151 <dt><i>tabWidget</i></dt> |
151 <dt><i>tabWidget</i> (WebBrowserTabWidget)</dt> |
152 <dd> |
152 <dd> |
153 reference to the tab widget managing the browser |
153 reference to the tab widget managing the browser |
154 tabs (HelpTabWidget |
154 tabs |
155 </dd> |
155 </dd> |
156 </dl> |
156 </dl> |
157 <a NAME="HistoryMenu.__aboutToShowClosedTabsMenu" ID="HistoryMenu.__aboutToShowClosedTabsMenu"></a> |
157 <a NAME="HistoryMenu.__aboutToShowClosedTabsMenu" ID="HistoryMenu.__aboutToShowClosedTabsMenu"></a> |
158 <h4>HistoryMenu.__aboutToShowClosedTabsMenu</h4> |
158 <h4>HistoryMenu.__aboutToShowClosedTabsMenu</h4> |
159 <b>__aboutToShowClosedTabsMenu</b>(<i></i>) |
159 <b>__aboutToShowClosedTabsMenu</b>(<i></i>) |
168 <p> |
168 <p> |
169 Private slot handling the activated signal. |
169 Private slot handling the activated signal. |
170 </p> |
170 </p> |
171 <dl> |
171 <dl> |
172 |
172 |
173 <dt><i>idx</i></dt> |
173 <dt><i>idx</i> (QModelIndex)</dt> |
174 <dd> |
174 <dd> |
175 index of the activated item (QModelIndex) |
175 index of the activated item |
176 </dd> |
176 </dd> |
177 </dl> |
177 </dl> |
178 <a NAME="HistoryMenu.__clearHistoryDialog" ID="HistoryMenu.__clearHistoryDialog"></a> |
178 <a NAME="HistoryMenu.__clearHistoryDialog" ID="HistoryMenu.__clearHistoryDialog"></a> |
179 <h4>HistoryMenu.__clearHistoryDialog</h4> |
179 <h4>HistoryMenu.__clearHistoryDialog</h4> |
180 <b>__clearHistoryDialog</b>(<i></i>) |
180 <b>__clearHistoryDialog</b>(<i></i>) |
189 <p> |
189 <p> |
190 Private slot to handle changes of the availability of closed tabs. |
190 Private slot to handle changes of the availability of closed tabs. |
191 </p> |
191 </p> |
192 <dl> |
192 <dl> |
193 |
193 |
194 <dt><i>avail</i></dt> |
194 <dt><i>avail</i> (bool)</dt> |
195 <dd> |
195 <dd> |
196 flag indicating the availability of closed tabs (boolean) |
196 flag indicating the availability of closed tabs |
197 </dd> |
197 </dd> |
198 </dl> |
198 </dl> |
199 <a NAME="HistoryMenu.postPopulated" ID="HistoryMenu.postPopulated"></a> |
199 <a NAME="HistoryMenu.postPopulated" ID="HistoryMenu.postPopulated"></a> |
200 <h4>HistoryMenu.postPopulated</h4> |
200 <h4>HistoryMenu.postPopulated</h4> |
201 <b>postPopulated</b>(<i></i>) |
201 <b>postPopulated</b>(<i></i>) |
211 Public method to add any actions before the tree. |
211 Public method to add any actions before the tree. |
212 </p> |
212 </p> |
213 <dl> |
213 <dl> |
214 <dt>Return:</dt> |
214 <dt>Return:</dt> |
215 <dd> |
215 <dd> |
216 flag indicating if any actions were added (boolean) |
216 flag indicating if any actions were added |
|
217 </dd> |
|
218 </dl> |
|
219 <dl> |
|
220 <dt>Return Type:</dt> |
|
221 <dd> |
|
222 bool |
217 </dd> |
223 </dd> |
218 </dl> |
224 </dl> |
219 <a NAME="HistoryMenu.setInitialActions" ID="HistoryMenu.setInitialActions"></a> |
225 <a NAME="HistoryMenu.setInitialActions" ID="HistoryMenu.setInitialActions"></a> |
220 <h4>HistoryMenu.setInitialActions</h4> |
226 <h4>HistoryMenu.setInitialActions</h4> |
221 <b>setInitialActions</b>(<i>actions</i>) |
227 <b>setInitialActions</b>(<i>actions</i>) |
224 Public method to set the list of actions that should appear first in |
230 Public method to set the list of actions that should appear first in |
225 the menu. |
231 the menu. |
226 </p> |
232 </p> |
227 <dl> |
233 <dl> |
228 |
234 |
229 <dt><i>actions</i></dt> |
235 <dt><i>actions</i> (list of QAction)</dt> |
230 <dd> |
236 <dd> |
231 list of initial actions (list of QAction) |
237 list of initial actions |
232 </dd> |
238 </dd> |
233 </dl> |
239 </dl> |
234 <a NAME="HistoryMenu.showHistoryDialog" ID="HistoryMenu.showHistoryDialog"></a> |
240 <a NAME="HistoryMenu.showHistoryDialog" ID="HistoryMenu.showHistoryDialog"></a> |
235 <h4>HistoryMenu.showHistoryDialog</h4> |
241 <h4>HistoryMenu.showHistoryDialog</h4> |
236 <b>showHistoryDialog</b>(<i></i>) |
242 <b>showHistoryDialog</b>(<i></i>) |
316 <p> |
322 <p> |
317 Constructor |
323 Constructor |
318 </p> |
324 </p> |
319 <dl> |
325 <dl> |
320 |
326 |
321 <dt><i>sourceModel</i></dt> |
327 <dt><i>sourceModel</i> (QAbstractItemModel)</dt> |
322 <dd> |
328 <dd> |
323 reference to the source model (QAbstractItemModel) |
329 reference to the source model |
324 </dd> |
330 </dd> |
325 <dt><i>parent</i></dt> |
331 <dt><i>parent</i> (QObject)</dt> |
326 <dd> |
332 <dd> |
327 reference to the parent object (QObject) |
333 reference to the parent object |
328 </dd> |
334 </dd> |
329 </dl> |
335 </dl> |
330 <a NAME="HistoryMenuModel.bumpedRows" ID="HistoryMenuModel.bumpedRows"></a> |
336 <a NAME="HistoryMenuModel.bumpedRows" ID="HistoryMenuModel.bumpedRows"></a> |
331 <h4>HistoryMenuModel.bumpedRows</h4> |
337 <h4>HistoryMenuModel.bumpedRows</h4> |
332 <b>bumpedRows</b>(<i></i>) |
338 <b>bumpedRows</b>(<i></i>) |
335 Public method to determine the number of rows moved to the root. |
341 Public method to determine the number of rows moved to the root. |
336 </p> |
342 </p> |
337 <dl> |
343 <dl> |
338 <dt>Return:</dt> |
344 <dt>Return:</dt> |
339 <dd> |
345 <dd> |
340 number of rows moved to the root (integer) |
346 number of rows moved to the root |
|
347 </dd> |
|
348 </dl> |
|
349 <dl> |
|
350 <dt>Return Type:</dt> |
|
351 <dd> |
|
352 int |
341 </dd> |
353 </dd> |
342 </dl> |
354 </dl> |
343 <a NAME="HistoryMenuModel.columnCount" ID="HistoryMenuModel.columnCount"></a> |
355 <a NAME="HistoryMenuModel.columnCount" ID="HistoryMenuModel.columnCount"></a> |
344 <h4>HistoryMenuModel.columnCount</h4> |
356 <h4>HistoryMenuModel.columnCount</h4> |
345 <b>columnCount</b>(<i>parent=None</i>) |
357 <b>columnCount</b>(<i>parent=None</i>) |
347 <p> |
359 <p> |
348 Public method to get the number of columns. |
360 Public method to get the number of columns. |
349 </p> |
361 </p> |
350 <dl> |
362 <dl> |
351 |
363 |
352 <dt><i>parent</i></dt> |
364 <dt><i>parent</i> (QModelIndex)</dt> |
353 <dd> |
365 <dd> |
354 index of parent (QModelIndex) |
366 index of parent |
355 </dd> |
367 </dd> |
356 </dl> |
368 </dl> |
357 <dl> |
369 <dl> |
358 <dt>Return:</dt> |
370 <dt>Return:</dt> |
359 <dd> |
371 <dd> |
360 number of columns (integer) |
372 number of columns |
|
373 </dd> |
|
374 </dl> |
|
375 <dl> |
|
376 <dt>Return Type:</dt> |
|
377 <dd> |
|
378 int |
361 </dd> |
379 </dd> |
362 </dl> |
380 </dl> |
363 <a NAME="HistoryMenuModel.index" ID="HistoryMenuModel.index"></a> |
381 <a NAME="HistoryMenuModel.index" ID="HistoryMenuModel.index"></a> |
364 <h4>HistoryMenuModel.index</h4> |
382 <h4>HistoryMenuModel.index</h4> |
365 <b>index</b>(<i>row, column, parent=None</i>) |
383 <b>index</b>(<i>row, column, parent=None</i>) |
367 <p> |
385 <p> |
368 Public method to create an index. |
386 Public method to create an index. |
369 </p> |
387 </p> |
370 <dl> |
388 <dl> |
371 |
389 |
372 <dt><i>row</i></dt> |
390 <dt><i>row</i> (int)</dt> |
373 <dd> |
391 <dd> |
374 row number for the index (integer) |
392 row number for the index |
375 </dd> |
393 </dd> |
376 <dt><i>column</i></dt> |
394 <dt><i>column</i> (int)</dt> |
377 <dd> |
395 <dd> |
378 column number for the index (integer) |
396 column number for the index |
379 </dd> |
397 </dd> |
380 <dt><i>parent</i></dt> |
398 <dt><i>parent</i> (QModelIndex)</dt> |
381 <dd> |
399 <dd> |
382 index of the parent item (QModelIndex) |
400 index of the parent item |
383 </dd> |
401 </dd> |
384 </dl> |
402 </dl> |
385 <dl> |
403 <dl> |
386 <dt>Return:</dt> |
404 <dt>Return:</dt> |
387 <dd> |
405 <dd> |
388 requested index (QModelIndex) |
406 requested index |
|
407 </dd> |
|
408 </dl> |
|
409 <dl> |
|
410 <dt>Return Type:</dt> |
|
411 <dd> |
|
412 QModelIndex |
389 </dd> |
413 </dd> |
390 </dl> |
414 </dl> |
391 <a NAME="HistoryMenuModel.mapFromSource" ID="HistoryMenuModel.mapFromSource"></a> |
415 <a NAME="HistoryMenuModel.mapFromSource" ID="HistoryMenuModel.mapFromSource"></a> |
392 <h4>HistoryMenuModel.mapFromSource</h4> |
416 <h4>HistoryMenuModel.mapFromSource</h4> |
393 <b>mapFromSource</b>(<i>sourceIndex</i>) |
417 <b>mapFromSource</b>(<i>sourceIndex</i>) |
395 <p> |
419 <p> |
396 Public method to map an index to the proxy model index. |
420 Public method to map an index to the proxy model index. |
397 </p> |
421 </p> |
398 <dl> |
422 <dl> |
399 |
423 |
400 <dt><i>sourceIndex</i></dt> |
424 <dt><i>sourceIndex</i> (QModelIndex)</dt> |
401 <dd> |
425 <dd> |
402 reference to a source model index (QModelIndex) |
426 reference to a source model index |
403 </dd> |
427 </dd> |
404 </dl> |
428 </dl> |
405 <dl> |
429 <dl> |
406 <dt>Return:</dt> |
430 <dt>Return:</dt> |
407 <dd> |
431 <dd> |
408 proxy model index (QModelIndex) |
432 proxy model index |
|
433 </dd> |
|
434 </dl> |
|
435 <dl> |
|
436 <dt>Return Type:</dt> |
|
437 <dd> |
|
438 QModelIndex |
409 </dd> |
439 </dd> |
410 </dl> |
440 </dl> |
411 <a NAME="HistoryMenuModel.mapToSource" ID="HistoryMenuModel.mapToSource"></a> |
441 <a NAME="HistoryMenuModel.mapToSource" ID="HistoryMenuModel.mapToSource"></a> |
412 <h4>HistoryMenuModel.mapToSource</h4> |
442 <h4>HistoryMenuModel.mapToSource</h4> |
413 <b>mapToSource</b>(<i>proxyIndex</i>) |
443 <b>mapToSource</b>(<i>proxyIndex</i>) |
415 <p> |
445 <p> |
416 Public method to map an index to the source model index. |
446 Public method to map an index to the source model index. |
417 </p> |
447 </p> |
418 <dl> |
448 <dl> |
419 |
449 |
420 <dt><i>proxyIndex</i></dt> |
450 <dt><i>proxyIndex</i> (QModelIndex)</dt> |
421 <dd> |
451 <dd> |
422 reference to a proxy model index (QModelIndex) |
452 reference to a proxy model index |
423 </dd> |
453 </dd> |
424 </dl> |
454 </dl> |
425 <dl> |
455 <dl> |
426 <dt>Return:</dt> |
456 <dt>Return:</dt> |
427 <dd> |
457 <dd> |
428 source model index (QModelIndex) |
458 source model index |
|
459 </dd> |
|
460 </dl> |
|
461 <dl> |
|
462 <dt>Return Type:</dt> |
|
463 <dd> |
|
464 QModelIndex |
429 </dd> |
465 </dd> |
430 </dl> |
466 </dl> |
431 <a NAME="HistoryMenuModel.mimeData" ID="HistoryMenuModel.mimeData"></a> |
467 <a NAME="HistoryMenuModel.mimeData" ID="HistoryMenuModel.mimeData"></a> |
432 <h4>HistoryMenuModel.mimeData</h4> |
468 <h4>HistoryMenuModel.mimeData</h4> |
433 <b>mimeData</b>(<i>indexes</i>) |
469 <b>mimeData</b>(<i>indexes</i>) |
435 <p> |
471 <p> |
436 Public method to return the mime data. |
472 Public method to return the mime data. |
437 </p> |
473 </p> |
438 <dl> |
474 <dl> |
439 |
475 |
440 <dt><i>indexes</i></dt> |
476 <dt><i>indexes</i> (QModelIndexList)</dt> |
441 <dd> |
477 <dd> |
442 list of indexes (QModelIndexList) |
478 list of indexes |
443 </dd> |
479 </dd> |
444 </dl> |
480 </dl> |
445 <dl> |
481 <dl> |
446 <dt>Return:</dt> |
482 <dt>Return:</dt> |
447 <dd> |
483 <dd> |
448 mime data (QMimeData) |
484 mime data |
|
485 </dd> |
|
486 </dl> |
|
487 <dl> |
|
488 <dt>Return Type:</dt> |
|
489 <dd> |
|
490 QMimeData |
449 </dd> |
491 </dd> |
450 </dl> |
492 </dl> |
451 <a NAME="HistoryMenuModel.parent" ID="HistoryMenuModel.parent"></a> |
493 <a NAME="HistoryMenuModel.parent" ID="HistoryMenuModel.parent"></a> |
452 <h4>HistoryMenuModel.parent</h4> |
494 <h4>HistoryMenuModel.parent</h4> |
453 <b>parent</b>(<i>index</i>) |
495 <b>parent</b>(<i>index</i>) |
455 <p> |
497 <p> |
456 Public method to get the parent index. |
498 Public method to get the parent index. |
457 </p> |
499 </p> |
458 <dl> |
500 <dl> |
459 |
501 |
460 <dt><i>index</i></dt> |
502 <dt><i>index</i> (QModelIndex)</dt> |
461 <dd> |
503 <dd> |
462 index of item to get parent (QModelIndex) |
504 index of item to get parent |
463 </dd> |
505 </dd> |
464 </dl> |
506 </dl> |
465 <dl> |
507 <dl> |
466 <dt>Return:</dt> |
508 <dt>Return:</dt> |
467 <dd> |
509 <dd> |
468 index of parent (QModelIndex) |
510 index of parent |
|
511 </dd> |
|
512 </dl> |
|
513 <dl> |
|
514 <dt>Return Type:</dt> |
|
515 <dd> |
|
516 QModelIndex |
469 </dd> |
517 </dd> |
470 </dl> |
518 </dl> |
471 <a NAME="HistoryMenuModel.rowCount" ID="HistoryMenuModel.rowCount"></a> |
519 <a NAME="HistoryMenuModel.rowCount" ID="HistoryMenuModel.rowCount"></a> |
472 <h4>HistoryMenuModel.rowCount</h4> |
520 <h4>HistoryMenuModel.rowCount</h4> |
473 <b>rowCount</b>(<i>parent=None</i>) |
521 <b>rowCount</b>(<i>parent=None</i>) |
565 <p> |
619 <p> |
566 Constructor |
620 Constructor |
567 </p> |
621 </p> |
568 <dl> |
622 <dl> |
569 |
623 |
570 <dt><i>count</i></dt> |
624 <dt><i>count</i> (int)</dt> |
571 <dd> |
625 <dd> |
572 maximum number of entries to be shown (integer) |
626 maximum number of entries to be shown |
573 </dd> |
627 </dd> |
574 <dt><i>parent</i></dt> |
628 <dt><i>parent</i> (QWidget)</dt> |
575 <dd> |
629 <dd> |
576 reference to the parent widget (QWidget) |
630 reference to the parent widget |
577 </dd> |
631 </dd> |
578 </dl> |
632 </dl> |
579 <a NAME="HistoryMostVisitedMenu.__activated" ID="HistoryMostVisitedMenu.__activated"></a> |
633 <a NAME="HistoryMostVisitedMenu.__activated" ID="HistoryMostVisitedMenu.__activated"></a> |
580 <h4>HistoryMostVisitedMenu.__activated</h4> |
634 <h4>HistoryMostVisitedMenu.__activated</h4> |
581 <b>__activated</b>(<i>idx</i>) |
635 <b>__activated</b>(<i>idx</i>) |
583 <p> |
637 <p> |
584 Private slot handling the activated signal. |
638 Private slot handling the activated signal. |
585 </p> |
639 </p> |
586 <dl> |
640 <dl> |
587 |
641 |
588 <dt><i>idx</i></dt> |
642 <dt><i>idx</i> (QModelIndex)</dt> |
589 <dd> |
643 <dd> |
590 index of the activated item (QModelIndex) |
644 index of the activated item |
591 </dd> |
645 </dd> |
592 </dl> |
646 </dl> |
593 <a NAME="HistoryMostVisitedMenu.prePopulated" ID="HistoryMostVisitedMenu.prePopulated"></a> |
647 <a NAME="HistoryMostVisitedMenu.prePopulated" ID="HistoryMostVisitedMenu.prePopulated"></a> |
594 <h4>HistoryMostVisitedMenu.prePopulated</h4> |
648 <h4>HistoryMostVisitedMenu.prePopulated</h4> |
595 <b>prePopulated</b>(<i></i>) |
649 <b>prePopulated</b>(<i></i>) |
650 <p> |
710 <p> |
651 Constructor |
711 Constructor |
652 </p> |
712 </p> |
653 <dl> |
713 <dl> |
654 |
714 |
655 <dt><i>sourceModel</i></dt> |
715 <dt><i>sourceModel</i> (QAbstractItemModel)</dt> |
656 <dd> |
716 <dd> |
657 reference to the source model (QAbstractItemModel) |
717 reference to the source model |
658 </dd> |
718 </dd> |
659 <dt><i>parent</i></dt> |
719 <dt><i>parent</i> (QObject)</dt> |
660 <dd> |
720 <dd> |
661 reference to the parent object (QObject) |
721 reference to the parent object |
662 </dd> |
722 </dd> |
663 </dl> |
723 </dl> |
664 <a NAME="HistoryMostVisitedMenuModel.lessThan" ID="HistoryMostVisitedMenuModel.lessThan"></a> |
724 <a NAME="HistoryMostVisitedMenuModel.lessThan" ID="HistoryMostVisitedMenuModel.lessThan"></a> |
665 <h4>HistoryMostVisitedMenuModel.lessThan</h4> |
725 <h4>HistoryMostVisitedMenuModel.lessThan</h4> |
666 <b>lessThan</b>(<i>left, right</i>) |
726 <b>lessThan</b>(<i>left, right</i>) |
668 <p> |
728 <p> |
669 Public method used to sort the displayed items. |
729 Public method used to sort the displayed items. |
670 </p> |
730 </p> |
671 <dl> |
731 <dl> |
672 |
732 |
673 <dt><i>left</i></dt> |
733 <dt><i>left</i> (QModelIndex)</dt> |
674 <dd> |
734 <dd> |
675 index of left item (QModelIndex) |
735 index of left item |
676 </dd> |
736 </dd> |
677 <dt><i>right</i></dt> |
737 <dt><i>right</i> (QModelIndex)</dt> |
678 <dd> |
738 <dd> |
679 index of right item (QModelIndex) |
739 index of right item |
680 </dd> |
740 </dd> |
681 </dl> |
741 </dl> |
682 <dl> |
742 <dl> |
683 <dt>Return:</dt> |
743 <dt>Return:</dt> |
684 <dd> |
744 <dd> |
685 true, if left is less than right (boolean) |
745 true, if left is less than right |
|
746 </dd> |
|
747 </dl> |
|
748 <dl> |
|
749 <dt>Return Type:</dt> |
|
750 <dd> |
|
751 bool |
686 </dd> |
752 </dd> |
687 </dl> |
753 </dl> |
688 <div align="right"><a href="#top">Up</a></div> |
754 <div align="right"><a href="#top">Up</a></div> |
689 <hr /> |
755 <hr /> |
690 </body></html> |
756 </body></html> |