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.WebBrowserTabWidget</h1> |
9 <h1>eric7.WebBrowser.WebBrowserTabWidget</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the central widget showing the web pages. |
11 Module implementing the central widget showing the web pages. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#WebBrowserTabWidget">WebBrowserTabWidget</a></td> |
22 <td><a href="#WebBrowserTabWidget">WebBrowserTabWidget</a></td> |
25 <td>Class implementing the central widget showing the web pages.</td> |
23 <td>Class implementing the central widget showing the web pages.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="WebBrowserTabWidget" ID="WebBrowserTabWidget"></a> |
34 <a NAME="WebBrowserTabWidget" ID="WebBrowserTabWidget"></a> |
36 <h2>WebBrowserTabWidget</h2> |
35 <h2>WebBrowserTabWidget</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing the central widget showing the web pages. |
37 Class implementing the central widget showing the web pages. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Signals</h3> |
40 <h3>Signals</h3> |
42 <dl> |
41 <dl> |
43 |
42 |
44 <dt>browserClosed(QWidget)</dt> |
43 <dt>browserClosed(QWidget)</dt> |
45 <dd> |
44 <dd> |
310 <tr> |
307 <tr> |
311 <td><a href="#WebBrowserTabWidget.urlBarForView">urlBarForView</a></td> |
308 <td><a href="#WebBrowserTabWidget.urlBarForView">urlBarForView</a></td> |
312 <td>Public method to get a reference to the UrlBar associated with the given view.</td> |
309 <td>Public method to get a reference to the UrlBar associated with the given view.</td> |
313 </tr> |
310 </tr> |
314 </table> |
311 </table> |
|
312 |
315 <h3>Static Methods</h3> |
313 <h3>Static Methods</h3> |
316 |
|
317 <table> |
314 <table> |
318 <tr><td>None</td></tr> |
315 <tr><td>None</td></tr> |
319 </table> |
316 </table> |
320 |
317 |
|
318 |
321 <a NAME="WebBrowserTabWidget.__init__" ID="WebBrowserTabWidget.__init__"></a> |
319 <a NAME="WebBrowserTabWidget.__init__" ID="WebBrowserTabWidget.__init__"></a> |
322 <h4>WebBrowserTabWidget (Constructor)</h4> |
320 <h4>WebBrowserTabWidget (Constructor)</h4> |
323 <b>WebBrowserTabWidget</b>(<i>parent</i>) |
321 <b>WebBrowserTabWidget</b>(<i>parent</i>) |
324 |
|
325 <p> |
322 <p> |
326 Constructor |
323 Constructor |
327 </p> |
324 </p> |
|
325 |
328 <dl> |
326 <dl> |
329 |
327 |
330 <dt><i>parent</i> (QWidget)</dt> |
328 <dt><i>parent</i> (QWidget)</dt> |
331 <dd> |
329 <dd> |
332 reference to the parent widget |
330 reference to the parent widget |
333 </dd> |
331 </dd> |
334 </dl> |
332 </dl> |
335 <a NAME="WebBrowserTabWidget.__aboutToShowClosedTabsMenu" ID="WebBrowserTabWidget.__aboutToShowClosedTabsMenu"></a> |
333 <a NAME="WebBrowserTabWidget.__aboutToShowClosedTabsMenu" ID="WebBrowserTabWidget.__aboutToShowClosedTabsMenu"></a> |
336 <h4>WebBrowserTabWidget.__aboutToShowClosedTabsMenu</h4> |
334 <h4>WebBrowserTabWidget.__aboutToShowClosedTabsMenu</h4> |
337 <b>__aboutToShowClosedTabsMenu</b>(<i></i>) |
335 <b>__aboutToShowClosedTabsMenu</b>(<i></i>) |
338 |
|
339 <p> |
336 <p> |
340 Private slot to populate the closed tabs menu. |
337 Private slot to populate the closed tabs menu. |
341 </p> |
338 </p> |
|
339 |
342 <a NAME="WebBrowserTabWidget.__closedTabAvailable" ID="WebBrowserTabWidget.__closedTabAvailable"></a> |
340 <a NAME="WebBrowserTabWidget.__closedTabAvailable" ID="WebBrowserTabWidget.__closedTabAvailable"></a> |
343 <h4>WebBrowserTabWidget.__closedTabAvailable</h4> |
341 <h4>WebBrowserTabWidget.__closedTabAvailable</h4> |
344 <b>__closedTabAvailable</b>(<i>avail</i>) |
342 <b>__closedTabAvailable</b>(<i>avail</i>) |
345 |
|
346 <p> |
343 <p> |
347 Private slot to handle changes of the availability of closed tabs. |
344 Private slot to handle changes of the availability of closed tabs. |
348 </p> |
345 </p> |
|
346 |
349 <dl> |
347 <dl> |
350 |
348 |
351 <dt><i>avail</i> (bool)</dt> |
349 <dt><i>avail</i> (bool)</dt> |
352 <dd> |
350 <dd> |
353 flag indicating the availability of closed tabs |
351 flag indicating the availability of closed tabs |
354 </dd> |
352 </dd> |
355 </dl> |
353 </dl> |
356 <a NAME="WebBrowserTabWidget.__currentChanged" ID="WebBrowserTabWidget.__currentChanged"></a> |
354 <a NAME="WebBrowserTabWidget.__currentChanged" ID="WebBrowserTabWidget.__currentChanged"></a> |
357 <h4>WebBrowserTabWidget.__currentChanged</h4> |
355 <h4>WebBrowserTabWidget.__currentChanged</h4> |
358 <b>__currentChanged</b>(<i>index</i>) |
356 <b>__currentChanged</b>(<i>index</i>) |
359 |
|
360 <p> |
357 <p> |
361 Private slot to handle an index change. |
358 Private slot to handle an index change. |
362 </p> |
359 </p> |
|
360 |
363 <dl> |
361 <dl> |
364 |
362 |
365 <dt><i>index</i> (int)</dt> |
363 <dt><i>index</i> (int)</dt> |
366 <dd> |
364 <dd> |
367 new index |
365 new index |
368 </dd> |
366 </dd> |
369 </dl> |
367 </dl> |
370 <a NAME="WebBrowserTabWidget.__elide" ID="WebBrowserTabWidget.__elide"></a> |
368 <a NAME="WebBrowserTabWidget.__elide" ID="WebBrowserTabWidget.__elide"></a> |
371 <h4>WebBrowserTabWidget.__elide</h4> |
369 <h4>WebBrowserTabWidget.__elide</h4> |
372 <b>__elide</b>(<i>txt, mode=Qt.TextElideMode.ElideRight, length=40</i>) |
370 <b>__elide</b>(<i>txt, mode=Qt.TextElideMode.ElideRight, length=40</i>) |
373 |
|
374 <p> |
371 <p> |
375 Private method to elide some text. |
372 Private method to elide some text. |
376 </p> |
373 </p> |
|
374 |
377 <dl> |
375 <dl> |
378 |
376 |
379 <dt><i>txt</i> (str)</dt> |
377 <dt><i>txt</i> (str)</dt> |
380 <dd> |
378 <dd> |
381 text to be elided |
379 text to be elided |
428 </dd> |
426 </dd> |
429 </dl> |
427 </dl> |
430 <a NAME="WebBrowserTabWidget.__iconChanged" ID="WebBrowserTabWidget.__iconChanged"></a> |
428 <a NAME="WebBrowserTabWidget.__iconChanged" ID="WebBrowserTabWidget.__iconChanged"></a> |
431 <h4>WebBrowserTabWidget.__iconChanged</h4> |
429 <h4>WebBrowserTabWidget.__iconChanged</h4> |
432 <b>__iconChanged</b>(<i>browser</i>) |
430 <b>__iconChanged</b>(<i>browser</i>) |
433 |
|
434 <p> |
431 <p> |
435 Private slot to handle a change of the web site icon. |
432 Private slot to handle a change of the web site icon. |
436 </p> |
433 </p> |
|
434 |
437 <dl> |
435 <dl> |
438 |
436 |
439 <dt><i>browser</i> (WebBrowserView)</dt> |
437 <dt><i>browser</i> (WebBrowserView)</dt> |
440 <dd> |
438 <dd> |
441 reference to the web browser |
439 reference to the web browser |
442 </dd> |
440 </dd> |
443 </dl> |
441 </dl> |
444 <a NAME="WebBrowserTabWidget.__initTabContextMenu" ID="WebBrowserTabWidget.__initTabContextMenu"></a> |
442 <a NAME="WebBrowserTabWidget.__initTabContextMenu" ID="WebBrowserTabWidget.__initTabContextMenu"></a> |
445 <h4>WebBrowserTabWidget.__initTabContextMenu</h4> |
443 <h4>WebBrowserTabWidget.__initTabContextMenu</h4> |
446 <b>__initTabContextMenu</b>(<i></i>) |
444 <b>__initTabContextMenu</b>(<i></i>) |
447 |
|
448 <p> |
445 <p> |
449 Private method to create the tab context menu. |
446 Private method to create the tab context menu. |
450 </p> |
447 </p> |
|
448 |
451 <a NAME="WebBrowserTabWidget.__lineEditReturnPressed" ID="WebBrowserTabWidget.__lineEditReturnPressed"></a> |
449 <a NAME="WebBrowserTabWidget.__lineEditReturnPressed" ID="WebBrowserTabWidget.__lineEditReturnPressed"></a> |
452 <h4>WebBrowserTabWidget.__lineEditReturnPressed</h4> |
450 <h4>WebBrowserTabWidget.__lineEditReturnPressed</h4> |
453 <b>__lineEditReturnPressed</b>(<i>edit</i>) |
451 <b>__lineEditReturnPressed</b>(<i>edit</i>) |
454 |
|
455 <p> |
452 <p> |
456 Private slot to handle the entering of an URL. |
453 Private slot to handle the entering of an URL. |
457 </p> |
454 </p> |
|
455 |
458 <dl> |
456 <dl> |
459 |
457 |
460 <dt><i>edit</i> (UrlBar)</dt> |
458 <dt><i>edit</i> (UrlBar)</dt> |
461 <dd> |
459 <dd> |
462 reference to the line edit |
460 reference to the line edit |
463 </dd> |
461 </dd> |
464 </dl> |
462 </dl> |
465 <a NAME="WebBrowserTabWidget.__loadFinished" ID="WebBrowserTabWidget.__loadFinished"></a> |
463 <a NAME="WebBrowserTabWidget.__loadFinished" ID="WebBrowserTabWidget.__loadFinished"></a> |
466 <h4>WebBrowserTabWidget.__loadFinished</h4> |
464 <h4>WebBrowserTabWidget.__loadFinished</h4> |
467 <b>__loadFinished</b>(<i>ok, browser</i>) |
465 <b>__loadFinished</b>(<i>ok, browser</i>) |
468 |
|
469 <p> |
466 <p> |
470 Private method to handle the loadFinished signal. |
467 Private method to handle the loadFinished signal. |
471 </p> |
468 </p> |
|
469 |
472 <dl> |
470 <dl> |
473 |
471 |
474 <dt><i>ok</i> (bool)</dt> |
472 <dt><i>ok</i> (bool)</dt> |
475 <dd> |
473 <dd> |
476 flag indicating the result |
474 flag indicating the result |
503 </dd> |
501 </dd> |
504 </dl> |
502 </dl> |
505 <a NAME="WebBrowserTabWidget.__navigationMenuTriggered" ID="WebBrowserTabWidget.__navigationMenuTriggered"></a> |
503 <a NAME="WebBrowserTabWidget.__navigationMenuTriggered" ID="WebBrowserTabWidget.__navigationMenuTriggered"></a> |
506 <h4>WebBrowserTabWidget.__navigationMenuTriggered</h4> |
504 <h4>WebBrowserTabWidget.__navigationMenuTriggered</h4> |
507 <b>__navigationMenuTriggered</b>(<i>act</i>) |
505 <b>__navigationMenuTriggered</b>(<i>act</i>) |
508 |
|
509 <p> |
506 <p> |
510 Private slot called to handle the navigation button menu selection. |
507 Private slot called to handle the navigation button menu selection. |
511 </p> |
508 </p> |
|
509 |
512 <dl> |
510 <dl> |
513 |
511 |
514 <dt><i>act</i> (QAction)</dt> |
512 <dt><i>act</i> (QAction)</dt> |
515 <dd> |
513 <dd> |
516 reference to the selected action |
514 reference to the selected action |
517 </dd> |
515 </dd> |
518 </dl> |
516 </dl> |
519 <a NAME="WebBrowserTabWidget.__newBrowser" ID="WebBrowserTabWidget.__newBrowser"></a> |
517 <a NAME="WebBrowserTabWidget.__newBrowser" ID="WebBrowserTabWidget.__newBrowser"></a> |
520 <h4>WebBrowserTabWidget.__newBrowser</h4> |
518 <h4>WebBrowserTabWidget.__newBrowser</h4> |
521 <b>__newBrowser</b>(<i></i>) |
519 <b>__newBrowser</b>(<i></i>) |
522 |
|
523 <p> |
520 <p> |
524 Private slot to open a new browser tab. |
521 Private slot to open a new browser tab. |
525 </p> |
522 </p> |
|
523 |
526 <a NAME="WebBrowserTabWidget.__pathSelected" ID="WebBrowserTabWidget.__pathSelected"></a> |
524 <a NAME="WebBrowserTabWidget.__pathSelected" ID="WebBrowserTabWidget.__pathSelected"></a> |
527 <h4>WebBrowserTabWidget.__pathSelected</h4> |
525 <h4>WebBrowserTabWidget.__pathSelected</h4> |
528 <b>__pathSelected</b>(<i>path</i>) |
526 <b>__pathSelected</b>(<i>path</i>) |
529 |
|
530 <p> |
527 <p> |
531 Private slot called when a URL is selected from the completer. |
528 Private slot called when a URL is selected from the completer. |
532 </p> |
529 </p> |
|
530 |
533 <dl> |
531 <dl> |
534 |
532 |
535 <dt><i>path</i> (str)</dt> |
533 <dt><i>path</i> (str)</dt> |
536 <dd> |
534 <dd> |
537 path to be shown |
535 path to be shown |
538 </dd> |
536 </dd> |
539 </dl> |
537 </dl> |
540 <a NAME="WebBrowserTabWidget.__recentlyAudibleChanged" ID="WebBrowserTabWidget.__recentlyAudibleChanged"></a> |
538 <a NAME="WebBrowserTabWidget.__recentlyAudibleChanged" ID="WebBrowserTabWidget.__recentlyAudibleChanged"></a> |
541 <h4>WebBrowserTabWidget.__recentlyAudibleChanged</h4> |
539 <h4>WebBrowserTabWidget.__recentlyAudibleChanged</h4> |
542 <b>__recentlyAudibleChanged</b>(<i>recentlyAudible, page</i>) |
540 <b>__recentlyAudibleChanged</b>(<i>recentlyAudible, page</i>) |
543 |
|
544 <p> |
541 <p> |
545 Private slot to react on the audible state of a page. |
542 Private slot to react on the audible state of a page. |
546 </p> |
543 </p> |
|
544 |
547 <dl> |
545 <dl> |
548 |
546 |
549 <dt><i>recentlyAudible</i> (bool)</dt> |
547 <dt><i>recentlyAudible</i> (bool)</dt> |
550 <dd> |
548 <dd> |
551 flag indicating the new audible state |
549 flag indicating the new audible state |
574 </dd> |
572 </dd> |
575 </dl> |
573 </dl> |
576 <a NAME="WebBrowserTabWidget.__showNavigationMenu" ID="WebBrowserTabWidget.__showNavigationMenu"></a> |
574 <a NAME="WebBrowserTabWidget.__showNavigationMenu" ID="WebBrowserTabWidget.__showNavigationMenu"></a> |
577 <h4>WebBrowserTabWidget.__showNavigationMenu</h4> |
575 <h4>WebBrowserTabWidget.__showNavigationMenu</h4> |
578 <b>__showNavigationMenu</b>(<i></i>) |
576 <b>__showNavigationMenu</b>(<i></i>) |
579 |
|
580 <p> |
577 <p> |
581 Private slot to show the navigation button menu. |
578 Private slot to show the navigation button menu. |
582 </p> |
579 </p> |
|
580 |
583 <a NAME="WebBrowserTabWidget.__sourceChanged" ID="WebBrowserTabWidget.__sourceChanged"></a> |
581 <a NAME="WebBrowserTabWidget.__sourceChanged" ID="WebBrowserTabWidget.__sourceChanged"></a> |
584 <h4>WebBrowserTabWidget.__sourceChanged</h4> |
582 <h4>WebBrowserTabWidget.__sourceChanged</h4> |
585 <b>__sourceChanged</b>(<i>url, browser</i>) |
583 <b>__sourceChanged</b>(<i>url, browser</i>) |
586 |
|
587 <p> |
584 <p> |
588 Private slot to handle a change of a browsers source. |
585 Private slot to handle a change of a browsers source. |
589 </p> |
586 </p> |
|
587 |
590 <dl> |
588 <dl> |
591 |
589 |
592 <dt><i>url</i> (QUrl)</dt> |
590 <dt><i>url</i> (QUrl)</dt> |
593 <dd> |
591 <dd> |
594 URL of the new site |
592 URL of the new site |
599 </dd> |
597 </dd> |
600 </dl> |
598 </dl> |
601 <a NAME="WebBrowserTabWidget.__tabContextMenuAudioMute" ID="WebBrowserTabWidget.__tabContextMenuAudioMute"></a> |
599 <a NAME="WebBrowserTabWidget.__tabContextMenuAudioMute" ID="WebBrowserTabWidget.__tabContextMenuAudioMute"></a> |
602 <h4>WebBrowserTabWidget.__tabContextMenuAudioMute</h4> |
600 <h4>WebBrowserTabWidget.__tabContextMenuAudioMute</h4> |
603 <b>__tabContextMenuAudioMute</b>(<i></i>) |
601 <b>__tabContextMenuAudioMute</b>(<i></i>) |
604 |
|
605 <p> |
602 <p> |
606 Private method to mute or unmute the selected tab. |
603 Private method to mute or unmute the selected tab. |
607 </p> |
604 </p> |
|
605 |
608 <a NAME="WebBrowserTabWidget.__tabContextMenuClone" ID="WebBrowserTabWidget.__tabContextMenuClone"></a> |
606 <a NAME="WebBrowserTabWidget.__tabContextMenuClone" ID="WebBrowserTabWidget.__tabContextMenuClone"></a> |
609 <h4>WebBrowserTabWidget.__tabContextMenuClone</h4> |
607 <h4>WebBrowserTabWidget.__tabContextMenuClone</h4> |
610 <b>__tabContextMenuClone</b>(<i></i>) |
608 <b>__tabContextMenuClone</b>(<i></i>) |
611 |
|
612 <p> |
609 <p> |
613 Private method to clone the selected tab. |
610 Private method to clone the selected tab. |
614 </p> |
611 </p> |
|
612 |
615 <a NAME="WebBrowserTabWidget.__tabContextMenuClose" ID="WebBrowserTabWidget.__tabContextMenuClose"></a> |
613 <a NAME="WebBrowserTabWidget.__tabContextMenuClose" ID="WebBrowserTabWidget.__tabContextMenuClose"></a> |
616 <h4>WebBrowserTabWidget.__tabContextMenuClose</h4> |
614 <h4>WebBrowserTabWidget.__tabContextMenuClose</h4> |
617 <b>__tabContextMenuClose</b>(<i></i>) |
615 <b>__tabContextMenuClose</b>(<i></i>) |
618 |
|
619 <p> |
616 <p> |
620 Private method to close the selected tab. |
617 Private method to close the selected tab. |
621 </p> |
618 </p> |
|
619 |
622 <a NAME="WebBrowserTabWidget.__tabContextMenuCloseOthers" ID="WebBrowserTabWidget.__tabContextMenuCloseOthers"></a> |
620 <a NAME="WebBrowserTabWidget.__tabContextMenuCloseOthers" ID="WebBrowserTabWidget.__tabContextMenuCloseOthers"></a> |
623 <h4>WebBrowserTabWidget.__tabContextMenuCloseOthers</h4> |
621 <h4>WebBrowserTabWidget.__tabContextMenuCloseOthers</h4> |
624 <b>__tabContextMenuCloseOthers</b>(<i></i>) |
622 <b>__tabContextMenuCloseOthers</b>(<i></i>) |
625 |
|
626 <p> |
623 <p> |
627 Private slot to close all other tabs. |
624 Private slot to close all other tabs. |
628 </p> |
625 </p> |
|
626 |
629 <a NAME="WebBrowserTabWidget.__tabContextMenuMoveLeft" ID="WebBrowserTabWidget.__tabContextMenuMoveLeft"></a> |
627 <a NAME="WebBrowserTabWidget.__tabContextMenuMoveLeft" ID="WebBrowserTabWidget.__tabContextMenuMoveLeft"></a> |
630 <h4>WebBrowserTabWidget.__tabContextMenuMoveLeft</h4> |
628 <h4>WebBrowserTabWidget.__tabContextMenuMoveLeft</h4> |
631 <b>__tabContextMenuMoveLeft</b>(<i></i>) |
629 <b>__tabContextMenuMoveLeft</b>(<i></i>) |
632 |
|
633 <p> |
630 <p> |
634 Private method to move a tab one position to the left. |
631 Private method to move a tab one position to the left. |
635 </p> |
632 </p> |
|
633 |
636 <a NAME="WebBrowserTabWidget.__tabContextMenuMoveRight" ID="WebBrowserTabWidget.__tabContextMenuMoveRight"></a> |
634 <a NAME="WebBrowserTabWidget.__tabContextMenuMoveRight" ID="WebBrowserTabWidget.__tabContextMenuMoveRight"></a> |
637 <h4>WebBrowserTabWidget.__tabContextMenuMoveRight</h4> |
635 <h4>WebBrowserTabWidget.__tabContextMenuMoveRight</h4> |
638 <b>__tabContextMenuMoveRight</b>(<i></i>) |
636 <b>__tabContextMenuMoveRight</b>(<i></i>) |
639 |
|
640 <p> |
637 <p> |
641 Private method to move a tab one position to the right. |
638 Private method to move a tab one position to the right. |
642 </p> |
639 </p> |
|
640 |
643 <a NAME="WebBrowserTabWidget.__tabContextMenuPrint" ID="WebBrowserTabWidget.__tabContextMenuPrint"></a> |
641 <a NAME="WebBrowserTabWidget.__tabContextMenuPrint" ID="WebBrowserTabWidget.__tabContextMenuPrint"></a> |
644 <h4>WebBrowserTabWidget.__tabContextMenuPrint</h4> |
642 <h4>WebBrowserTabWidget.__tabContextMenuPrint</h4> |
645 <b>__tabContextMenuPrint</b>(<i></i>) |
643 <b>__tabContextMenuPrint</b>(<i></i>) |
646 |
|
647 <p> |
644 <p> |
648 Private method to print the selected tab. |
645 Private method to print the selected tab. |
649 </p> |
646 </p> |
|
647 |
650 <a NAME="WebBrowserTabWidget.__tabContextMenuPrintPdf" ID="WebBrowserTabWidget.__tabContextMenuPrintPdf"></a> |
648 <a NAME="WebBrowserTabWidget.__tabContextMenuPrintPdf" ID="WebBrowserTabWidget.__tabContextMenuPrintPdf"></a> |
651 <h4>WebBrowserTabWidget.__tabContextMenuPrintPdf</h4> |
649 <h4>WebBrowserTabWidget.__tabContextMenuPrintPdf</h4> |
652 <b>__tabContextMenuPrintPdf</b>(<i></i>) |
650 <b>__tabContextMenuPrintPdf</b>(<i></i>) |
653 |
|
654 <p> |
651 <p> |
655 Private method to print the selected tab as PDF. |
652 Private method to print the selected tab as PDF. |
656 </p> |
653 </p> |
|
654 |
657 <a NAME="WebBrowserTabWidget.__tabContextMenuPrintPreview" ID="WebBrowserTabWidget.__tabContextMenuPrintPreview"></a> |
655 <a NAME="WebBrowserTabWidget.__tabContextMenuPrintPreview" ID="WebBrowserTabWidget.__tabContextMenuPrintPreview"></a> |
658 <h4>WebBrowserTabWidget.__tabContextMenuPrintPreview</h4> |
656 <h4>WebBrowserTabWidget.__tabContextMenuPrintPreview</h4> |
659 <b>__tabContextMenuPrintPreview</b>(<i></i>) |
657 <b>__tabContextMenuPrintPreview</b>(<i></i>) |
660 |
|
661 <p> |
658 <p> |
662 Private method to show a print preview of the selected tab. |
659 Private method to show a print preview of the selected tab. |
663 </p> |
660 </p> |
|
661 |
664 <a NAME="WebBrowserTabWidget.__titleChanged" ID="WebBrowserTabWidget.__titleChanged"></a> |
662 <a NAME="WebBrowserTabWidget.__titleChanged" ID="WebBrowserTabWidget.__titleChanged"></a> |
665 <h4>WebBrowserTabWidget.__titleChanged</h4> |
663 <h4>WebBrowserTabWidget.__titleChanged</h4> |
666 <b>__titleChanged</b>(<i>title, browser</i>) |
664 <b>__titleChanged</b>(<i>title, browser</i>) |
667 |
|
668 <p> |
665 <p> |
669 Private slot to handle a change of a browsers title. |
666 Private slot to handle a change of a browsers title. |
670 </p> |
667 </p> |
|
668 |
671 <dl> |
669 <dl> |
672 |
670 |
673 <dt><i>title</i> (str)</dt> |
671 <dt><i>title</i> (str)</dt> |
674 <dd> |
672 <dd> |
675 new title |
673 new title |
680 </dd> |
678 </dd> |
681 </dl> |
679 </dl> |
682 <a NAME="WebBrowserTabWidget.__windowCloseRequested" ID="WebBrowserTabWidget.__windowCloseRequested"></a> |
680 <a NAME="WebBrowserTabWidget.__windowCloseRequested" ID="WebBrowserTabWidget.__windowCloseRequested"></a> |
683 <h4>WebBrowserTabWidget.__windowCloseRequested</h4> |
681 <h4>WebBrowserTabWidget.__windowCloseRequested</h4> |
684 <b>__windowCloseRequested</b>(<i>page</i>) |
682 <b>__windowCloseRequested</b>(<i>page</i>) |
685 |
|
686 <p> |
683 <p> |
687 Private slot to handle the windowCloseRequested signal of a browser. |
684 Private slot to handle the windowCloseRequested signal of a browser. |
688 </p> |
685 </p> |
|
686 |
689 <dl> |
687 <dl> |
690 |
688 |
691 <dt><i>page</i> (WebBrowserPage)</dt> |
689 <dt><i>page</i> (WebBrowserPage)</dt> |
692 <dd> |
690 <dd> |
693 reference to the web page |
691 reference to the web page |
694 </dd> |
692 </dd> |
695 </dl> |
693 </dl> |
696 <a NAME="WebBrowserTabWidget.browserAt" ID="WebBrowserTabWidget.browserAt"></a> |
694 <a NAME="WebBrowserTabWidget.browserAt" ID="WebBrowserTabWidget.browserAt"></a> |
697 <h4>WebBrowserTabWidget.browserAt</h4> |
695 <h4>WebBrowserTabWidget.browserAt</h4> |
698 <b>browserAt</b>(<i>index</i>) |
696 <b>browserAt</b>(<i>index</i>) |
699 |
|
700 <p> |
697 <p> |
701 Public method to get a reference to the browser with the given index. |
698 Public method to get a reference to the browser with the given index. |
702 </p> |
699 </p> |
|
700 |
703 <dl> |
701 <dl> |
704 |
702 |
705 <dt><i>index</i> (int)</dt> |
703 <dt><i>index</i> (int)</dt> |
706 <dd> |
704 <dd> |
707 index of the browser to get |
705 index of the browser to get |
758 </dd> |
756 </dd> |
759 </dl> |
757 </dl> |
760 <a NAME="WebBrowserTabWidget.clearClosedTabsList" ID="WebBrowserTabWidget.clearClosedTabsList"></a> |
758 <a NAME="WebBrowserTabWidget.clearClosedTabsList" ID="WebBrowserTabWidget.clearClosedTabsList"></a> |
761 <h4>WebBrowserTabWidget.clearClosedTabsList</h4> |
759 <h4>WebBrowserTabWidget.clearClosedTabsList</h4> |
762 <b>clearClosedTabsList</b>(<i></i>) |
760 <b>clearClosedTabsList</b>(<i></i>) |
763 |
|
764 <p> |
761 <p> |
765 Public slot to clear the list of closed tabs. |
762 Public slot to clear the list of closed tabs. |
766 </p> |
763 </p> |
|
764 |
767 <a NAME="WebBrowserTabWidget.closeAllBrowsers" ID="WebBrowserTabWidget.closeAllBrowsers"></a> |
765 <a NAME="WebBrowserTabWidget.closeAllBrowsers" ID="WebBrowserTabWidget.closeAllBrowsers"></a> |
768 <h4>WebBrowserTabWidget.closeAllBrowsers</h4> |
766 <h4>WebBrowserTabWidget.closeAllBrowsers</h4> |
769 <b>closeAllBrowsers</b>(<i>shutdown=False</i>) |
767 <b>closeAllBrowsers</b>(<i>shutdown=False</i>) |
770 |
|
771 <p> |
768 <p> |
772 Public slot called to handle the close all action. |
769 Public slot called to handle the close all action. |
773 </p> |
770 </p> |
|
771 |
774 <dl> |
772 <dl> |
775 |
773 |
776 <dt><i>shutdown</i> (bool)</dt> |
774 <dt><i>shutdown</i> (bool)</dt> |
777 <dd> |
775 <dd> |
778 flag indicating a shutdown action |
776 flag indicating a shutdown action |
779 </dd> |
777 </dd> |
780 </dl> |
778 </dl> |
781 <a NAME="WebBrowserTabWidget.closeBrowser" ID="WebBrowserTabWidget.closeBrowser"></a> |
779 <a NAME="WebBrowserTabWidget.closeBrowser" ID="WebBrowserTabWidget.closeBrowser"></a> |
782 <h4>WebBrowserTabWidget.closeBrowser</h4> |
780 <h4>WebBrowserTabWidget.closeBrowser</h4> |
783 <b>closeBrowser</b>(<i></i>) |
781 <b>closeBrowser</b>(<i></i>) |
784 |
|
785 <p> |
782 <p> |
786 Public slot called to handle the close action. |
783 Public slot called to handle the close action. |
787 </p> |
784 </p> |
|
785 |
788 <a NAME="WebBrowserTabWidget.closeBrowserAt" ID="WebBrowserTabWidget.closeBrowserAt"></a> |
786 <a NAME="WebBrowserTabWidget.closeBrowserAt" ID="WebBrowserTabWidget.closeBrowserAt"></a> |
789 <h4>WebBrowserTabWidget.closeBrowserAt</h4> |
787 <h4>WebBrowserTabWidget.closeBrowserAt</h4> |
790 <b>closeBrowserAt</b>(<i>index, shutdown=False</i>) |
788 <b>closeBrowserAt</b>(<i>index, shutdown=False</i>) |
791 |
|
792 <p> |
789 <p> |
793 Public slot to close a browser based on its index. |
790 Public slot to close a browser based on its index. |
794 </p> |
791 </p> |
|
792 |
795 <dl> |
793 <dl> |
796 |
794 |
797 <dt><i>index</i> (int)</dt> |
795 <dt><i>index</i> (int)</dt> |
798 <dd> |
796 <dd> |
799 index of browser to close |
797 index of browser to close |
804 </dd> |
802 </dd> |
805 </dl> |
803 </dl> |
806 <a NAME="WebBrowserTabWidget.closeBrowserView" ID="WebBrowserTabWidget.closeBrowserView"></a> |
804 <a NAME="WebBrowserTabWidget.closeBrowserView" ID="WebBrowserTabWidget.closeBrowserView"></a> |
807 <h4>WebBrowserTabWidget.closeBrowserView</h4> |
805 <h4>WebBrowserTabWidget.closeBrowserView</h4> |
808 <b>closeBrowserView</b>(<i>browser</i>) |
806 <b>closeBrowserView</b>(<i>browser</i>) |
809 |
|
810 <p> |
807 <p> |
811 Public method to close the given browser. |
808 Public method to close the given browser. |
812 </p> |
809 </p> |
|
810 |
813 <dl> |
811 <dl> |
814 |
812 |
815 <dt><i>browser</i> (WebBrowserView)</dt> |
813 <dt><i>browser</i> (WebBrowserView)</dt> |
816 <dd> |
814 <dd> |
817 reference to the web browser view to be closed |
815 reference to the web browser view to be closed |
818 </dd> |
816 </dd> |
819 </dl> |
817 </dl> |
820 <a NAME="WebBrowserTabWidget.closedTabsManager" ID="WebBrowserTabWidget.closedTabsManager"></a> |
818 <a NAME="WebBrowserTabWidget.closedTabsManager" ID="WebBrowserTabWidget.closedTabsManager"></a> |
821 <h4>WebBrowserTabWidget.closedTabsManager</h4> |
819 <h4>WebBrowserTabWidget.closedTabsManager</h4> |
822 <b>closedTabsManager</b>(<i></i>) |
820 <b>closedTabsManager</b>(<i></i>) |
823 |
|
824 <p> |
821 <p> |
825 Public slot to get a reference to the closed tabs manager. |
822 Public slot to get a reference to the closed tabs manager. |
826 </p> |
823 </p> |
|
824 |
827 <dl> |
825 <dl> |
828 <dt>Return:</dt> |
826 <dt>Return:</dt> |
829 <dd> |
827 <dd> |
830 reference to the closed tabs manager |
828 reference to the closed tabs manager |
831 </dd> |
829 </dd> |
1002 </dd> |
1000 </dd> |
1003 </dl> |
1001 </dl> |
1004 <a NAME="WebBrowserTabWidget.preferencesChanged" ID="WebBrowserTabWidget.preferencesChanged"></a> |
1002 <a NAME="WebBrowserTabWidget.preferencesChanged" ID="WebBrowserTabWidget.preferencesChanged"></a> |
1005 <h4>WebBrowserTabWidget.preferencesChanged</h4> |
1003 <h4>WebBrowserTabWidget.preferencesChanged</h4> |
1006 <b>preferencesChanged</b>(<i></i>) |
1004 <b>preferencesChanged</b>(<i></i>) |
1007 |
|
1008 <p> |
1005 <p> |
1009 Public slot to handle a change of preferences. |
1006 Public slot to handle a change of preferences. |
1010 </p> |
1007 </p> |
|
1008 |
1011 <a NAME="WebBrowserTabWidget.printBrowser" ID="WebBrowserTabWidget.printBrowser"></a> |
1009 <a NAME="WebBrowserTabWidget.printBrowser" ID="WebBrowserTabWidget.printBrowser"></a> |
1012 <h4>WebBrowserTabWidget.printBrowser</h4> |
1010 <h4>WebBrowserTabWidget.printBrowser</h4> |
1013 <b>printBrowser</b>(<i>browser=None</i>) |
1011 <b>printBrowser</b>(<i>browser=None</i>) |
1014 |
|
1015 <p> |
1012 <p> |
1016 Public slot called to print the displayed page. |
1013 Public slot called to print the displayed page. |
1017 </p> |
1014 </p> |
|
1015 |
1018 <dl> |
1016 <dl> |
1019 |
1017 |
1020 <dt><i>browser</i> (WebBrowserView)</dt> |
1018 <dt><i>browser</i> (WebBrowserView)</dt> |
1021 <dd> |
1019 <dd> |
1022 reference to the browser to be printed |
1020 reference to the browser to be printed |
1023 </dd> |
1021 </dd> |
1024 </dl> |
1022 </dl> |
1025 <a NAME="WebBrowserTabWidget.printBrowserPdf" ID="WebBrowserTabWidget.printBrowserPdf"></a> |
1023 <a NAME="WebBrowserTabWidget.printBrowserPdf" ID="WebBrowserTabWidget.printBrowserPdf"></a> |
1026 <h4>WebBrowserTabWidget.printBrowserPdf</h4> |
1024 <h4>WebBrowserTabWidget.printBrowserPdf</h4> |
1027 <b>printBrowserPdf</b>(<i>browser=None</i>) |
1025 <b>printBrowserPdf</b>(<i>browser=None</i>) |
1028 |
|
1029 <p> |
1026 <p> |
1030 Public slot called to print the displayed page to PDF. |
1027 Public slot called to print the displayed page to PDF. |
1031 </p> |
1028 </p> |
|
1029 |
1032 <dl> |
1030 <dl> |
1033 |
1031 |
1034 <dt><i>browser</i> (WebBrowserView)</dt> |
1032 <dt><i>browser</i> (WebBrowserView)</dt> |
1035 <dd> |
1033 <dd> |
1036 reference to the browser to be printed |
1034 reference to the browser to be printed |
1037 </dd> |
1035 </dd> |
1038 </dl> |
1036 </dl> |
1039 <a NAME="WebBrowserTabWidget.printPreviewBrowser" ID="WebBrowserTabWidget.printPreviewBrowser"></a> |
1037 <a NAME="WebBrowserTabWidget.printPreviewBrowser" ID="WebBrowserTabWidget.printPreviewBrowser"></a> |
1040 <h4>WebBrowserTabWidget.printPreviewBrowser</h4> |
1038 <h4>WebBrowserTabWidget.printPreviewBrowser</h4> |
1041 <b>printPreviewBrowser</b>(<i>browser=None</i>) |
1039 <b>printPreviewBrowser</b>(<i>browser=None</i>) |
1042 |
|
1043 <p> |
1040 <p> |
1044 Public slot called to show a print preview of the displayed file. |
1041 Public slot called to show a print preview of the displayed file. |
1045 </p> |
1042 </p> |
|
1043 |
1046 <dl> |
1044 <dl> |
1047 |
1045 |
1048 <dt><i>browser</i> (WebBrowserView)</dt> |
1046 <dt><i>browser</i> (WebBrowserView)</dt> |
1049 <dd> |
1047 <dd> |
1050 reference to the browser to be printed |
1048 reference to the browser to be printed |
1051 </dd> |
1049 </dd> |
1052 </dl> |
1050 </dl> |
1053 <a NAME="WebBrowserTabWidget.reloadAllBrowsers" ID="WebBrowserTabWidget.reloadAllBrowsers"></a> |
1051 <a NAME="WebBrowserTabWidget.reloadAllBrowsers" ID="WebBrowserTabWidget.reloadAllBrowsers"></a> |
1054 <h4>WebBrowserTabWidget.reloadAllBrowsers</h4> |
1052 <h4>WebBrowserTabWidget.reloadAllBrowsers</h4> |
1055 <b>reloadAllBrowsers</b>(<i></i>) |
1053 <b>reloadAllBrowsers</b>(<i></i>) |
1056 |
|
1057 <p> |
1054 <p> |
1058 Public slot to reload all browsers. |
1055 Public slot to reload all browsers. |
1059 </p> |
1056 </p> |
|
1057 |
1060 <a NAME="WebBrowserTabWidget.restoreAllClosedTabs" ID="WebBrowserTabWidget.restoreAllClosedTabs"></a> |
1058 <a NAME="WebBrowserTabWidget.restoreAllClosedTabs" ID="WebBrowserTabWidget.restoreAllClosedTabs"></a> |
1061 <h4>WebBrowserTabWidget.restoreAllClosedTabs</h4> |
1059 <h4>WebBrowserTabWidget.restoreAllClosedTabs</h4> |
1062 <b>restoreAllClosedTabs</b>(<i></i>) |
1060 <b>restoreAllClosedTabs</b>(<i></i>) |
1063 |
|
1064 <p> |
1061 <p> |
1065 Public slot to restore all closed tabs. |
1062 Public slot to restore all closed tabs. |
1066 </p> |
1063 </p> |
|
1064 |
1067 <a NAME="WebBrowserTabWidget.restoreClosedTab" ID="WebBrowserTabWidget.restoreClosedTab"></a> |
1065 <a NAME="WebBrowserTabWidget.restoreClosedTab" ID="WebBrowserTabWidget.restoreClosedTab"></a> |
1068 <h4>WebBrowserTabWidget.restoreClosedTab</h4> |
1066 <h4>WebBrowserTabWidget.restoreClosedTab</h4> |
1069 <b>restoreClosedTab</b>(<i>act</i>) |
1067 <b>restoreClosedTab</b>(<i>act</i>) |
1070 |
|
1071 <p> |
1068 <p> |
1072 Public slot to restore the most recently closed tab. |
1069 Public slot to restore the most recently closed tab. |
1073 </p> |
1070 </p> |
|
1071 |
1074 <dl> |
1072 <dl> |
1075 |
1073 |
1076 <dt><i>act</i> (QAction)</dt> |
1074 <dt><i>act</i> (QAction)</dt> |
1077 <dd> |
1075 <dd> |
1078 reference to the action that triggered |
1076 reference to the action that triggered |
1079 </dd> |
1077 </dd> |
1080 </dl> |
1078 </dl> |
1081 <a NAME="WebBrowserTabWidget.shallShutDown" ID="WebBrowserTabWidget.shallShutDown"></a> |
1079 <a NAME="WebBrowserTabWidget.shallShutDown" ID="WebBrowserTabWidget.shallShutDown"></a> |
1082 <h4>WebBrowserTabWidget.shallShutDown</h4> |
1080 <h4>WebBrowserTabWidget.shallShutDown</h4> |
1083 <b>shallShutDown</b>(<i></i>) |
1081 <b>shallShutDown</b>(<i></i>) |
1084 |
|
1085 <p> |
1082 <p> |
1086 Public method to check, if the application should be shut down. |
1083 Public method to check, if the application should be shut down. |
1087 </p> |
1084 </p> |
|
1085 |
1088 <dl> |
1086 <dl> |
1089 <dt>Return:</dt> |
1087 <dt>Return:</dt> |
1090 <dd> |
1088 <dd> |
1091 flag indicating a shut down |
1089 flag indicating a shut down |
1092 </dd> |
1090 </dd> |