54 <dl> |
54 <dl> |
55 <dt>tabCopyRequested(int, int)</dt> |
55 <dt>tabCopyRequested(int, int)</dt> |
56 <dd> |
56 <dd> |
57 emitted to signal a clone request giving |
57 emitted to signal a clone request giving |
58 the old and new index position |
58 the old and new index position |
59 </dd><dt>tabCopyRequested(long, int, int)</dt> |
59 </dd><dt>tabCopyRequested(str, int, int)</dt> |
60 <dd> |
60 <dd> |
61 emitted to signal a clone request |
61 emitted to signal a clone request |
62 giving the id of the source tab widget, the index in the source tab widget |
62 giving the string encoded id of the source tab widget, the index in the |
63 and the new index position |
63 source tab widget and the new index position |
64 </dd><dt>tabMoveRequested(int, int)</dt> |
64 </dd><dt>tabMoveRequested(int, int)</dt> |
65 <dd> |
65 <dd> |
66 emitted to signal a tab move request giving |
66 emitted to signal a tab move request giving |
67 the old and new index position |
67 the old and new index position |
68 </dd><dt>tabRelocateRequested(long, int, int)</dt> |
68 </dd><dt>tabRelocateRequested(str, int, int)</dt> |
69 <dd> |
69 <dd> |
70 emitted to signal a tab relocation |
70 emitted to signal a tab relocation |
71 request giving the id of the old tab widget, the index in the old tab widget |
71 request giving the string encoded id of the old tab widget, the index in |
72 and the new index position |
72 the old tab widget and the new index position |
73 </dd> |
73 </dd> |
74 </dl> |
74 </dl> |
75 <h3>Derived from</h3> |
75 <h3>Derived from</h3> |
76 E5WheelTabBar |
76 E5WheelTabBar |
77 <h3>Class Attributes</h3> |
77 <h3>Class Attributes</h3> |
222 <td>Private method to save all tabs.</td> |
222 <td>Private method to save all tabs.</td> |
223 </tr><tr> |
223 </tr><tr> |
224 <td><a href="#TabWidget.__contextMenuSaveAs">__contextMenuSaveAs</a></td> |
224 <td><a href="#TabWidget.__contextMenuSaveAs">__contextMenuSaveAs</a></td> |
225 <td>Private method to save the selected tab to a new file.</td> |
225 <td>Private method to save the selected tab to a new file.</td> |
226 </tr><tr> |
226 </tr><tr> |
|
227 <td><a href="#TabWidget.__copyTab">__copyTab</a></td> |
|
228 <td>Private method to copy an editor.</td> |
|
229 </tr><tr> |
|
230 <td><a href="#TabWidget.__copyTabOther">__copyTabOther</a></td> |
|
231 <td>Private method to copy an editor from another TabWidget.</td> |
|
232 </tr><tr> |
227 <td><a href="#TabWidget.__initMenu">__initMenu</a></td> |
233 <td><a href="#TabWidget.__initMenu">__initMenu</a></td> |
228 <td>Private method to initialize the tab context menu.</td> |
234 <td>Private method to initialize the tab context menu.</td> |
229 </tr><tr> |
235 </tr><tr> |
230 <td><a href="#TabWidget.__navigationMenuTriggered">__navigationMenuTriggered</a></td> |
236 <td><a href="#TabWidget.__navigationMenuTriggered">__navigationMenuTriggered</a></td> |
231 <td>Private slot called to handle the navigation button menu selection.</td> |
237 <td>Private slot called to handle the navigation button menu selection.</td> |
232 </tr><tr> |
238 </tr><tr> |
|
239 <td><a href="#TabWidget.__relocateTab">__relocateTab</a></td> |
|
240 <td>Private method to relocate an editor from another TabWidget.</td> |
|
241 </tr><tr> |
233 <td><a href="#TabWidget.__showContextMenu">__showContextMenu</a></td> |
242 <td><a href="#TabWidget.__showContextMenu">__showContextMenu</a></td> |
234 <td>Private slot to show the tab context menu.</td> |
243 <td>Private slot to show the tab context menu.</td> |
235 </tr><tr> |
244 </tr><tr> |
236 <td><a href="#TabWidget.__showNavigationMenu">__showNavigationMenu</a></td> |
245 <td><a href="#TabWidget.__showNavigationMenu">__showNavigationMenu</a></td> |
237 <td>Private slot to show the navigation button menu.</td> |
246 <td>Private slot to show the navigation button menu.</td> |
238 </tr><tr> |
247 </tr><tr> |
239 <td><a href="#TabWidget.addTab">addTab</a></td> |
248 <td><a href="#TabWidget.addTab">addTab</a></td> |
240 <td>Overwritten method to add a new tab.</td> |
249 <td>Overwritten method to add a new tab.</td> |
241 </tr><tr> |
250 </tr><tr> |
242 <td><a href="#TabWidget.copyTab">copyTab</a></td> |
|
243 <td>Public method to copy an editor.</td> |
|
244 </tr><tr> |
|
245 <td><a href="#TabWidget.copyTabOther">copyTabOther</a></td> |
|
246 <td>Public method to copy an editor from another TabWidget.</td> |
|
247 </tr><tr> |
|
248 <td><a href="#TabWidget.currentWidget">currentWidget</a></td> |
251 <td><a href="#TabWidget.currentWidget">currentWidget</a></td> |
249 <td>Overridden method to return a reference to the current page.</td> |
252 <td>Overridden method to return a reference to the current page.</td> |
250 </tr><tr> |
253 </tr><tr> |
251 <td><a href="#TabWidget.hasEditor">hasEditor</a></td> |
254 <td><a href="#TabWidget.hasEditor">hasEditor</a></td> |
252 <td>Public method to check for an editor.</td> |
255 <td>Public method to check for an editor.</td> |
257 <td><a href="#TabWidget.insertWidget">insertWidget</a></td> |
260 <td><a href="#TabWidget.insertWidget">insertWidget</a></td> |
258 <td>Overwritten method to insert a new tab.</td> |
261 <td>Overwritten method to insert a new tab.</td> |
259 </tr><tr> |
262 </tr><tr> |
260 <td><a href="#TabWidget.mouseDoubleClickEvent">mouseDoubleClickEvent</a></td> |
263 <td><a href="#TabWidget.mouseDoubleClickEvent">mouseDoubleClickEvent</a></td> |
261 <td>Protected method handling double click events.</td> |
264 <td>Protected method handling double click events.</td> |
262 </tr><tr> |
|
263 <td><a href="#TabWidget.relocateTab">relocateTab</a></td> |
|
264 <td>Public method to relocate an editor from another TabWidget.</td> |
|
265 </tr><tr> |
265 </tr><tr> |
266 <td><a href="#TabWidget.removeWidget">removeWidget</a></td> |
266 <td><a href="#TabWidget.removeWidget">removeWidget</a></td> |
267 <td>Public method to remove a widget.</td> |
267 <td>Public method to remove a widget.</td> |
268 </tr><tr> |
268 </tr><tr> |
269 <td><a href="#TabWidget.showIndicator">showIndicator</a></td> |
269 <td><a href="#TabWidget.showIndicator">showIndicator</a></td> |
372 </p><a NAME="TabWidget.__contextMenuSaveAs" ID="TabWidget.__contextMenuSaveAs"></a> |
372 </p><a NAME="TabWidget.__contextMenuSaveAs" ID="TabWidget.__contextMenuSaveAs"></a> |
373 <h4>TabWidget.__contextMenuSaveAs</h4> |
373 <h4>TabWidget.__contextMenuSaveAs</h4> |
374 <b>__contextMenuSaveAs</b>(<i></i>) |
374 <b>__contextMenuSaveAs</b>(<i></i>) |
375 <p> |
375 <p> |
376 Private method to save the selected tab to a new file. |
376 Private method to save the selected tab to a new file. |
377 </p><a NAME="TabWidget.__initMenu" ID="TabWidget.__initMenu"></a> |
377 </p><a NAME="TabWidget.__copyTab" ID="TabWidget.__copyTab"></a> |
|
378 <h4>TabWidget.__copyTab</h4> |
|
379 <b>__copyTab</b>(<i>sourceIndex, targetIndex</i>) |
|
380 <p> |
|
381 Private method to copy an editor. |
|
382 </p><dl> |
|
383 <dt><i>sourceIndex</i></dt> |
|
384 <dd> |
|
385 index of the tab (integer) |
|
386 </dd><dt><i>targetIndex</i></dt> |
|
387 <dd> |
|
388 index position to place it to (integer) |
|
389 </dd> |
|
390 </dl><a NAME="TabWidget.__copyTabOther" ID="TabWidget.__copyTabOther"></a> |
|
391 <h4>TabWidget.__copyTabOther</h4> |
|
392 <b>__copyTabOther</b>(<i>sourceId, sourceIndex, targetIndex</i>) |
|
393 <p> |
|
394 Private method to copy an editor from another TabWidget. |
|
395 </p><dl> |
|
396 <dt><i>sourceId</i></dt> |
|
397 <dd> |
|
398 id of the TabWidget to get the editor from (string) |
|
399 </dd><dt><i>sourceIndex</i></dt> |
|
400 <dd> |
|
401 index of the tab in the old tab widget (integer) |
|
402 </dd><dt><i>targetIndex</i></dt> |
|
403 <dd> |
|
404 index position to place it to (integer) |
|
405 </dd> |
|
406 </dl><a NAME="TabWidget.__initMenu" ID="TabWidget.__initMenu"></a> |
378 <h4>TabWidget.__initMenu</h4> |
407 <h4>TabWidget.__initMenu</h4> |
379 <b>__initMenu</b>(<i></i>) |
408 <b>__initMenu</b>(<i></i>) |
380 <p> |
409 <p> |
381 Private method to initialize the tab context menu. |
410 Private method to initialize the tab context menu. |
382 </p><a NAME="TabWidget.__navigationMenuTriggered" ID="TabWidget.__navigationMenuTriggered"></a> |
411 </p><a NAME="TabWidget.__navigationMenuTriggered" ID="TabWidget.__navigationMenuTriggered"></a> |
387 </p><dl> |
416 </p><dl> |
388 <dt><i>act</i></dt> |
417 <dt><i>act</i></dt> |
389 <dd> |
418 <dd> |
390 reference to the selected action (QAction) |
419 reference to the selected action (QAction) |
391 </dd> |
420 </dd> |
|
421 </dl><a NAME="TabWidget.__relocateTab" ID="TabWidget.__relocateTab"></a> |
|
422 <h4>TabWidget.__relocateTab</h4> |
|
423 <b>__relocateTab</b>(<i>sourceId, sourceIndex, targetIndex</i>) |
|
424 <p> |
|
425 Private method to relocate an editor from another TabWidget. |
|
426 </p><dl> |
|
427 <dt><i>sourceId</i></dt> |
|
428 <dd> |
|
429 id of the TabWidget to get the editor from (string) |
|
430 </dd><dt><i>sourceIndex</i></dt> |
|
431 <dd> |
|
432 index of the tab in the old tab widget (integer) |
|
433 </dd><dt><i>targetIndex</i></dt> |
|
434 <dd> |
|
435 index position to place it to (integer) |
|
436 </dd> |
392 </dl><a NAME="TabWidget.__showContextMenu" ID="TabWidget.__showContextMenu"></a> |
437 </dl><a NAME="TabWidget.__showContextMenu" ID="TabWidget.__showContextMenu"></a> |
393 <h4>TabWidget.__showContextMenu</h4> |
438 <h4>TabWidget.__showContextMenu</h4> |
394 <b>__showContextMenu</b>(<i>coord, index</i>) |
439 <b>__showContextMenu</b>(<i>coord, index</i>) |
395 <p> |
440 <p> |
396 Private slot to show the tab context menu. |
441 Private slot to show the tab context menu. |
418 the editor object to be added (QScintilla.Editor.Editor) |
463 the editor object to be added (QScintilla.Editor.Editor) |
419 </dd><dt><i>title</i></dt> |
464 </dd><dt><i>title</i></dt> |
420 <dd> |
465 <dd> |
421 title for the new tab (string) |
466 title for the new tab (string) |
422 </dd> |
467 </dd> |
423 </dl><a NAME="TabWidget.copyTab" ID="TabWidget.copyTab"></a> |
|
424 <h4>TabWidget.copyTab</h4> |
|
425 <b>copyTab</b>(<i>sourceIndex, targetIndex</i>) |
|
426 <p> |
|
427 Public method to copy an editor. |
|
428 </p><dl> |
|
429 <dt><i>sourceIndex</i></dt> |
|
430 <dd> |
|
431 index of the tab (integer) |
|
432 </dd><dt><i>targetIndex</i></dt> |
|
433 <dd> |
|
434 index position to place it to (integer) |
|
435 </dd> |
|
436 </dl><a NAME="TabWidget.copyTabOther" ID="TabWidget.copyTabOther"></a> |
|
437 <h4>TabWidget.copyTabOther</h4> |
|
438 <b>copyTabOther</b>(<i>sourceId, sourceIndex, targetIndex</i>) |
|
439 <p> |
|
440 Public method to copy an editor from another TabWidget. |
|
441 </p><dl> |
|
442 <dt><i>sourceId</i></dt> |
|
443 <dd> |
|
444 id of the TabWidget to get the editor from (long) |
|
445 </dd><dt><i>sourceIndex</i></dt> |
|
446 <dd> |
|
447 index of the tab in the old tab widget (integer) |
|
448 </dd><dt><i>targetIndex</i></dt> |
|
449 <dd> |
|
450 index position to place it to (integer) |
|
451 </dd> |
|
452 </dl><a NAME="TabWidget.currentWidget" ID="TabWidget.currentWidget"></a> |
468 </dl><a NAME="TabWidget.currentWidget" ID="TabWidget.currentWidget"></a> |
453 <h4>TabWidget.currentWidget</h4> |
469 <h4>TabWidget.currentWidget</h4> |
454 <b>currentWidget</b>(<i></i>) |
470 <b>currentWidget</b>(<i></i>) |
455 <p> |
471 <p> |
456 Overridden method to return a reference to the current page. |
472 Overridden method to return a reference to the current page. |
513 Protected method handling double click events. |
529 Protected method handling double click events. |
514 </p><dl> |
530 </p><dl> |
515 <dt><i>event</i></dt> |
531 <dt><i>event</i></dt> |
516 <dd> |
532 <dd> |
517 reference to the event object (QMouseEvent) |
533 reference to the event object (QMouseEvent) |
518 </dd> |
|
519 </dl><a NAME="TabWidget.relocateTab" ID="TabWidget.relocateTab"></a> |
|
520 <h4>TabWidget.relocateTab</h4> |
|
521 <b>relocateTab</b>(<i>sourceId, sourceIndex, targetIndex</i>) |
|
522 <p> |
|
523 Public method to relocate an editor from another TabWidget. |
|
524 </p><dl> |
|
525 <dt><i>sourceId</i></dt> |
|
526 <dd> |
|
527 id of the TabWidget to get the editor from (long) |
|
528 </dd><dt><i>sourceIndex</i></dt> |
|
529 <dd> |
|
530 index of the tab in the old tab widget (integer) |
|
531 </dd><dt><i>targetIndex</i></dt> |
|
532 <dd> |
|
533 index position to place it to (integer) |
|
534 </dd> |
534 </dd> |
535 </dl><a NAME="TabWidget.removeWidget" ID="TabWidget.removeWidget"></a> |
535 </dl><a NAME="TabWidget.removeWidget" ID="TabWidget.removeWidget"></a> |
536 <h4>TabWidget.removeWidget</h4> |
536 <h4>TabWidget.removeWidget</h4> |
537 <b>removeWidget</b>(<i>object</i>) |
537 <b>removeWidget</b>(<i>object</i>) |
538 <p> |
538 <p> |