108 <h4>TabBar (Constructor)</h4> |
108 <h4>TabBar (Constructor)</h4> |
109 <b>TabBar</b>(<i>parent=None</i>) |
109 <b>TabBar</b>(<i>parent=None</i>) |
110 <p> |
110 <p> |
111 Constructor |
111 Constructor |
112 </p><dl> |
112 </p><dl> |
113 <dt><i>parent</i></dt> |
113 <dt><i>parent</i> (QWidget)</dt> |
114 <dd> |
114 <dd> |
115 reference to the parent widget (QWidget) |
115 reference to the parent widget |
116 </dd> |
116 </dd> |
117 </dl><a NAME="TabBar.dragEnterEvent" ID="TabBar.dragEnterEvent"></a> |
117 </dl><a NAME="TabBar.dragEnterEvent" ID="TabBar.dragEnterEvent"></a> |
118 <h4>TabBar.dragEnterEvent</h4> |
118 <h4>TabBar.dragEnterEvent</h4> |
119 <b>dragEnterEvent</b>(<i>event</i>) |
119 <b>dragEnterEvent</b>(<i>event</i>) |
120 <p> |
120 <p> |
121 Protected method to handle drag enter events. |
121 Protected method to handle drag enter events. |
122 </p><dl> |
122 </p><dl> |
123 <dt><i>event</i></dt> |
123 <dt><i>event</i> (QDragEnterEvent)</dt> |
124 <dd> |
124 <dd> |
125 reference to the drag enter event (QDragEnterEvent) |
125 reference to the drag enter event |
126 </dd> |
126 </dd> |
127 </dl><a NAME="TabBar.dropEvent" ID="TabBar.dropEvent"></a> |
127 </dl><a NAME="TabBar.dropEvent" ID="TabBar.dropEvent"></a> |
128 <h4>TabBar.dropEvent</h4> |
128 <h4>TabBar.dropEvent</h4> |
129 <b>dropEvent</b>(<i>event</i>) |
129 <b>dropEvent</b>(<i>event</i>) |
130 <p> |
130 <p> |
131 Protected method to handle drop events. |
131 Protected method to handle drop events. |
132 </p><dl> |
132 </p><dl> |
133 <dt><i>event</i></dt> |
133 <dt><i>event</i> (QDropEvent)</dt> |
134 <dd> |
134 <dd> |
135 reference to the drop event (QDropEvent) |
135 reference to the drop event |
136 </dd> |
136 </dd> |
137 </dl><a NAME="TabBar.mouseMoveEvent" ID="TabBar.mouseMoveEvent"></a> |
137 </dl><a NAME="TabBar.mouseMoveEvent" ID="TabBar.mouseMoveEvent"></a> |
138 <h4>TabBar.mouseMoveEvent</h4> |
138 <h4>TabBar.mouseMoveEvent</h4> |
139 <b>mouseMoveEvent</b>(<i>event</i>) |
139 <b>mouseMoveEvent</b>(<i>event</i>) |
140 <p> |
140 <p> |
141 Protected method to handle mouse move events. |
141 Protected method to handle mouse move events. |
142 </p><dl> |
142 </p><dl> |
143 <dt><i>event</i></dt> |
143 <dt><i>event</i> (QMouseEvent)</dt> |
144 <dd> |
144 <dd> |
145 reference to the mouse move event (QMouseEvent) |
145 reference to the mouse move event |
146 </dd> |
146 </dd> |
147 </dl><a NAME="TabBar.mousePressEvent" ID="TabBar.mousePressEvent"></a> |
147 </dl><a NAME="TabBar.mousePressEvent" ID="TabBar.mousePressEvent"></a> |
148 <h4>TabBar.mousePressEvent</h4> |
148 <h4>TabBar.mousePressEvent</h4> |
149 <b>mousePressEvent</b>(<i>event</i>) |
149 <b>mousePressEvent</b>(<i>event</i>) |
150 <p> |
150 <p> |
151 Protected method to handle mouse press events. |
151 Protected method to handle mouse press events. |
152 </p><dl> |
152 </p><dl> |
153 <dt><i>event</i></dt> |
153 <dt><i>event</i> (QMouseEvent)</dt> |
154 <dd> |
154 <dd> |
155 reference to the mouse press event (QMouseEvent) |
155 reference to the mouse press event |
156 </dd> |
156 </dd> |
157 </dl> |
157 </dl> |
158 <div align="right"><a href="#top">Up</a></div> |
158 <div align="right"><a href="#top">Up</a></div> |
159 <hr /><hr /> |
159 <hr /><hr /> |
160 <a NAME="TabWidget" ID="TabWidget"></a> |
160 <a NAME="TabWidget" ID="TabWidget"></a> |
289 <h4>TabWidget (Constructor)</h4> |
289 <h4>TabWidget (Constructor)</h4> |
290 <b>TabWidget</b>(<i>vm</i>) |
290 <b>TabWidget</b>(<i>vm</i>) |
291 <p> |
291 <p> |
292 Constructor |
292 Constructor |
293 </p><dl> |
293 </p><dl> |
294 <dt><i>vm</i></dt> |
294 <dt><i>vm</i> (Tabview)</dt> |
295 <dd> |
295 <dd> |
296 view manager widget (Tabview) |
296 view manager widget |
297 </dd> |
297 </dd> |
298 </dl><a NAME="TabWidget.__captionChange" ID="TabWidget.__captionChange"></a> |
298 </dl><a NAME="TabWidget.__captionChange" ID="TabWidget.__captionChange"></a> |
299 <h4>TabWidget.__captionChange</h4> |
299 <h4>TabWidget.__captionChange</h4> |
300 <b>__captionChange</b>(<i>cap, editor</i>) |
300 <b>__captionChange</b>(<i>cap, editor</i>) |
301 <p> |
301 <p> |
302 Private slot to handle Caption change signals from the editor. |
302 Private slot to handle Caption change signals from the editor. |
303 </p><p> |
303 </p><p> |
304 Updates the tab text and tooltip text to reflect the new caption |
304 Updates the tab text and tooltip text to reflect the new caption |
305 information. |
305 information. |
306 </p><dl> |
306 </p><dl> |
307 <dt><i>cap</i></dt> |
307 <dt><i>cap</i> (str)</dt> |
308 <dd> |
308 <dd> |
309 Caption for the editor |
309 Caption for the editor |
310 </dd><dt><i>editor</i></dt> |
310 </dd><dt><i>editor</i> (Editor)</dt> |
311 <dd> |
311 <dd> |
312 Editor to update the caption for |
312 Editor to update the caption for |
313 </dd> |
313 </dd> |
314 </dl><a NAME="TabWidget.__closeButtonClicked" ID="TabWidget.__closeButtonClicked"></a> |
314 </dl><a NAME="TabWidget.__closeButtonClicked" ID="TabWidget.__closeButtonClicked"></a> |
315 <h4>TabWidget.__closeButtonClicked</h4> |
315 <h4>TabWidget.__closeButtonClicked</h4> |
397 <h4>TabWidget.__copyTab</h4> |
397 <h4>TabWidget.__copyTab</h4> |
398 <b>__copyTab</b>(<i>sourceIndex, targetIndex</i>) |
398 <b>__copyTab</b>(<i>sourceIndex, targetIndex</i>) |
399 <p> |
399 <p> |
400 Private method to copy an editor. |
400 Private method to copy an editor. |
401 </p><dl> |
401 </p><dl> |
402 <dt><i>sourceIndex</i></dt> |
402 <dt><i>sourceIndex</i> (int)</dt> |
403 <dd> |
403 <dd> |
404 index of the tab (integer) |
404 index of the tab |
405 </dd><dt><i>targetIndex</i></dt> |
405 </dd><dt><i>targetIndex</i> (int)</dt> |
406 <dd> |
406 <dd> |
407 index position to place it to (integer) |
407 index position to place it to |
408 </dd> |
408 </dd> |
409 </dl><a NAME="TabWidget.__copyTabOther" ID="TabWidget.__copyTabOther"></a> |
409 </dl><a NAME="TabWidget.__copyTabOther" ID="TabWidget.__copyTabOther"></a> |
410 <h4>TabWidget.__copyTabOther</h4> |
410 <h4>TabWidget.__copyTabOther</h4> |
411 <b>__copyTabOther</b>(<i>sourceId, sourceIndex, targetIndex</i>) |
411 <b>__copyTabOther</b>(<i>sourceId, sourceIndex, targetIndex</i>) |
412 <p> |
412 <p> |
413 Private method to copy an editor from another TabWidget. |
413 Private method to copy an editor from another TabWidget. |
414 </p><dl> |
414 </p><dl> |
415 <dt><i>sourceId</i></dt> |
415 <dt><i>sourceId</i> (str)</dt> |
416 <dd> |
416 <dd> |
417 id of the TabWidget to get the editor from (string) |
417 id of the TabWidget to get the editor from |
418 </dd><dt><i>sourceIndex</i></dt> |
418 </dd><dt><i>sourceIndex</i> (int)</dt> |
419 <dd> |
419 <dd> |
420 index of the tab in the old tab widget (integer) |
420 index of the tab in the old tab widget |
421 </dd><dt><i>targetIndex</i></dt> |
421 </dd><dt><i>targetIndex</i> (int)</dt> |
422 <dd> |
422 <dd> |
423 index position to place it to (integer) |
423 index position to place it to |
424 </dd> |
424 </dd> |
425 </dl><a NAME="TabWidget.__cursorLineChanged" ID="TabWidget.__cursorLineChanged"></a> |
425 </dl><a NAME="TabWidget.__cursorLineChanged" ID="TabWidget.__cursorLineChanged"></a> |
426 <h4>TabWidget.__cursorLineChanged</h4> |
426 <h4>TabWidget.__cursorLineChanged</h4> |
427 <b>__cursorLineChanged</b>(<i>lineno</i>) |
427 <b>__cursorLineChanged</b>(<i>lineno</i>) |
428 <p> |
428 <p> |
429 Private slot to handle a change of the current editor's cursor line. |
429 Private slot to handle a change of the current editor's cursor line. |
430 </p><dl> |
430 </p><dl> |
431 <dt><i>lineno</i></dt> |
431 <dt><i>lineno</i> (int)</dt> |
432 <dd> |
432 <dd> |
433 line number of the current editor's cursor (zero based) |
433 line number of the current editor's cursor (zero based) |
434 </dd> |
434 </dd> |
435 </dl><a NAME="TabWidget.__initMenu" ID="TabWidget.__initMenu"></a> |
435 </dl><a NAME="TabWidget.__initMenu" ID="TabWidget.__initMenu"></a> |
436 <h4>TabWidget.__initMenu</h4> |
436 <h4>TabWidget.__initMenu</h4> |
441 <h4>TabWidget.__navigationMenuTriggered</h4> |
441 <h4>TabWidget.__navigationMenuTriggered</h4> |
442 <b>__navigationMenuTriggered</b>(<i>act</i>) |
442 <b>__navigationMenuTriggered</b>(<i>act</i>) |
443 <p> |
443 <p> |
444 Private slot called to handle the navigation button menu selection. |
444 Private slot called to handle the navigation button menu selection. |
445 </p><dl> |
445 </p><dl> |
446 <dt><i>act</i></dt> |
446 <dt><i>act</i> (QAction)</dt> |
447 <dd> |
447 <dd> |
448 reference to the selected action (QAction) |
448 reference to the selected action |
449 </dd> |
449 </dd> |
450 </dl><a NAME="TabWidget.__relocateTab" ID="TabWidget.__relocateTab"></a> |
450 </dl><a NAME="TabWidget.__relocateTab" ID="TabWidget.__relocateTab"></a> |
451 <h4>TabWidget.__relocateTab</h4> |
451 <h4>TabWidget.__relocateTab</h4> |
452 <b>__relocateTab</b>(<i>sourceId, sourceIndex, targetIndex</i>) |
452 <b>__relocateTab</b>(<i>sourceId, sourceIndex, targetIndex</i>) |
453 <p> |
453 <p> |
454 Private method to relocate an editor from another TabWidget. |
454 Private method to relocate an editor from another TabWidget. |
455 </p><dl> |
455 </p><dl> |
456 <dt><i>sourceId</i></dt> |
456 <dt><i>sourceId</i> (str)</dt> |
457 <dd> |
457 <dd> |
458 id of the TabWidget to get the editor from (string) |
458 id of the TabWidget to get the editor from |
459 </dd><dt><i>sourceIndex</i></dt> |
459 </dd><dt><i>sourceIndex</i> (int)</dt> |
460 <dd> |
460 <dd> |
461 index of the tab in the old tab widget (integer) |
461 index of the tab in the old tab widget |
462 </dd><dt><i>targetIndex</i></dt> |
462 </dd><dt><i>targetIndex</i> (int)</dt> |
463 <dd> |
463 <dd> |
464 index position to place it to (integer) |
464 index position to place it to |
465 </dd> |
465 </dd> |
466 </dl><a NAME="TabWidget.__showContextMenu" ID="TabWidget.__showContextMenu"></a> |
466 </dl><a NAME="TabWidget.__showContextMenu" ID="TabWidget.__showContextMenu"></a> |
467 <h4>TabWidget.__showContextMenu</h4> |
467 <h4>TabWidget.__showContextMenu</h4> |
468 <b>__showContextMenu</b>(<i>coord, index</i>) |
468 <b>__showContextMenu</b>(<i>coord, index</i>) |
469 <p> |
469 <p> |
470 Private slot to show the tab context menu. |
470 Private slot to show the tab context menu. |
471 </p><dl> |
471 </p><dl> |
472 <dt><i>coord</i></dt> |
472 <dt><i>coord</i> (QPoint)</dt> |
473 <dd> |
473 <dd> |
474 the position of the mouse pointer (QPoint) |
474 the position of the mouse pointer |
475 </dd><dt><i>index</i></dt> |
475 </dd><dt><i>index</i> (int)</dt> |
476 <dd> |
476 <dd> |
477 index of the tab the menu is requested for (integer) |
477 index of the tab the menu is requested for |
478 </dd> |
478 </dd> |
479 </dl><a NAME="TabWidget.__showNavigationMenu" ID="TabWidget.__showNavigationMenu"></a> |
479 </dl><a NAME="TabWidget.__showNavigationMenu" ID="TabWidget.__showNavigationMenu"></a> |
480 <h4>TabWidget.__showNavigationMenu</h4> |
480 <h4>TabWidget.__showNavigationMenu</h4> |
481 <b>__showNavigationMenu</b>(<i></i>) |
481 <b>__showNavigationMenu</b>(<i></i>) |
482 <p> |
482 <p> |
485 <h4>TabWidget.addTab</h4> |
485 <h4>TabWidget.addTab</h4> |
486 <b>addTab</b>(<i>assembly, title</i>) |
486 <b>addTab</b>(<i>assembly, title</i>) |
487 <p> |
487 <p> |
488 Public method to add a new tab. |
488 Public method to add a new tab. |
489 </p><dl> |
489 </p><dl> |
490 <dt><i>assembly</i></dt> |
490 <dt><i>assembly</i> (QScintilla.EditorAssembly.EditorAssembly)</dt> |
491 <dd> |
491 <dd> |
492 editor assembly object to be added |
492 editor assembly object to be added |
493 (QScintilla.EditorAssembly.EditorAssembly) |
493 </dd><dt><i>title</i> (str)</dt> |
494 </dd><dt><i>title</i></dt> |
494 <dd> |
495 <dd> |
495 title for the new tab |
496 title for the new tab (string) |
|
497 </dd> |
496 </dd> |
498 </dl><a NAME="TabWidget.currentWidget" ID="TabWidget.currentWidget"></a> |
497 </dl><a NAME="TabWidget.currentWidget" ID="TabWidget.currentWidget"></a> |
499 <h4>TabWidget.currentWidget</h4> |
498 <h4>TabWidget.currentWidget</h4> |
500 <b>currentWidget</b>(<i></i>) |
499 <b>currentWidget</b>(<i></i>) |
501 <p> |
500 <p> |
502 Public method to return a reference to the current page. |
501 Public method to return a reference to the current page. |
503 </p><dl> |
502 </p><dl> |
504 <dt>Returns:</dt> |
503 <dt>Returns:</dt> |
505 <dd> |
504 <dd> |
506 reference to the current page (Editor) |
505 reference to the current page |
|
506 </dd> |
|
507 </dl><dl> |
|
508 <dt>Return Type:</dt> |
|
509 <dd> |
|
510 Editor |
507 </dd> |
511 </dd> |
508 </dl><a NAME="TabWidget.hasEditor" ID="TabWidget.hasEditor"></a> |
512 </dl><a NAME="TabWidget.hasEditor" ID="TabWidget.hasEditor"></a> |
509 <h4>TabWidget.hasEditor</h4> |
513 <h4>TabWidget.hasEditor</h4> |
510 <b>hasEditor</b>(<i>editor</i>) |
514 <b>hasEditor</b>(<i>editor</i>) |
511 <p> |
515 <p> |
512 Public method to check for an editor. |
516 Public method to check for an editor. |
513 </p><dl> |
517 </p><dl> |
514 <dt><i>editor</i></dt> |
518 <dt><i>editor</i> (Editor)</dt> |
515 <dd> |
519 <dd> |
516 editor object to check for |
520 editor object to check for |
517 </dd> |
521 </dd> |
518 </dl><dl> |
522 </dl><dl> |
519 <dt>Returns:</dt> |
523 <dt>Returns:</dt> |
520 <dd> |
524 <dd> |
521 flag indicating, whether the editor to be checked belongs |
525 flag indicating, whether the editor to be checked belongs |
522 to the list of editors managed by this tab widget. |
526 to the list of editors managed by this tab widget. |
|
527 </dd> |
|
528 </dl><dl> |
|
529 <dt>Return Type:</dt> |
|
530 <dd> |
|
531 bool |
523 </dd> |
532 </dd> |
524 </dl><a NAME="TabWidget.hasEditors" ID="TabWidget.hasEditors"></a> |
533 </dl><a NAME="TabWidget.hasEditors" ID="TabWidget.hasEditors"></a> |
525 <h4>TabWidget.hasEditors</h4> |
534 <h4>TabWidget.hasEditors</h4> |
526 <b>hasEditors</b>(<i></i>) |
535 <b>hasEditors</b>(<i></i>) |
527 <p> |
536 <p> |
529 </p><dl> |
538 </p><dl> |
530 <dt>Returns:</dt> |
539 <dt>Returns:</dt> |
531 <dd> |
540 <dd> |
532 flag indicating editors are managed |
541 flag indicating editors are managed |
533 </dd> |
542 </dd> |
|
543 </dl><dl> |
|
544 <dt>Return Type:</dt> |
|
545 <dd> |
|
546 bool |
|
547 </dd> |
534 </dl><a NAME="TabWidget.indexOf" ID="TabWidget.indexOf"></a> |
548 </dl><a NAME="TabWidget.indexOf" ID="TabWidget.indexOf"></a> |
535 <h4>TabWidget.indexOf</h4> |
549 <h4>TabWidget.indexOf</h4> |
536 <b>indexOf</b>(<i>widget</i>) |
550 <b>indexOf</b>(<i>widget</i>) |
537 <p> |
551 <p> |
538 Public method to get the tab index of the given editor. |
552 Public method to get the tab index of the given editor. |
539 </p><dl> |
553 </p><dl> |
540 <dt><i>widget</i></dt> |
554 <dt><i>widget</i> (QLabel or Editor)</dt> |
541 <dd> |
555 <dd> |
542 widget to get the index for (QLabel or Editor) |
556 widget to get the index for |
543 </dd> |
557 </dd> |
544 </dl><dl> |
558 </dl><dl> |
545 <dt>Returns:</dt> |
559 <dt>Returns:</dt> |
546 <dd> |
560 <dd> |
547 tab index of the editor (integer) |
561 tab index of the editor |
|
562 </dd> |
|
563 </dl><dl> |
|
564 <dt>Return Type:</dt> |
|
565 <dd> |
|
566 int |
548 </dd> |
567 </dd> |
549 </dl><a NAME="TabWidget.insertWidget" ID="TabWidget.insertWidget"></a> |
568 </dl><a NAME="TabWidget.insertWidget" ID="TabWidget.insertWidget"></a> |
550 <h4>TabWidget.insertWidget</h4> |
569 <h4>TabWidget.insertWidget</h4> |
551 <b>insertWidget</b>(<i>index, assembly, title</i>) |
570 <b>insertWidget</b>(<i>index, assembly, title</i>) |
552 <p> |
571 <p> |
553 Public method to insert a new tab. |
572 Public method to insert a new tab. |
554 </p><dl> |
573 </p><dl> |
555 <dt><i>index</i></dt> |
574 <dt><i>index</i> (int)</dt> |
556 <dd> |
575 <dd> |
557 index position for the new tab (integer) |
576 index position for the new tab |
558 </dd><dt><i>assembly</i></dt> |
577 </dd><dt><i>assembly</i> (QScintilla.EditorAssembly.EditorAssembly)</dt> |
559 <dd> |
578 <dd> |
560 editor assembly object to be added |
579 editor assembly object to be added |
561 (QScintilla.EditorAssembly.EditorAssembly) |
580 </dd><dt><i>title</i> (str)</dt> |
562 </dd><dt><i>title</i></dt> |
581 <dd> |
563 <dd> |
582 title for the new tab |
564 title for the new tab (string) |
583 </dd> |
565 </dd> |
584 </dl><dl> |
566 </dl><dl> |
585 <dt>Returns:</dt> |
567 <dt>Returns:</dt> |
586 <dd> |
568 <dd> |
587 index of the inserted tab |
569 index of the inserted tab (integer) |
588 </dd> |
|
589 </dl><dl> |
|
590 <dt>Return Type:</dt> |
|
591 <dd> |
|
592 int |
570 </dd> |
593 </dd> |
571 </dl><a NAME="TabWidget.mouseDoubleClickEvent" ID="TabWidget.mouseDoubleClickEvent"></a> |
594 </dl><a NAME="TabWidget.mouseDoubleClickEvent" ID="TabWidget.mouseDoubleClickEvent"></a> |
572 <h4>TabWidget.mouseDoubleClickEvent</h4> |
595 <h4>TabWidget.mouseDoubleClickEvent</h4> |
573 <b>mouseDoubleClickEvent</b>(<i>event</i>) |
596 <b>mouseDoubleClickEvent</b>(<i>event</i>) |
574 <p> |
597 <p> |
582 <h4>TabWidget.removeWidget</h4> |
605 <h4>TabWidget.removeWidget</h4> |
583 <b>removeWidget</b>(<i>widget</i>) |
606 <b>removeWidget</b>(<i>widget</i>) |
584 <p> |
607 <p> |
585 Public method to remove a widget. |
608 Public method to remove a widget. |
586 </p><dl> |
609 </p><dl> |
587 <dt><i>widget</i></dt> |
610 <dt><i>widget</i> (QWidget)</dt> |
588 <dd> |
611 <dd> |
589 widget to be removed (QWidget) |
612 widget to be removed |
590 </dd> |
613 </dd> |
591 </dl><a NAME="TabWidget.setCurrentWidget" ID="TabWidget.setCurrentWidget"></a> |
614 </dl><a NAME="TabWidget.setCurrentWidget" ID="TabWidget.setCurrentWidget"></a> |
592 <h4>TabWidget.setCurrentWidget</h4> |
615 <h4>TabWidget.setCurrentWidget</h4> |
593 <b>setCurrentWidget</b>(<i>assembly</i>) |
616 <b>setCurrentWidget</b>(<i>assembly</i>) |
594 <p> |
617 <p> |
595 Public method to set the current tab by the given editor assembly. |
618 Public method to set the current tab by the given editor assembly. |
596 </p><dl> |
619 </p><dl> |
597 <dt><i>assembly</i></dt> |
620 <dt><i>assembly</i> (EditorAssembly.EditorAssembly)</dt> |
598 <dd> |
621 <dd> |
599 editor assembly to determine current tab from |
622 editor assembly to determine current tab from |
600 (EditorAssembly.EditorAssembly) |
|
601 </dd> |
623 </dd> |
602 </dl><a NAME="TabWidget.showIndicator" ID="TabWidget.showIndicator"></a> |
624 </dl><a NAME="TabWidget.showIndicator" ID="TabWidget.showIndicator"></a> |
603 <h4>TabWidget.showIndicator</h4> |
625 <h4>TabWidget.showIndicator</h4> |
604 <b>showIndicator</b>(<i>on</i>) |
626 <b>showIndicator</b>(<i>on</i>) |
605 <p> |
627 <p> |
606 Public slot to set the indicator on or off. |
628 Public slot to set the indicator on or off. |
607 </p><dl> |
629 </p><dl> |
608 <dt><i>on</i></dt> |
630 <dt><i>on</i> (bool)</dt> |
609 <dd> |
631 <dd> |
610 flag indicating the dtate of the indicator (boolean) |
632 flag indicating the state of the indicator |
611 </dd> |
633 </dd> |
612 </dl> |
634 </dl> |
613 <div align="right"><a href="#top">Up</a></div> |
635 <div align="right"><a href="#top">Up</a></div> |
614 <hr /><hr /> |
636 <hr /><hr /> |
615 <a NAME="Tabview" ID="Tabview"></a> |
637 <a NAME="Tabview" ID="Tabview"></a> |
749 <td>Public method to cascade the managed windows.</td> |
771 <td>Public method to cascade the managed windows.</td> |
750 </tr><tr> |
772 </tr><tr> |
751 <td><a href="#Tabview.eventFilter">eventFilter</a></td> |
773 <td><a href="#Tabview.eventFilter">eventFilter</a></td> |
752 <td>Public method called to filter the event queue.</td> |
774 <td>Public method called to filter the event queue.</td> |
753 </tr><tr> |
775 </tr><tr> |
|
776 <td><a href="#Tabview.getOpenEditorsForSession">getOpenEditorsForSession</a></td> |
|
777 <td>Public method to get a lists of all open editors.</td> |
|
778 </tr><tr> |
754 <td><a href="#Tabview.getSplitOrientation">getSplitOrientation</a></td> |
779 <td><a href="#Tabview.getSplitOrientation">getSplitOrientation</a></td> |
755 <td>Public method to get the orientation of the split view.</td> |
780 <td>Public method to get the orientation of the split view.</td> |
756 </tr><tr> |
781 </tr><tr> |
757 <td><a href="#Tabview.getTabWidgetById">getTabWidgetById</a></td> |
782 <td><a href="#Tabview.getTabWidgetById">getTabWidgetById</a></td> |
758 <td>Public method to get a reference to a tab widget knowing its ID.</td> |
783 <td>Public method to get a reference to a tab widget knowing its ID.</td> |
771 </tr><tr> |
796 </tr><tr> |
772 <td><a href="#Tabview.prevSplit">prevSplit</a></td> |
797 <td><a href="#Tabview.prevSplit">prevSplit</a></td> |
773 <td>Public slot used to move to the previous split.</td> |
798 <td>Public slot used to move to the previous split.</td> |
774 </tr><tr> |
799 </tr><tr> |
775 <td><a href="#Tabview.removeSplit">removeSplit</a></td> |
800 <td><a href="#Tabview.removeSplit">removeSplit</a></td> |
776 <td>Public method used to remove the current split view.</td> |
801 <td>Public method used to remove the current split view or a split view by index.</td> |
777 </tr><tr> |
802 </tr><tr> |
778 <td><a href="#Tabview.setEditorName">setEditorName</a></td> |
803 <td><a href="#Tabview.setEditorName">setEditorName</a></td> |
779 <td>Public method to change the displayed name of the editor.</td> |
804 <td>Public method to change the displayed name of the editor.</td> |
780 </tr><tr> |
805 </tr><tr> |
|
806 <td><a href="#Tabview.setSplitCount">setSplitCount</a></td> |
|
807 <td>Public method to set the number of split views.</td> |
|
808 </tr><tr> |
781 <td><a href="#Tabview.setSplitOrientation">setSplitOrientation</a></td> |
809 <td><a href="#Tabview.setSplitOrientation">setSplitOrientation</a></td> |
782 <td>Public method used to set the orientation of the split view.</td> |
810 <td>Public method used to set the orientation of the split view.</td> |
783 </tr><tr> |
811 </tr><tr> |
784 <td><a href="#Tabview.showWindowMenu">showWindowMenu</a></td> |
812 <td><a href="#Tabview.showWindowMenu">showWindowMenu</a></td> |
785 <td>Public method to set up the viewmanager part of the Window menu.</td> |
813 <td>Public method to set up the viewmanager part of the Window menu.</td> |
|
814 </tr><tr> |
|
815 <td><a href="#Tabview.splitCount">splitCount</a></td> |
|
816 <td>Public method to get the number of splitted views.</td> |
786 </tr><tr> |
817 </tr><tr> |
787 <td><a href="#Tabview.tile">tile</a></td> |
818 <td><a href="#Tabview.tile">tile</a></td> |
788 <td>Public method to tile the managed windows.</td> |
819 <td>Public method to tile the managed windows.</td> |
789 </tr> |
820 </tr> |
790 </table> |
821 </table> |
796 <h4>Tabview (Constructor)</h4> |
827 <h4>Tabview (Constructor)</h4> |
797 <b>Tabview</b>(<i>parent</i>) |
828 <b>Tabview</b>(<i>parent</i>) |
798 <p> |
829 <p> |
799 Constructor |
830 Constructor |
800 </p><dl> |
831 </p><dl> |
801 <dt><i>parent</i></dt> |
832 <dt><i>parent</i> (QWidget)</dt> |
802 <dd> |
833 <dd> |
803 parent widget (QWidget) |
834 parent widget |
804 </dd> |
835 </dd> |
805 </dl><a NAME="Tabview.__currentChanged" ID="Tabview.__currentChanged"></a> |
836 </dl><a NAME="Tabview.__currentChanged" ID="Tabview.__currentChanged"></a> |
806 <h4>Tabview.__currentChanged</h4> |
837 <h4>Tabview.__currentChanged</h4> |
807 <b>__currentChanged</b>(<i>index</i>) |
838 <b>__currentChanged</b>(<i>index</i>) |
808 <p> |
839 <p> |
809 Private slot to handle the currentChanged signal. |
840 Private slot to handle the currentChanged signal. |
810 </p><dl> |
841 </p><dl> |
811 <dt><i>index</i></dt> |
842 <dt><i>index</i> (int)</dt> |
812 <dd> |
843 <dd> |
813 index of the current tab (integer) |
844 index of the current tab |
814 </dd> |
845 </dd> |
815 </dl><a NAME="Tabview._addView" ID="Tabview._addView"></a> |
846 </dl><a NAME="Tabview._addView" ID="Tabview._addView"></a> |
816 <h4>Tabview._addView</h4> |
847 <h4>Tabview._addView</h4> |
817 <b>_addView</b>(<i>win, fn=None, noName="", addNext=False</i>) |
848 <b>_addView</b>(<i>win, fn=None, noName="", addNext=False, indexes=None</i>) |
818 <p> |
849 <p> |
819 Protected method to add a view (i.e. window). |
850 Protected method to add a view (i.e. window). |
820 </p><dl> |
851 </p><dl> |
821 <dt><i>win</i></dt> |
852 <dt><i>win</i> (EditorAssembly)</dt> |
822 <dd> |
853 <dd> |
823 editor assembly to be added |
854 editor assembly to be added |
824 </dd><dt><i>fn</i></dt> |
855 </dd><dt><i>fn</i> (str)</dt> |
825 <dd> |
856 <dd> |
826 filename of this editor (string) |
857 filename of this editor |
827 </dd><dt><i>noName</i></dt> |
858 </dd><dt><i>noName</i> (str)</dt> |
828 <dd> |
859 <dd> |
829 name to be used for an unnamed editor (string) |
860 name to be used for an unnamed editor |
830 </dd><dt><i>addNext</i></dt> |
861 </dd><dt><i>addNext</i> (bool)</dt> |
831 <dd> |
862 <dd> |
832 flag indicating to add the view next to the current |
863 flag indicating to add the view next to the current |
833 view (bool) |
864 view |
|
865 </dd><dt><i>indexes</i> (tuple of two int)</dt> |
|
866 <dd> |
|
867 of the editor, first the split view index, second the |
|
868 index within the view |
834 </dd> |
869 </dd> |
835 </dl><a NAME="Tabview._initWindowActions" ID="Tabview._initWindowActions"></a> |
870 </dl><a NAME="Tabview._initWindowActions" ID="Tabview._initWindowActions"></a> |
836 <h4>Tabview._initWindowActions</h4> |
871 <h4>Tabview._initWindowActions</h4> |
837 <b>_initWindowActions</b>(<i></i>) |
872 <b>_initWindowActions</b>(<i></i>) |
838 <p> |
873 <p> |
842 <h4>Tabview._modificationStatusChanged</h4> |
877 <h4>Tabview._modificationStatusChanged</h4> |
843 <b>_modificationStatusChanged</b>(<i>m, editor</i>) |
878 <b>_modificationStatusChanged</b>(<i>m, editor</i>) |
844 <p> |
879 <p> |
845 Protected slot to handle the modificationStatusChanged signal. |
880 Protected slot to handle the modificationStatusChanged signal. |
846 </p><dl> |
881 </p><dl> |
847 <dt><i>m</i></dt> |
882 <dt><i>m</i> (bool)</dt> |
848 <dd> |
883 <dd> |
849 flag indicating the modification status (boolean) |
884 flag indicating the modification status |
850 </dd><dt><i>editor</i></dt> |
885 </dd><dt><i>editor</i> (Editor)</dt> |
851 <dd> |
886 <dd> |
852 editor window changed |
887 editor window changed |
853 </dd> |
888 </dd> |
854 </dl><a NAME="Tabview._removeAllViews" ID="Tabview._removeAllViews"></a> |
889 </dl><a NAME="Tabview._removeAllViews" ID="Tabview._removeAllViews"></a> |
855 <h4>Tabview._removeAllViews</h4> |
890 <h4>Tabview._removeAllViews</h4> |
860 <h4>Tabview._removeView</h4> |
895 <h4>Tabview._removeView</h4> |
861 <b>_removeView</b>(<i>win</i>) |
896 <b>_removeView</b>(<i>win</i>) |
862 <p> |
897 <p> |
863 Protected method to remove a view (i.e. window). |
898 Protected method to remove a view (i.e. window). |
864 </p><dl> |
899 </p><dl> |
865 <dt><i>win</i></dt> |
900 <dt><i>win</i> (Editor)</dt> |
866 <dd> |
901 <dd> |
867 editor window to be removed |
902 editor window to be removed |
868 </dd> |
903 </dd> |
869 </dl><a NAME="Tabview._showView" ID="Tabview._showView"></a> |
904 </dl><a NAME="Tabview._showView" ID="Tabview._showView"></a> |
870 <h4>Tabview._showView</h4> |
905 <h4>Tabview._showView</h4> |
871 <b>_showView</b>(<i>win, fn=None</i>) |
906 <b>_showView</b>(<i>win, fn=None</i>) |
872 <p> |
907 <p> |
873 Protected method to show a view (i.e. window). |
908 Protected method to show a view (i.e. window). |
874 </p><dl> |
909 </p><dl> |
875 <dt><i>win</i></dt> |
910 <dt><i>win</i> (EditorAssembly)</dt> |
876 <dd> |
911 <dd> |
877 editor assembly to be shown |
912 editor assembly to be shown |
878 </dd><dt><i>fn</i></dt> |
913 </dd><dt><i>fn</i> (str)</dt> |
879 <dd> |
914 <dd> |
880 filename of this editor (string) |
915 filename of this editor |
881 </dd> |
916 </dd> |
882 </dl><a NAME="Tabview._syntaxErrorToggled" ID="Tabview._syntaxErrorToggled"></a> |
917 </dl><a NAME="Tabview._syntaxErrorToggled" ID="Tabview._syntaxErrorToggled"></a> |
883 <h4>Tabview._syntaxErrorToggled</h4> |
918 <h4>Tabview._syntaxErrorToggled</h4> |
884 <b>_syntaxErrorToggled</b>(<i>editor</i>) |
919 <b>_syntaxErrorToggled</b>(<i>editor</i>) |
885 <p> |
920 <p> |
886 Protected slot to handle the syntaxerrorToggled signal. |
921 Protected slot to handle the syntaxerrorToggled signal. |
887 </p><dl> |
922 </p><dl> |
888 <dt><i>editor</i></dt> |
923 <dt><i>editor</i> (Editor)</dt> |
889 <dd> |
924 <dd> |
890 editor that sent the signal |
925 editor that sent the signal |
891 </dd> |
926 </dd> |
892 </dl><a NAME="Tabview.activeWindow" ID="Tabview.activeWindow"></a> |
927 </dl><a NAME="Tabview.activeWindow" ID="Tabview.activeWindow"></a> |
893 <h4>Tabview.activeWindow</h4> |
928 <h4>Tabview.activeWindow</h4> |
912 </p><dl> |
952 </p><dl> |
913 <dt>Returns:</dt> |
953 <dt>Returns:</dt> |
914 <dd> |
954 <dd> |
915 flag indicating cascading of windows is available |
955 flag indicating cascading of windows is available |
916 </dd> |
956 </dd> |
|
957 </dl><dl> |
|
958 <dt>Return Type:</dt> |
|
959 <dd> |
|
960 bool |
|
961 </dd> |
917 </dl><a NAME="Tabview.canSplit" ID="Tabview.canSplit"></a> |
962 </dl><a NAME="Tabview.canSplit" ID="Tabview.canSplit"></a> |
918 <h4>Tabview.canSplit</h4> |
963 <h4>Tabview.canSplit</h4> |
919 <b>canSplit</b>(<i></i>) |
964 <b>canSplit</b>(<i></i>) |
920 <p> |
965 <p> |
921 public method to signal if splitting of the view is available. |
966 public method to signal if splitting of the view is available. |
922 </p><dl> |
967 </p><dl> |
923 <dt>Returns:</dt> |
968 <dt>Returns:</dt> |
924 <dd> |
969 <dd> |
925 flag indicating splitting of the view is available. |
970 flag indicating splitting of the view is available. |
926 </dd> |
971 </dd> |
|
972 </dl><dl> |
|
973 <dt>Return Type:</dt> |
|
974 <dd> |
|
975 bool |
|
976 </dd> |
927 </dl><a NAME="Tabview.canTile" ID="Tabview.canTile"></a> |
977 </dl><a NAME="Tabview.canTile" ID="Tabview.canTile"></a> |
928 <h4>Tabview.canTile</h4> |
978 <h4>Tabview.canTile</h4> |
929 <b>canTile</b>(<i></i>) |
979 <b>canTile</b>(<i></i>) |
930 <p> |
980 <p> |
931 Public method to signal if tiling of managed windows is available. |
981 Public method to signal if tiling of managed windows is available. |
932 </p><dl> |
982 </p><dl> |
933 <dt>Returns:</dt> |
983 <dt>Returns:</dt> |
934 <dd> |
984 <dd> |
935 flag indicating tiling of windows is available |
985 flag indicating tiling of windows is available |
|
986 </dd> |
|
987 </dl><dl> |
|
988 <dt>Return Type:</dt> |
|
989 <dd> |
|
990 bool |
936 </dd> |
991 </dd> |
937 </dl><a NAME="Tabview.cascade" ID="Tabview.cascade"></a> |
992 </dl><a NAME="Tabview.cascade" ID="Tabview.cascade"></a> |
938 <h4>Tabview.cascade</h4> |
993 <h4>Tabview.cascade</h4> |
939 <b>cascade</b>(<i></i>) |
994 <b>cascade</b>(<i></i>) |
940 <p> |
995 <p> |
943 <h4>Tabview.eventFilter</h4> |
998 <h4>Tabview.eventFilter</h4> |
944 <b>eventFilter</b>(<i>watched, event</i>) |
999 <b>eventFilter</b>(<i>watched, event</i>) |
945 <p> |
1000 <p> |
946 Public method called to filter the event queue. |
1001 Public method called to filter the event queue. |
947 </p><dl> |
1002 </p><dl> |
948 <dt><i>watched</i></dt> |
1003 <dt><i>watched</i> (QObject)</dt> |
949 <dd> |
1004 <dd> |
950 the QObject being watched (QObject) |
1005 the QObject being watched |
951 </dd><dt><i>event</i></dt> |
1006 </dd><dt><i>event</i> (QEvent)</dt> |
952 <dd> |
1007 <dd> |
953 the event that occurred (QEvent) |
1008 the event that occurred |
954 </dd> |
1009 </dd> |
955 </dl><dl> |
1010 </dl><dl> |
956 <dt>Returns:</dt> |
1011 <dt>Returns:</dt> |
957 <dd> |
1012 <dd> |
958 always False |
1013 always False |
|
1014 </dd> |
|
1015 </dl><dl> |
|
1016 <dt>Return Type:</dt> |
|
1017 <dd> |
|
1018 bool |
|
1019 </dd> |
|
1020 </dl><a NAME="Tabview.getOpenEditorsForSession" ID="Tabview.getOpenEditorsForSession"></a> |
|
1021 <h4>Tabview.getOpenEditorsForSession</h4> |
|
1022 <b>getOpenEditorsForSession</b>(<i></i>) |
|
1023 <p> |
|
1024 Public method to get a lists of all open editors. |
|
1025 </p><p> |
|
1026 The returned list contains one list per split view. If the view manager |
|
1027 cannot split the view, only one list of editors is returned. |
|
1028 </p><dl> |
|
1029 <dt>Returns:</dt> |
|
1030 <dd> |
|
1031 list of list of editor references |
|
1032 </dd> |
|
1033 </dl><dl> |
|
1034 <dt>Return Type:</dt> |
|
1035 <dd> |
|
1036 list of list of Editor |
959 </dd> |
1037 </dd> |
960 </dl><a NAME="Tabview.getSplitOrientation" ID="Tabview.getSplitOrientation"></a> |
1038 </dl><a NAME="Tabview.getSplitOrientation" ID="Tabview.getSplitOrientation"></a> |
961 <h4>Tabview.getSplitOrientation</h4> |
1039 <h4>Tabview.getSplitOrientation</h4> |
962 <b>getSplitOrientation</b>(<i></i>) |
1040 <b>getSplitOrientation</b>(<i></i>) |
963 <p> |
1041 <p> |
964 Public method to get the orientation of the split view. |
1042 Public method to get the orientation of the split view. |
965 </p><dl> |
1043 </p><dl> |
966 <dt>Returns:</dt> |
1044 <dt>Returns:</dt> |
967 <dd> |
1045 <dd> |
968 orientation of the split (Qt.Horizontal or Qt.Vertical) |
1046 orientation of the split |
|
1047 </dd> |
|
1048 </dl><dl> |
|
1049 <dt>Return Type:</dt> |
|
1050 <dd> |
|
1051 Qt.Horizontal or Qt.Vertical |
969 </dd> |
1052 </dd> |
970 </dl><a NAME="Tabview.getTabWidgetById" ID="Tabview.getTabWidgetById"></a> |
1053 </dl><a NAME="Tabview.getTabWidgetById" ID="Tabview.getTabWidgetById"></a> |
971 <h4>Tabview.getTabWidgetById</h4> |
1054 <h4>Tabview.getTabWidgetById</h4> |
972 <b>getTabWidgetById</b>(<i>id_</i>) |
1055 <b>getTabWidgetById</b>(<i>id_</i>) |
973 <p> |
1056 <p> |
974 Public method to get a reference to a tab widget knowing its ID. |
1057 Public method to get a reference to a tab widget knowing its ID. |
975 </p><dl> |
1058 </p><dl> |
976 <dt><i>id_</i></dt> |
1059 <dt><i>id_</i> (int)</dt> |
977 <dd> |
1060 <dd> |
978 id of the tab widget (long) |
1061 id of the tab widget |
979 </dd> |
1062 </dd> |
980 </dl><dl> |
1063 </dl><dl> |
981 <dt>Returns:</dt> |
1064 <dt>Returns:</dt> |
982 <dd> |
1065 <dd> |
983 reference to the tab widget (TabWidget) |
1066 reference to the tab widget |
|
1067 </dd> |
|
1068 </dl><dl> |
|
1069 <dt>Return Type:</dt> |
|
1070 <dd> |
|
1071 TabWidget |
984 </dd> |
1072 </dd> |
985 </dl><a NAME="Tabview.insertView" ID="Tabview.insertView"></a> |
1073 </dl><a NAME="Tabview.insertView" ID="Tabview.insertView"></a> |
986 <h4>Tabview.insertView</h4> |
1074 <h4>Tabview.insertView</h4> |
987 <b>insertView</b>(<i>win, tabWidget, index, fn=None, noName=""</i>) |
1075 <b>insertView</b>(<i>win, tabWidget, index, fn=None, noName=""</i>) |
988 <p> |
1076 <p> |
989 Public method to add a view (i.e. window). |
1077 Public method to add a view (i.e. window). |
990 </p><dl> |
1078 </p><dl> |
991 <dt><i>win</i></dt> |
1079 <dt><i>win</i> (EditorAssembly)</dt> |
992 <dd> |
1080 <dd> |
993 editor assembly to be inserted |
1081 editor assembly to be inserted |
994 </dd><dt><i>tabWidget</i></dt> |
1082 </dd><dt><i>tabWidget</i> (TabWidget)</dt> |
995 <dd> |
1083 <dd> |
996 reference to the tab widget to insert the editor into |
1084 reference to the tab widget to insert the editor into |
997 (TabWidget) |
1085 </dd><dt><i>index</i> (int)</dt> |
998 </dd><dt><i>index</i></dt> |
1086 <dd> |
999 <dd> |
1087 index position to insert at |
1000 index position to insert at (integer) |
1088 </dd><dt><i>fn</i> (str)</dt> |
1001 </dd><dt><i>fn</i></dt> |
1089 <dd> |
1002 <dd> |
1090 filename of this editor |
1003 filename of this editor (string) |
1091 </dd><dt><i>noName</i> (str)</dt> |
1004 </dd><dt><i>noName</i></dt> |
1092 <dd> |
1005 <dd> |
1093 name to be used for an unnamed editor |
1006 name to be used for an unnamed editor (string) |
|
1007 </dd> |
1094 </dd> |
1008 </dl><a NAME="Tabview.mainWidget" ID="Tabview.mainWidget"></a> |
1095 </dl><a NAME="Tabview.mainWidget" ID="Tabview.mainWidget"></a> |
1009 <h4>Tabview.mainWidget</h4> |
1096 <h4>Tabview.mainWidget</h4> |
1010 <b>mainWidget</b>(<i></i>) |
1097 <b>mainWidget</b>(<i></i>) |
1011 <p> |
1098 <p> |
1036 <b>prevSplit</b>(<i></i>) |
1123 <b>prevSplit</b>(<i></i>) |
1037 <p> |
1124 <p> |
1038 Public slot used to move to the previous split. |
1125 Public slot used to move to the previous split. |
1039 </p><a NAME="Tabview.removeSplit" ID="Tabview.removeSplit"></a> |
1126 </p><a NAME="Tabview.removeSplit" ID="Tabview.removeSplit"></a> |
1040 <h4>Tabview.removeSplit</h4> |
1127 <h4>Tabview.removeSplit</h4> |
1041 <b>removeSplit</b>(<i></i>) |
1128 <b>removeSplit</b>(<i>index=-1</i>) |
1042 <p> |
1129 <p> |
1043 Public method used to remove the current split view. |
1130 Public method used to remove the current split view or a split view |
1044 </p><dl> |
1131 by index. |
1045 <dt>Returns:</dt> |
1132 </p><dl> |
1046 <dd> |
1133 <dt><i>index</i> (int)</dt> |
1047 flag indicating successfull removal |
1134 <dd> |
|
1135 index of the split to be removed (-1 means to |
|
1136 delete the current split) |
|
1137 </dd> |
|
1138 </dl><dl> |
|
1139 <dt>Returns:</dt> |
|
1140 <dd> |
|
1141 flag indicating successful deletion |
|
1142 </dd> |
|
1143 </dl><dl> |
|
1144 <dt>Return Type:</dt> |
|
1145 <dd> |
|
1146 bool |
1048 </dd> |
1147 </dd> |
1049 </dl><a NAME="Tabview.setEditorName" ID="Tabview.setEditorName"></a> |
1148 </dl><a NAME="Tabview.setEditorName" ID="Tabview.setEditorName"></a> |
1050 <h4>Tabview.setEditorName</h4> |
1149 <h4>Tabview.setEditorName</h4> |
1051 <b>setEditorName</b>(<i>editor, newName</i>) |
1150 <b>setEditorName</b>(<i>editor, newName</i>) |
1052 <p> |
1151 <p> |
1053 Public method to change the displayed name of the editor. |
1152 Public method to change the displayed name of the editor. |
1054 </p><dl> |
1153 </p><dl> |
1055 <dt><i>editor</i></dt> |
1154 <dt><i>editor</i> (Editor)</dt> |
1056 <dd> |
1155 <dd> |
1057 editor window to be changed |
1156 editor window to be changed |
1058 </dd><dt><i>newName</i></dt> |
1157 </dd><dt><i>newName</i> (str)</dt> |
1059 <dd> |
1158 <dd> |
1060 new name to be shown (string) |
1159 new name to be shown |
|
1160 </dd> |
|
1161 </dl><a NAME="Tabview.setSplitCount" ID="Tabview.setSplitCount"></a> |
|
1162 <h4>Tabview.setSplitCount</h4> |
|
1163 <b>setSplitCount</b>(<i>count</i>) |
|
1164 <p> |
|
1165 Public method to set the number of split views. |
|
1166 </p><dl> |
|
1167 <dt><i>count</i> (int)</dt> |
|
1168 <dd> |
|
1169 number of split views |
1061 </dd> |
1170 </dd> |
1062 </dl><a NAME="Tabview.setSplitOrientation" ID="Tabview.setSplitOrientation"></a> |
1171 </dl><a NAME="Tabview.setSplitOrientation" ID="Tabview.setSplitOrientation"></a> |
1063 <h4>Tabview.setSplitOrientation</h4> |
1172 <h4>Tabview.setSplitOrientation</h4> |
1064 <b>setSplitOrientation</b>(<i>orientation</i>) |
1173 <b>setSplitOrientation</b>(<i>orientation</i>) |
1065 <p> |
1174 <p> |
1066 Public method used to set the orientation of the split view. |
1175 Public method used to set the orientation of the split view. |
1067 </p><dl> |
1176 </p><dl> |
1068 <dt><i>orientation</i></dt> |
1177 <dt><i>orientation</i> (Qt.Horizontal or Qt.Vertical)</dt> |
1069 <dd> |
1178 <dd> |
1070 orientation of the split |
1179 orientation of the split |
1071 (Qt.Horizontal or Qt.Vertical) |
|
1072 </dd> |
1180 </dd> |
1073 </dl><a NAME="Tabview.showWindowMenu" ID="Tabview.showWindowMenu"></a> |
1181 </dl><a NAME="Tabview.showWindowMenu" ID="Tabview.showWindowMenu"></a> |
1074 <h4>Tabview.showWindowMenu</h4> |
1182 <h4>Tabview.showWindowMenu</h4> |
1075 <b>showWindowMenu</b>(<i>windowMenu</i>) |
1183 <b>showWindowMenu</b>(<i>windowMenu</i>) |
1076 <p> |
1184 <p> |
1077 Public method to set up the viewmanager part of the Window menu. |
1185 Public method to set up the viewmanager part of the Window menu. |
1078 </p><dl> |
1186 </p><dl> |
1079 <dt><i>windowMenu</i></dt> |
1187 <dt><i>windowMenu</i> (QMenu)</dt> |
1080 <dd> |
1188 <dd> |
1081 reference to the window menu |
1189 reference to the window menu |
|
1190 </dd> |
|
1191 </dl><a NAME="Tabview.splitCount" ID="Tabview.splitCount"></a> |
|
1192 <h4>Tabview.splitCount</h4> |
|
1193 <b>splitCount</b>(<i></i>) |
|
1194 <p> |
|
1195 Public method to get the number of splitted views. |
|
1196 </p><dl> |
|
1197 <dt>Returns:</dt> |
|
1198 <dd> |
|
1199 number of splitted views |
|
1200 </dd> |
|
1201 </dl><dl> |
|
1202 <dt>Return Type:</dt> |
|
1203 <dd> |
|
1204 int |
1082 </dd> |
1205 </dd> |
1083 </dl><a NAME="Tabview.tile" ID="Tabview.tile"></a> |
1206 </dl><a NAME="Tabview.tile" ID="Tabview.tile"></a> |
1084 <h4>Tabview.tile</h4> |
1207 <h4>Tabview.tile</h4> |
1085 <b>tile</b>(<i></i>) |
1208 <b>tile</b>(<i></i>) |
1086 <p> |
1209 <p> |