255 <td>Public method to check for an editor.</td> |
255 <td>Public method to check for an editor.</td> |
256 </tr><tr> |
256 </tr><tr> |
257 <td><a href="#TabWidget.hasEditors">hasEditors</a></td> |
257 <td><a href="#TabWidget.hasEditors">hasEditors</a></td> |
258 <td>Public method to test, if any editor is managed.</td> |
258 <td>Public method to test, if any editor is managed.</td> |
259 </tr><tr> |
259 </tr><tr> |
|
260 <td><a href="#TabWidget.indexOf">indexOf</a></td> |
|
261 <td>Public method to get the tab index of the given editor.</td> |
|
262 </tr><tr> |
260 <td><a href="#TabWidget.insertWidget">insertWidget</a></td> |
263 <td><a href="#TabWidget.insertWidget">insertWidget</a></td> |
261 <td>Overwritten method to insert a new tab.</td> |
264 <td>Overwritten method to insert a new tab.</td> |
262 </tr><tr> |
265 </tr><tr> |
263 <td><a href="#TabWidget.mouseDoubleClickEvent">mouseDoubleClickEvent</a></td> |
266 <td><a href="#TabWidget.mouseDoubleClickEvent">mouseDoubleClickEvent</a></td> |
264 <td>Protected method handling double click events.</td> |
267 <td>Protected method handling double click events.</td> |
266 <td><a href="#TabWidget.relocateTab">relocateTab</a></td> |
269 <td><a href="#TabWidget.relocateTab">relocateTab</a></td> |
267 <td>Public method to relocate an editor from another TabWidget.</td> |
270 <td>Public method to relocate an editor from another TabWidget.</td> |
268 </tr><tr> |
271 </tr><tr> |
269 <td><a href="#TabWidget.removeWidget">removeWidget</a></td> |
272 <td><a href="#TabWidget.removeWidget">removeWidget</a></td> |
270 <td>Public method to remove a widget.</td> |
273 <td>Public method to remove a widget.</td> |
|
274 </tr><tr> |
|
275 <td><a href="#TabWidget.setCurrentWidget">setCurrentWidget</a></td> |
|
276 <td>Public method to set the current tab by the given editor.</td> |
271 </tr><tr> |
277 </tr><tr> |
272 <td><a href="#TabWidget.showIndicator">showIndicator</a></td> |
278 <td><a href="#TabWidget.showIndicator">showIndicator</a></td> |
273 <td>Public slot to set the indicator on or off.</td> |
279 <td>Public slot to set the indicator on or off.</td> |
274 </tr> |
280 </tr> |
275 </table> |
281 </table> |
463 <p> |
469 <p> |
464 Overridden method to return a reference to the current page. |
470 Overridden method to return a reference to the current page. |
465 </p><dl> |
471 </p><dl> |
466 <dt>Returns:</dt> |
472 <dt>Returns:</dt> |
467 <dd> |
473 <dd> |
468 reference to the current page (QWidget) |
474 reference to the current page (Editor) |
469 </dd> |
475 </dd> |
470 </dl><a NAME="TabWidget.hasEditor" ID="TabWidget.hasEditor"></a> |
476 </dl><a NAME="TabWidget.hasEditor" ID="TabWidget.hasEditor"></a> |
471 <h4>TabWidget.hasEditor</h4> |
477 <h4>TabWidget.hasEditor</h4> |
472 <b>hasEditor</b>(<i>editor</i>) |
478 <b>hasEditor</b>(<i>editor</i>) |
473 <p> |
479 <p> |
491 </p><dl> |
497 </p><dl> |
492 <dt>Returns:</dt> |
498 <dt>Returns:</dt> |
493 <dd> |
499 <dd> |
494 flag indicating editors are managed |
500 flag indicating editors are managed |
495 </dd> |
501 </dd> |
|
502 </dl><a NAME="TabWidget.indexOf" ID="TabWidget.indexOf"></a> |
|
503 <h4>TabWidget.indexOf</h4> |
|
504 <b>indexOf</b>(<i>object</i>) |
|
505 <p> |
|
506 Public method to get the tab index of the given editor. |
|
507 </p><dl> |
|
508 <dt><i>object</i></dt> |
|
509 <dd> |
|
510 object to get the index for (QLabel or Editor) |
|
511 </dd> |
|
512 </dl><dl> |
|
513 <dt>Returns:</dt> |
|
514 <dd> |
|
515 tab index of the editor (integer) |
|
516 </dd> |
496 </dl><a NAME="TabWidget.insertWidget" ID="TabWidget.insertWidget"></a> |
517 </dl><a NAME="TabWidget.insertWidget" ID="TabWidget.insertWidget"></a> |
497 <h4>TabWidget.insertWidget</h4> |
518 <h4>TabWidget.insertWidget</h4> |
498 <b>insertWidget</b>(<i>index, editor, title</i>) |
519 <b>insertWidget</b>(<i>index, editor, title</i>) |
499 <p> |
520 <p> |
500 Overwritten method to insert a new tab. |
521 Overwritten method to insert a new tab. |
547 Public method to remove a widget. |
568 Public method to remove a widget. |
548 </p><dl> |
569 </p><dl> |
549 <dt><i>object</i></dt> |
570 <dt><i>object</i></dt> |
550 <dd> |
571 <dd> |
551 object to be removed (QWidget) |
572 object to be removed (QWidget) |
|
573 </dd> |
|
574 </dl><a NAME="TabWidget.setCurrentWidget" ID="TabWidget.setCurrentWidget"></a> |
|
575 <h4>TabWidget.setCurrentWidget</h4> |
|
576 <b>setCurrentWidget</b>(<i>editor</i>) |
|
577 <p> |
|
578 Public method to set the current tab by the given editor. |
|
579 </p><dl> |
|
580 <dt><i>editor</i></dt> |
|
581 <dd> |
|
582 editor to determine current tab from (Editor) |
552 </dd> |
583 </dd> |
553 </dl><a NAME="TabWidget.showIndicator" ID="TabWidget.showIndicator"></a> |
584 </dl><a NAME="TabWidget.showIndicator" ID="TabWidget.showIndicator"></a> |
554 <h4>TabWidget.showIndicator</h4> |
585 <h4>TabWidget.showIndicator</h4> |
555 <b>showIndicator</b>(<i>on</i>) |
586 <b>showIndicator</b>(<i>on</i>) |
556 <p> |
587 <p> |