10478:de9106c55c3d | 10479:856476537696 |
---|---|
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.Plugins.ViewManagerPlugins.Listspace.Listspace</h1> | 9 <h1>eric7.Plugins.ViewManagerPlugins.Listspace.Listspace</h1> |
10 | |
11 <p> | 10 <p> |
12 Module implementing the listspace viewmanager class. | 11 Module implementing the listspace viewmanager class. |
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="#Listspace">Listspace</a></td> | 22 <td><a href="#Listspace">Listspace</a></td> |
25 <td>Class implementing the listspace viewmanager class.</td> | 23 <td>Class implementing the listspace viewmanager class.</td> |
26 </tr> | 24 </tr> |
27 <tr> | 25 <tr> |
28 <td><a href="#StackedWidget">StackedWidget</a></td> | 26 <td><a href="#StackedWidget">StackedWidget</a></td> |
29 <td>Class implementing a custimized StackedWidget.</td> | 27 <td>Class implementing a custimized StackedWidget.</td> |
30 </tr> | 28 </tr> |
31 </table> | 29 </table> |
30 | |
32 <h3>Functions</h3> | 31 <h3>Functions</h3> |
33 | |
34 <table> | 32 <table> |
35 <tr><td>None</td></tr> | 33 <tr><td>None</td></tr> |
36 </table> | 34 </table> |
35 | |
37 <hr /> | 36 <hr /> |
38 <hr /> | 37 <hr /> |
39 <a NAME="Listspace" ID="Listspace"></a> | 38 <a NAME="Listspace" ID="Listspace"></a> |
40 <h2>Listspace</h2> | 39 <h2>Listspace</h2> |
41 | |
42 <p> | 40 <p> |
43 Class implementing the listspace viewmanager class. | 41 Class implementing the listspace viewmanager class. |
44 </p> | 42 </p> |
43 | |
45 <h3>Signals</h3> | 44 <h3>Signals</h3> |
46 <dl> | 45 <dl> |
47 | 46 |
48 <dt>astViewerStateChanged(bool)</dt> | 47 <dt>astViewerStateChanged(bool)</dt> |
49 <dd> | 48 <dd> |
148 </dd> | 147 </dd> |
149 </dl> | 148 </dl> |
150 <h3>Derived from</h3> | 149 <h3>Derived from</h3> |
151 ViewManager | 150 ViewManager |
152 <h3>Class Attributes</h3> | 151 <h3>Class Attributes</h3> |
153 | |
154 <table> | 152 <table> |
155 <tr><td>None</td></tr> | 153 <tr><td>None</td></tr> |
156 </table> | 154 </table> |
155 | |
157 <h3>Class Methods</h3> | 156 <h3>Class Methods</h3> |
158 | |
159 <table> | 157 <table> |
160 <tr><td>None</td></tr> | 158 <tr><td>None</td></tr> |
161 </table> | 159 </table> |
160 | |
162 <h3>Methods</h3> | 161 <h3>Methods</h3> |
163 | |
164 <table> | 162 <table> |
165 | |
166 <tr> | 163 <tr> |
167 <td><a href="#Listspace.__init__">Listspace</a></td> | 164 <td><a href="#Listspace.__init__">Listspace</a></td> |
168 <td>Constructor</td> | 165 <td>Constructor</td> |
169 </tr> | 166 </tr> |
170 <tr> | 167 <tr> |
362 <tr> | 359 <tr> |
363 <td><a href="#Listspace.tile">tile</a></td> | 360 <td><a href="#Listspace.tile">tile</a></td> |
364 <td>Public method to tile the managed windows.</td> | 361 <td>Public method to tile the managed windows.</td> |
365 </tr> | 362 </tr> |
366 </table> | 363 </table> |
364 | |
367 <h3>Static Methods</h3> | 365 <h3>Static Methods</h3> |
368 | |
369 <table> | 366 <table> |
370 <tr><td>None</td></tr> | 367 <tr><td>None</td></tr> |
371 </table> | 368 </table> |
372 | 369 |
370 | |
373 <a NAME="Listspace.__init__" ID="Listspace.__init__"></a> | 371 <a NAME="Listspace.__init__" ID="Listspace.__init__"></a> |
374 <h4>Listspace (Constructor)</h4> | 372 <h4>Listspace (Constructor)</h4> |
375 <b>Listspace</b>(<i>parent</i>) | 373 <b>Listspace</b>(<i>parent</i>) |
376 | |
377 <p> | 374 <p> |
378 Constructor | 375 Constructor |
379 </p> | 376 </p> |
377 | |
380 <dl> | 378 <dl> |
381 | 379 |
382 <dt><i>parent</i> (QWidget)</dt> | 380 <dt><i>parent</i> (QWidget)</dt> |
383 <dd> | 381 <dd> |
384 parent widget | 382 parent widget |
385 </dd> | 383 </dd> |
386 </dl> | 384 </dl> |
387 <a NAME="Listspace.__captionChange" ID="Listspace.__captionChange"></a> | 385 <a NAME="Listspace.__captionChange" ID="Listspace.__captionChange"></a> |
388 <h4>Listspace.__captionChange</h4> | 386 <h4>Listspace.__captionChange</h4> |
389 <b>__captionChange</b>(<i>cap, editor</i>) | 387 <b>__captionChange</b>(<i>cap, editor</i>) |
390 | |
391 <p> | 388 <p> |
392 Private method to handle caption change signals from the editor. | 389 Private method to handle caption change signals from the editor. |
393 </p> | 390 </p> |
394 <p> | 391 <p> |
395 Updates the listwidget text to reflect the new caption information. | 392 Updates the listwidget text to reflect the new caption information. |
396 </p> | 393 </p> |
394 | |
397 <dl> | 395 <dl> |
398 | 396 |
399 <dt><i>cap</i> (str)</dt> | 397 <dt><i>cap</i> (str)</dt> |
400 <dd> | 398 <dd> |
401 Caption for the editor | 399 Caption for the editor |
406 </dd> | 404 </dd> |
407 </dl> | 405 </dl> |
408 <a NAME="Listspace.__contextMenuClose" ID="Listspace.__contextMenuClose"></a> | 406 <a NAME="Listspace.__contextMenuClose" ID="Listspace.__contextMenuClose"></a> |
409 <h4>Listspace.__contextMenuClose</h4> | 407 <h4>Listspace.__contextMenuClose</h4> |
410 <b>__contextMenuClose</b>(<i></i>) | 408 <b>__contextMenuClose</b>(<i></i>) |
411 | |
412 <p> | 409 <p> |
413 Private method to close the selected editor. | 410 Private method to close the selected editor. |
414 </p> | 411 </p> |
412 | |
415 <a NAME="Listspace.__contextMenuCloseAbove" ID="Listspace.__contextMenuCloseAbove"></a> | 413 <a NAME="Listspace.__contextMenuCloseAbove" ID="Listspace.__contextMenuCloseAbove"></a> |
416 <h4>Listspace.__contextMenuCloseAbove</h4> | 414 <h4>Listspace.__contextMenuCloseAbove</h4> |
417 <b>__contextMenuCloseAbove</b>(<i></i>) | 415 <b>__contextMenuCloseAbove</b>(<i></i>) |
418 | |
419 <p> | 416 <p> |
420 Private method to close editors above. | 417 Private method to close editors above. |
421 </p> | 418 </p> |
419 | |
422 <a NAME="Listspace.__contextMenuCloseAll" ID="Listspace.__contextMenuCloseAll"></a> | 420 <a NAME="Listspace.__contextMenuCloseAll" ID="Listspace.__contextMenuCloseAll"></a> |
423 <h4>Listspace.__contextMenuCloseAll</h4> | 421 <h4>Listspace.__contextMenuCloseAll</h4> |
424 <b>__contextMenuCloseAll</b>(<i></i>) | 422 <b>__contextMenuCloseAll</b>(<i></i>) |
425 | |
426 <p> | 423 <p> |
427 Private method to close all editors. | 424 Private method to close all editors. |
428 </p> | 425 </p> |
426 | |
429 <a NAME="Listspace.__contextMenuCloseBelow" ID="Listspace.__contextMenuCloseBelow"></a> | 427 <a NAME="Listspace.__contextMenuCloseBelow" ID="Listspace.__contextMenuCloseBelow"></a> |
430 <h4>Listspace.__contextMenuCloseBelow</h4> | 428 <h4>Listspace.__contextMenuCloseBelow</h4> |
431 <b>__contextMenuCloseBelow</b>(<i></i>) | 429 <b>__contextMenuCloseBelow</b>(<i></i>) |
432 | |
433 <p> | 430 <p> |
434 Private method to close editors below. | 431 Private method to close editors below. |
435 </p> | 432 </p> |
433 | |
436 <a NAME="Listspace.__contextMenuCloseOthers" ID="Listspace.__contextMenuCloseOthers"></a> | 434 <a NAME="Listspace.__contextMenuCloseOthers" ID="Listspace.__contextMenuCloseOthers"></a> |
437 <h4>Listspace.__contextMenuCloseOthers</h4> | 435 <h4>Listspace.__contextMenuCloseOthers</h4> |
438 <b>__contextMenuCloseOthers</b>(<i></i>) | 436 <b>__contextMenuCloseOthers</b>(<i></i>) |
439 | |
440 <p> | 437 <p> |
441 Private method to close the other editors. | 438 Private method to close the other editors. |
442 </p> | 439 </p> |
440 | |
443 <a NAME="Listspace.__contextMenuCopyPathToClipboard" ID="Listspace.__contextMenuCopyPathToClipboard"></a> | 441 <a NAME="Listspace.__contextMenuCopyPathToClipboard" ID="Listspace.__contextMenuCopyPathToClipboard"></a> |
444 <h4>Listspace.__contextMenuCopyPathToClipboard</h4> | 442 <h4>Listspace.__contextMenuCopyPathToClipboard</h4> |
445 <b>__contextMenuCopyPathToClipboard</b>(<i></i>) | 443 <b>__contextMenuCopyPathToClipboard</b>(<i></i>) |
446 | |
447 <p> | 444 <p> |
448 Private method to copy the file name of the selected editor to the | 445 Private method to copy the file name of the selected editor to the |
449 clipboard. | 446 clipboard. |
450 </p> | 447 </p> |
448 | |
451 <a NAME="Listspace.__contextMenuCoverageScript" ID="Listspace.__contextMenuCoverageScript"></a> | 449 <a NAME="Listspace.__contextMenuCoverageScript" ID="Listspace.__contextMenuCoverageScript"></a> |
452 <h4>Listspace.__contextMenuCoverageScript</h4> | 450 <h4>Listspace.__contextMenuCoverageScript</h4> |
453 <b>__contextMenuCoverageScript</b>(<i></i>) | 451 <b>__contextMenuCoverageScript</b>(<i></i>) |
454 | |
455 <p> | 452 <p> |
456 Private method to run a coverage test of the editor script. | 453 Private method to run a coverage test of the editor script. |
457 </p> | 454 </p> |
455 | |
458 <a NAME="Listspace.__contextMenuDebugScript" ID="Listspace.__contextMenuDebugScript"></a> | 456 <a NAME="Listspace.__contextMenuDebugScript" ID="Listspace.__contextMenuDebugScript"></a> |
459 <h4>Listspace.__contextMenuDebugScript</h4> | 457 <h4>Listspace.__contextMenuDebugScript</h4> |
460 <b>__contextMenuDebugScript</b>(<i></i>) | 458 <b>__contextMenuDebugScript</b>(<i></i>) |
461 | |
462 <p> | 459 <p> |
463 Private method to debug the editor script. | 460 Private method to debug the editor script. |
464 </p> | 461 </p> |
462 | |
465 <a NAME="Listspace.__contextMenuOpenRejections" ID="Listspace.__contextMenuOpenRejections"></a> | 463 <a NAME="Listspace.__contextMenuOpenRejections" ID="Listspace.__contextMenuOpenRejections"></a> |
466 <h4>Listspace.__contextMenuOpenRejections</h4> | 464 <h4>Listspace.__contextMenuOpenRejections</h4> |
467 <b>__contextMenuOpenRejections</b>(<i></i>) | 465 <b>__contextMenuOpenRejections</b>(<i></i>) |
468 | |
469 <p> | 466 <p> |
470 Private slot to open a rejections file associated with the selected | 467 Private slot to open a rejections file associated with the selected |
471 editor. | 468 editor. |
472 </p> | 469 </p> |
470 | |
473 <a NAME="Listspace.__contextMenuPrintFile" ID="Listspace.__contextMenuPrintFile"></a> | 471 <a NAME="Listspace.__contextMenuPrintFile" ID="Listspace.__contextMenuPrintFile"></a> |
474 <h4>Listspace.__contextMenuPrintFile</h4> | 472 <h4>Listspace.__contextMenuPrintFile</h4> |
475 <b>__contextMenuPrintFile</b>(<i></i>) | 473 <b>__contextMenuPrintFile</b>(<i></i>) |
476 | |
477 <p> | 474 <p> |
478 Private method to print the selected editor. | 475 Private method to print the selected editor. |
479 </p> | 476 </p> |
477 | |
480 <a NAME="Listspace.__contextMenuPrintPreviewFile" ID="Listspace.__contextMenuPrintPreviewFile"></a> | 478 <a NAME="Listspace.__contextMenuPrintPreviewFile" ID="Listspace.__contextMenuPrintPreviewFile"></a> |
481 <h4>Listspace.__contextMenuPrintPreviewFile</h4> | 479 <h4>Listspace.__contextMenuPrintPreviewFile</h4> |
482 <b>__contextMenuPrintPreviewFile</b>(<i></i>) | 480 <b>__contextMenuPrintPreviewFile</b>(<i></i>) |
483 | |
484 <p> | 481 <p> |
485 Private method to show a print preview of the selected editor. | 482 Private method to show a print preview of the selected editor. |
486 </p> | 483 </p> |
484 | |
487 <a NAME="Listspace.__contextMenuProfileScript" ID="Listspace.__contextMenuProfileScript"></a> | 485 <a NAME="Listspace.__contextMenuProfileScript" ID="Listspace.__contextMenuProfileScript"></a> |
488 <h4>Listspace.__contextMenuProfileScript</h4> | 486 <h4>Listspace.__contextMenuProfileScript</h4> |
489 <b>__contextMenuProfileScript</b>(<i></i>) | 487 <b>__contextMenuProfileScript</b>(<i></i>) |
490 | |
491 <p> | 488 <p> |
492 Private method to profile the editor script. | 489 Private method to profile the editor script. |
493 </p> | 490 </p> |
491 | |
494 <a NAME="Listspace.__contextMenuRunScript" ID="Listspace.__contextMenuRunScript"></a> | 492 <a NAME="Listspace.__contextMenuRunScript" ID="Listspace.__contextMenuRunScript"></a> |
495 <h4>Listspace.__contextMenuRunScript</h4> | 493 <h4>Listspace.__contextMenuRunScript</h4> |
496 <b>__contextMenuRunScript</b>(<i></i>) | 494 <b>__contextMenuRunScript</b>(<i></i>) |
497 | |
498 <p> | 495 <p> |
499 Private method to run the editor script. | 496 Private method to run the editor script. |
500 </p> | 497 </p> |
498 | |
501 <a NAME="Listspace.__contextMenuSave" ID="Listspace.__contextMenuSave"></a> | 499 <a NAME="Listspace.__contextMenuSave" ID="Listspace.__contextMenuSave"></a> |
502 <h4>Listspace.__contextMenuSave</h4> | 500 <h4>Listspace.__contextMenuSave</h4> |
503 <b>__contextMenuSave</b>(<i></i>) | 501 <b>__contextMenuSave</b>(<i></i>) |
504 | |
505 <p> | 502 <p> |
506 Private method to save the selected editor. | 503 Private method to save the selected editor. |
507 </p> | 504 </p> |
505 | |
508 <a NAME="Listspace.__contextMenuSaveAll" ID="Listspace.__contextMenuSaveAll"></a> | 506 <a NAME="Listspace.__contextMenuSaveAll" ID="Listspace.__contextMenuSaveAll"></a> |
509 <h4>Listspace.__contextMenuSaveAll</h4> | 507 <h4>Listspace.__contextMenuSaveAll</h4> |
510 <b>__contextMenuSaveAll</b>(<i></i>) | 508 <b>__contextMenuSaveAll</b>(<i></i>) |
511 | |
512 <p> | 509 <p> |
513 Private method to save all editors. | 510 Private method to save all editors. |
514 </p> | 511 </p> |
512 | |
515 <a NAME="Listspace.__contextMenuSaveAs" ID="Listspace.__contextMenuSaveAs"></a> | 513 <a NAME="Listspace.__contextMenuSaveAs" ID="Listspace.__contextMenuSaveAs"></a> |
516 <h4>Listspace.__contextMenuSaveAs</h4> | 514 <h4>Listspace.__contextMenuSaveAs</h4> |
517 <b>__contextMenuSaveAs</b>(<i></i>) | 515 <b>__contextMenuSaveAs</b>(<i></i>) |
518 | |
519 <p> | 516 <p> |
520 Private method to save the selected editor to a new file. | 517 Private method to save the selected editor to a new file. |
521 </p> | 518 </p> |
519 | |
522 <a NAME="Listspace.__currentChanged" ID="Listspace.__currentChanged"></a> | 520 <a NAME="Listspace.__currentChanged" ID="Listspace.__currentChanged"></a> |
523 <h4>Listspace.__currentChanged</h4> | 521 <h4>Listspace.__currentChanged</h4> |
524 <b>__currentChanged</b>(<i>index</i>) | 522 <b>__currentChanged</b>(<i>index</i>) |
525 | |
526 <p> | 523 <p> |
527 Private slot to handle the currentChanged signal. | 524 Private slot to handle the currentChanged signal. |
528 </p> | 525 </p> |
526 | |
529 <dl> | 527 <dl> |
530 | 528 |
531 <dt><i>index</i> (int)</dt> | 529 <dt><i>index</i> (int)</dt> |
532 <dd> | 530 <dd> |
533 index of the current editor | 531 index of the current editor |
534 </dd> | 532 </dd> |
535 </dl> | 533 </dl> |
536 <a NAME="Listspace.__cursorLineChanged" ID="Listspace.__cursorLineChanged"></a> | 534 <a NAME="Listspace.__cursorLineChanged" ID="Listspace.__cursorLineChanged"></a> |
537 <h4>Listspace.__cursorLineChanged</h4> | 535 <h4>Listspace.__cursorLineChanged</h4> |
538 <b>__cursorLineChanged</b>(<i>lineno, editor</i>) | 536 <b>__cursorLineChanged</b>(<i>lineno, editor</i>) |
539 | |
540 <p> | 537 <p> |
541 Private slot to handle a change of the current editor's cursor line. | 538 Private slot to handle a change of the current editor's cursor line. |
542 </p> | 539 </p> |
540 | |
543 <dl> | 541 <dl> |
544 | 542 |
545 <dt><i>lineno</i> (int)</dt> | 543 <dt><i>lineno</i> (int)</dt> |
546 <dd> | 544 <dd> |
547 line number of the editor's cursor (zero based) | 545 line number of the editor's cursor (zero based) |
552 </dd> | 550 </dd> |
553 </dl> | 551 </dl> |
554 <a NAME="Listspace.__initMenu" ID="Listspace.__initMenu"></a> | 552 <a NAME="Listspace.__initMenu" ID="Listspace.__initMenu"></a> |
555 <h4>Listspace.__initMenu</h4> | 553 <h4>Listspace.__initMenu</h4> |
556 <b>__initMenu</b>(<i></i>) | 554 <b>__initMenu</b>(<i></i>) |
557 | |
558 <p> | 555 <p> |
559 Private method to initialize the viewlist context menu. | 556 Private method to initialize the viewlist context menu. |
560 </p> | 557 </p> |
558 | |
561 <a NAME="Listspace.__setIcon" ID="Listspace.__setIcon"></a> | 559 <a NAME="Listspace.__setIcon" ID="Listspace.__setIcon"></a> |
562 <h4>Listspace.__setIcon</h4> | 560 <h4>Listspace.__setIcon</h4> |
563 <b>__setIcon</b>(<i>editor, modified</i>) | 561 <b>__setIcon</b>(<i>editor, modified</i>) |
564 | |
565 <p> | 562 <p> |
566 Private method to set the icon for the given editor. | 563 Private method to set the icon for the given editor. |
567 </p> | 564 </p> |
565 | |
568 <dl> | 566 <dl> |
569 | 567 |
570 <dt><i>editor</i> (Editor)</dt> | 568 <dt><i>editor</i> (Editor)</dt> |
571 <dd> | 569 <dd> |
572 reference to the editor to set the icon for | 570 reference to the editor to set the icon for |
577 </dd> | 575 </dd> |
578 </dl> | 576 </dl> |
579 <a NAME="Listspace.__showMenu" ID="Listspace.__showMenu"></a> | 577 <a NAME="Listspace.__showMenu" ID="Listspace.__showMenu"></a> |
580 <h4>Listspace.__showMenu</h4> | 578 <h4>Listspace.__showMenu</h4> |
581 <b>__showMenu</b>(<i>point</i>) | 579 <b>__showMenu</b>(<i>point</i>) |
582 | |
583 <p> | 580 <p> |
584 Private slot to handle the customContextMenuRequested signal of | 581 Private slot to handle the customContextMenuRequested signal of |
585 the viewlist. | 582 the viewlist. |
586 </p> | 583 </p> |
584 | |
587 <dl> | 585 <dl> |
588 | 586 |
589 <dt><i>point</i> (QPoint)</dt> | 587 <dt><i>point</i> (QPoint)</dt> |
590 <dd> | 588 <dd> |
591 position to open the menu at | 589 position to open the menu at |
592 </dd> | 590 </dd> |
593 </dl> | 591 </dl> |
594 <a NAME="Listspace.__showSelectedView" ID="Listspace.__showSelectedView"></a> | 592 <a NAME="Listspace.__showSelectedView" ID="Listspace.__showSelectedView"></a> |
595 <h4>Listspace.__showSelectedView</h4> | 593 <h4>Listspace.__showSelectedView</h4> |
596 <b>__showSelectedView</b>(<i>row</i>) | 594 <b>__showSelectedView</b>(<i>row</i>) |
597 | |
598 <p> | 595 <p> |
599 Private slot called to show a view selected in the list. | 596 Private slot called to show a view selected in the list. |
600 </p> | 597 </p> |
598 | |
601 <dl> | 599 <dl> |
602 | 600 |
603 <dt><i>row</i> (int)</dt> | 601 <dt><i>row</i> (int)</dt> |
604 <dd> | 602 <dd> |
605 row number of the item clicked on | 603 row number of the item clicked on |
606 </dd> | 604 </dd> |
607 </dl> | 605 </dl> |
608 <a NAME="Listspace._addView" ID="Listspace._addView"></a> | 606 <a NAME="Listspace._addView" ID="Listspace._addView"></a> |
609 <h4>Listspace._addView</h4> | 607 <h4>Listspace._addView</h4> |
610 <b>_addView</b>(<i>win, fn=None, noName="", addNext=False, indexes=None</i>) | 608 <b>_addView</b>(<i>win, fn=None, noName="", addNext=False, indexes=None</i>) |
611 | |
612 <p> | 609 <p> |
613 Protected method to add a view (i.e. window). | 610 Protected method to add a view (i.e. window). |
614 </p> | 611 </p> |
612 | |
615 <dl> | 613 <dl> |
616 | 614 |
617 <dt><i>win</i> (EditorAssembly)</dt> | 615 <dt><i>win</i> (EditorAssembly)</dt> |
618 <dd> | 616 <dd> |
619 editor assembly to be added | 617 editor assembly to be added |
638 </dd> | 636 </dd> |
639 </dl> | 637 </dl> |
640 <a NAME="Listspace._initWindowActions" ID="Listspace._initWindowActions"></a> | 638 <a NAME="Listspace._initWindowActions" ID="Listspace._initWindowActions"></a> |
641 <h4>Listspace._initWindowActions</h4> | 639 <h4>Listspace._initWindowActions</h4> |
642 <b>_initWindowActions</b>(<i></i>) | 640 <b>_initWindowActions</b>(<i></i>) |
643 | |
644 <p> | 641 <p> |
645 Protected method to define the user interface actions for window | 642 Protected method to define the user interface actions for window |
646 handling. | 643 handling. |
647 </p> | 644 </p> |
645 | |
648 <a NAME="Listspace._modificationStatusChanged" ID="Listspace._modificationStatusChanged"></a> | 646 <a NAME="Listspace._modificationStatusChanged" ID="Listspace._modificationStatusChanged"></a> |
649 <h4>Listspace._modificationStatusChanged</h4> | 647 <h4>Listspace._modificationStatusChanged</h4> |
650 <b>_modificationStatusChanged</b>(<i>modified, editor</i>) | 648 <b>_modificationStatusChanged</b>(<i>modified, editor</i>) |
651 | |
652 <p> | 649 <p> |
653 Protected slot to handle the modificationStatusChanged signal. | 650 Protected slot to handle the modificationStatusChanged signal. |
654 </p> | 651 </p> |
652 | |
655 <dl> | 653 <dl> |
656 | 654 |
657 <dt><i>modified</i> (bool)</dt> | 655 <dt><i>modified</i> (bool)</dt> |
658 <dd> | 656 <dd> |
659 flag indicating the modification status | 657 flag indicating the modification status |
664 </dd> | 662 </dd> |
665 </dl> | 663 </dl> |
666 <a NAME="Listspace._removeAllViews" ID="Listspace._removeAllViews"></a> | 664 <a NAME="Listspace._removeAllViews" ID="Listspace._removeAllViews"></a> |
667 <h4>Listspace._removeAllViews</h4> | 665 <h4>Listspace._removeAllViews</h4> |
668 <b>_removeAllViews</b>(<i></i>) | 666 <b>_removeAllViews</b>(<i></i>) |
669 | |
670 <p> | 667 <p> |
671 Protected method to remove all views (i.e. windows). | 668 Protected method to remove all views (i.e. windows). |
672 </p> | 669 </p> |
670 | |
673 <a NAME="Listspace._removeView" ID="Listspace._removeView"></a> | 671 <a NAME="Listspace._removeView" ID="Listspace._removeView"></a> |
674 <h4>Listspace._removeView</h4> | 672 <h4>Listspace._removeView</h4> |
675 <b>_removeView</b>(<i>win</i>) | 673 <b>_removeView</b>(<i>win</i>) |
676 | |
677 <p> | 674 <p> |
678 Protected method to remove a view (i.e. window). | 675 Protected method to remove a view (i.e. window). |
679 </p> | 676 </p> |
677 | |
680 <dl> | 678 <dl> |
681 | 679 |
682 <dt><i>win</i> (Editor)</dt> | 680 <dt><i>win</i> (Editor)</dt> |
683 <dd> | 681 <dd> |
684 editor window to be removed | 682 editor window to be removed |
685 </dd> | 683 </dd> |
686 </dl> | 684 </dl> |
687 <a NAME="Listspace._showView" ID="Listspace._showView"></a> | 685 <a NAME="Listspace._showView" ID="Listspace._showView"></a> |
688 <h4>Listspace._showView</h4> | 686 <h4>Listspace._showView</h4> |
689 <b>_showView</b>(<i>win, fn=None</i>) | 687 <b>_showView</b>(<i>win, fn=None</i>) |
690 | |
691 <p> | 688 <p> |
692 Protected method to show a view (i.e. window). | 689 Protected method to show a view (i.e. window). |
693 </p> | 690 </p> |
691 | |
694 <dl> | 692 <dl> |
695 | 693 |
696 <dt><i>win</i> (EditorAssembly)</dt> | 694 <dt><i>win</i> (EditorAssembly)</dt> |
697 <dd> | 695 <dd> |
698 editor assembly to be shown | 696 editor assembly to be shown |
703 </dd> | 701 </dd> |
704 </dl> | 702 </dl> |
705 <a NAME="Listspace._syntaxErrorToggled" ID="Listspace._syntaxErrorToggled"></a> | 703 <a NAME="Listspace._syntaxErrorToggled" ID="Listspace._syntaxErrorToggled"></a> |
706 <h4>Listspace._syntaxErrorToggled</h4> | 704 <h4>Listspace._syntaxErrorToggled</h4> |
707 <b>_syntaxErrorToggled</b>(<i>editor</i>) | 705 <b>_syntaxErrorToggled</b>(<i>editor</i>) |
708 | |
709 <p> | 706 <p> |
710 Protected slot to handle the syntaxerrorToggled signal. | 707 Protected slot to handle the syntaxerrorToggled signal. |
711 </p> | 708 </p> |
709 | |
712 <dl> | 710 <dl> |
713 | 711 |
714 <dt><i>editor</i> (Editor)</dt> | 712 <dt><i>editor</i> (Editor)</dt> |
715 <dd> | 713 <dd> |
716 editor that sent the signal | 714 editor that sent the signal |
717 </dd> | 715 </dd> |
718 </dl> | 716 </dl> |
719 <a NAME="Listspace.activeWindow" ID="Listspace.activeWindow"></a> | 717 <a NAME="Listspace.activeWindow" ID="Listspace.activeWindow"></a> |
720 <h4>Listspace.activeWindow</h4> | 718 <h4>Listspace.activeWindow</h4> |
721 <b>activeWindow</b>(<i></i>) | 719 <b>activeWindow</b>(<i></i>) |
722 | |
723 <p> | 720 <p> |
724 Public method to return the active (i.e. current) window. | 721 Public method to return the active (i.e. current) window. |
725 </p> | 722 </p> |
723 | |
726 <dl> | 724 <dl> |
727 <dt>Return:</dt> | 725 <dt>Return:</dt> |
728 <dd> | 726 <dd> |
729 reference to the active editor | 727 reference to the active editor |
730 </dd> | 728 </dd> |
736 </dd> | 734 </dd> |
737 </dl> | 735 </dl> |
738 <a NAME="Listspace.addSplit" ID="Listspace.addSplit"></a> | 736 <a NAME="Listspace.addSplit" ID="Listspace.addSplit"></a> |
739 <h4>Listspace.addSplit</h4> | 737 <h4>Listspace.addSplit</h4> |
740 <b>addSplit</b>(<i></i>) | 738 <b>addSplit</b>(<i></i>) |
741 | |
742 <p> | 739 <p> |
743 Public method used to split the current view. | 740 Public method used to split the current view. |
744 </p> | 741 </p> |
742 | |
745 <a NAME="Listspace.canCascade" ID="Listspace.canCascade"></a> | 743 <a NAME="Listspace.canCascade" ID="Listspace.canCascade"></a> |
746 <h4>Listspace.canCascade</h4> | 744 <h4>Listspace.canCascade</h4> |
747 <b>canCascade</b>(<i></i>) | 745 <b>canCascade</b>(<i></i>) |
748 | |
749 <p> | 746 <p> |
750 Public method to signal if cascading of managed windows is available. | 747 Public method to signal if cascading of managed windows is available. |
751 </p> | 748 </p> |
749 | |
752 <dl> | 750 <dl> |
753 <dt>Return:</dt> | 751 <dt>Return:</dt> |
754 <dd> | 752 <dd> |
755 flag indicating cascading of windows is available | 753 flag indicating cascading of windows is available |
756 </dd> | 754 </dd> |
762 </dd> | 760 </dd> |
763 </dl> | 761 </dl> |
764 <a NAME="Listspace.canSplit" ID="Listspace.canSplit"></a> | 762 <a NAME="Listspace.canSplit" ID="Listspace.canSplit"></a> |
765 <h4>Listspace.canSplit</h4> | 763 <h4>Listspace.canSplit</h4> |
766 <b>canSplit</b>(<i></i>) | 764 <b>canSplit</b>(<i></i>) |
767 | |
768 <p> | 765 <p> |
769 public method to signal if splitting of the view is available. | 766 public method to signal if splitting of the view is available. |
770 </p> | 767 </p> |
768 | |
771 <dl> | 769 <dl> |
772 <dt>Return:</dt> | 770 <dt>Return:</dt> |
773 <dd> | 771 <dd> |
774 flag indicating splitting of the view is available | 772 flag indicating splitting of the view is available |
775 </dd> | 773 </dd> |
781 </dd> | 779 </dd> |
782 </dl> | 780 </dl> |
783 <a NAME="Listspace.canTile" ID="Listspace.canTile"></a> | 781 <a NAME="Listspace.canTile" ID="Listspace.canTile"></a> |
784 <h4>Listspace.canTile</h4> | 782 <h4>Listspace.canTile</h4> |
785 <b>canTile</b>(<i></i>) | 783 <b>canTile</b>(<i></i>) |
786 | |
787 <p> | 784 <p> |
788 Public method to signal if tiling of managed windows is available. | 785 Public method to signal if tiling of managed windows is available. |
789 </p> | 786 </p> |
787 | |
790 <dl> | 788 <dl> |
791 <dt>Return:</dt> | 789 <dt>Return:</dt> |
792 <dd> | 790 <dd> |
793 flag indicating tiling of windows is available | 791 flag indicating tiling of windows is available |
794 </dd> | 792 </dd> |
800 </dd> | 798 </dd> |
801 </dl> | 799 </dl> |
802 <a NAME="Listspace.cascade" ID="Listspace.cascade"></a> | 800 <a NAME="Listspace.cascade" ID="Listspace.cascade"></a> |
803 <h4>Listspace.cascade</h4> | 801 <h4>Listspace.cascade</h4> |
804 <b>cascade</b>(<i></i>) | 802 <b>cascade</b>(<i></i>) |
805 | |
806 <p> | 803 <p> |
807 Public method to cascade the managed windows. | 804 Public method to cascade the managed windows. |
808 </p> | 805 </p> |
806 | |
809 <a NAME="Listspace.eventFilter" ID="Listspace.eventFilter"></a> | 807 <a NAME="Listspace.eventFilter" ID="Listspace.eventFilter"></a> |
810 <h4>Listspace.eventFilter</h4> | 808 <h4>Listspace.eventFilter</h4> |
811 <b>eventFilter</b>(<i>watched, event</i>) | 809 <b>eventFilter</b>(<i>watched, event</i>) |
812 | |
813 <p> | 810 <p> |
814 Public method called to filter the event queue. | 811 Public method called to filter the event queue. |
815 </p> | 812 </p> |
813 | |
816 <dl> | 814 <dl> |
817 | 815 |
818 <dt><i>watched</i> (QObject)</dt> | 816 <dt><i>watched</i> (QObject)</dt> |
819 <dd> | 817 <dd> |
820 the QObject being watched | 818 the QObject being watched |
837 </dd> | 835 </dd> |
838 </dl> | 836 </dl> |
839 <a NAME="Listspace.getOpenEditorsForSession" ID="Listspace.getOpenEditorsForSession"></a> | 837 <a NAME="Listspace.getOpenEditorsForSession" ID="Listspace.getOpenEditorsForSession"></a> |
840 <h4>Listspace.getOpenEditorsForSession</h4> | 838 <h4>Listspace.getOpenEditorsForSession</h4> |
841 <b>getOpenEditorsForSession</b>(<i></i>) | 839 <b>getOpenEditorsForSession</b>(<i></i>) |
842 | |
843 <p> | 840 <p> |
844 Public method to get a lists of all open editors. | 841 Public method to get a lists of all open editors. |
845 </p> | 842 </p> |
846 <p> | 843 <p> |
847 The returned list contains one list per split view. If the view manager | 844 The returned list contains one list per split view. If the view manager |
848 cannot split the view, only one list of editors is returned. | 845 cannot split the view, only one list of editors is returned. |
849 </p> | 846 </p> |
847 | |
850 <dl> | 848 <dl> |
851 <dt>Return:</dt> | 849 <dt>Return:</dt> |
852 <dd> | 850 <dd> |
853 list of list of editor references | 851 list of list of editor references |
854 </dd> | 852 </dd> |
860 </dd> | 858 </dd> |
861 </dl> | 859 </dl> |
862 <a NAME="Listspace.getSplitOrientation" ID="Listspace.getSplitOrientation"></a> | 860 <a NAME="Listspace.getSplitOrientation" ID="Listspace.getSplitOrientation"></a> |
863 <h4>Listspace.getSplitOrientation</h4> | 861 <h4>Listspace.getSplitOrientation</h4> |
864 <b>getSplitOrientation</b>(<i></i>) | 862 <b>getSplitOrientation</b>(<i></i>) |
865 | |
866 <p> | 863 <p> |
867 Public method to get the orientation of the split view. | 864 Public method to get the orientation of the split view. |
868 </p> | 865 </p> |
866 | |
869 <dl> | 867 <dl> |
870 <dt>Return:</dt> | 868 <dt>Return:</dt> |
871 <dd> | 869 <dd> |
872 orientation of the split | 870 orientation of the split |
873 </dd> | 871 </dd> |
879 </dd> | 877 </dd> |
880 </dl> | 878 </dl> |
881 <a NAME="Listspace.mainWidget" ID="Listspace.mainWidget"></a> | 879 <a NAME="Listspace.mainWidget" ID="Listspace.mainWidget"></a> |
882 <h4>Listspace.mainWidget</h4> | 880 <h4>Listspace.mainWidget</h4> |
883 <b>mainWidget</b>(<i></i>) | 881 <b>mainWidget</b>(<i></i>) |
884 | |
885 <p> | 882 <p> |
886 Public method to return a reference to the main Widget of a | 883 Public method to return a reference to the main Widget of a |
887 specific view manager subclass. | 884 specific view manager subclass. |
888 </p> | 885 </p> |
886 | |
889 <dl> | 887 <dl> |
890 <dt>Return:</dt> | 888 <dt>Return:</dt> |
891 <dd> | 889 <dd> |
892 reference to the main widget | 890 reference to the main widget |
893 </dd> | 891 </dd> |
899 </dd> | 897 </dd> |
900 </dl> | 898 </dl> |
901 <a NAME="Listspace.nextSplit" ID="Listspace.nextSplit"></a> | 899 <a NAME="Listspace.nextSplit" ID="Listspace.nextSplit"></a> |
902 <h4>Listspace.nextSplit</h4> | 900 <h4>Listspace.nextSplit</h4> |
903 <b>nextSplit</b>(<i></i>) | 901 <b>nextSplit</b>(<i></i>) |
904 | |
905 <p> | 902 <p> |
906 Public slot used to move to the next split. | 903 Public slot used to move to the next split. |
907 </p> | 904 </p> |
905 | |
908 <a NAME="Listspace.prevSplit" ID="Listspace.prevSplit"></a> | 906 <a NAME="Listspace.prevSplit" ID="Listspace.prevSplit"></a> |
909 <h4>Listspace.prevSplit</h4> | 907 <h4>Listspace.prevSplit</h4> |
910 <b>prevSplit</b>(<i></i>) | 908 <b>prevSplit</b>(<i></i>) |
911 | |
912 <p> | 909 <p> |
913 Public slot used to move to the previous split. | 910 Public slot used to move to the previous split. |
914 </p> | 911 </p> |
912 | |
915 <a NAME="Listspace.removeSplit" ID="Listspace.removeSplit"></a> | 913 <a NAME="Listspace.removeSplit" ID="Listspace.removeSplit"></a> |
916 <h4>Listspace.removeSplit</h4> | 914 <h4>Listspace.removeSplit</h4> |
917 <b>removeSplit</b>(<i>index=-1</i>) | 915 <b>removeSplit</b>(<i>index=-1</i>) |
918 | |
919 <p> | 916 <p> |
920 Public method used to remove the current split view or a split view | 917 Public method used to remove the current split view or a split view |
921 by index. | 918 by index. |
922 </p> | 919 </p> |
920 | |
923 <dl> | 921 <dl> |
924 | 922 |
925 <dt><i>index</i> (int)</dt> | 923 <dt><i>index</i> (int)</dt> |
926 <dd> | 924 <dd> |
927 index of the split to be removed (-1 means to | 925 index of the split to be removed (-1 means to |
941 </dd> | 939 </dd> |
942 </dl> | 940 </dl> |
943 <a NAME="Listspace.setEditorName" ID="Listspace.setEditorName"></a> | 941 <a NAME="Listspace.setEditorName" ID="Listspace.setEditorName"></a> |
944 <h4>Listspace.setEditorName</h4> | 942 <h4>Listspace.setEditorName</h4> |
945 <b>setEditorName</b>(<i>editor, newName</i>) | 943 <b>setEditorName</b>(<i>editor, newName</i>) |
946 | |
947 <p> | 944 <p> |
948 Public method to change the displayed name of the editor. | 945 Public method to change the displayed name of the editor. |
949 </p> | 946 </p> |
947 | |
950 <dl> | 948 <dl> |
951 | 949 |
952 <dt><i>editor</i> (Editor)</dt> | 950 <dt><i>editor</i> (Editor)</dt> |
953 <dd> | 951 <dd> |
954 editor window to be changed | 952 editor window to be changed |
959 </dd> | 957 </dd> |
960 </dl> | 958 </dl> |
961 <a NAME="Listspace.setSplitCount" ID="Listspace.setSplitCount"></a> | 959 <a NAME="Listspace.setSplitCount" ID="Listspace.setSplitCount"></a> |
962 <h4>Listspace.setSplitCount</h4> | 960 <h4>Listspace.setSplitCount</h4> |
963 <b>setSplitCount</b>(<i>count</i>) | 961 <b>setSplitCount</b>(<i>count</i>) |
964 | |
965 <p> | 962 <p> |
966 Public method to set the number of split views. | 963 Public method to set the number of split views. |
967 </p> | 964 </p> |
965 | |
968 <dl> | 966 <dl> |
969 | 967 |
970 <dt><i>count</i> (int)</dt> | 968 <dt><i>count</i> (int)</dt> |
971 <dd> | 969 <dd> |
972 number of split views | 970 number of split views |
973 </dd> | 971 </dd> |
974 </dl> | 972 </dl> |
975 <a NAME="Listspace.setSplitOrientation" ID="Listspace.setSplitOrientation"></a> | 973 <a NAME="Listspace.setSplitOrientation" ID="Listspace.setSplitOrientation"></a> |
976 <h4>Listspace.setSplitOrientation</h4> | 974 <h4>Listspace.setSplitOrientation</h4> |
977 <b>setSplitOrientation</b>(<i>orientation</i>) | 975 <b>setSplitOrientation</b>(<i>orientation</i>) |
978 | |
979 <p> | 976 <p> |
980 Public method used to set the orientation of the split view. | 977 Public method used to set the orientation of the split view. |
981 </p> | 978 </p> |
979 | |
982 <dl> | 980 <dl> |
983 | 981 |
984 <dt><i>orientation</i> (Qt.Orientation.Horizontal or Qt.Orientation.Vertical)</dt> | 982 <dt><i>orientation</i> (Qt.Orientation.Horizontal or Qt.Orientation.Vertical)</dt> |
985 <dd> | 983 <dd> |
986 orientation of the split | 984 orientation of the split |
987 </dd> | 985 </dd> |
988 </dl> | 986 </dl> |
989 <a NAME="Listspace.showWindowMenu" ID="Listspace.showWindowMenu"></a> | 987 <a NAME="Listspace.showWindowMenu" ID="Listspace.showWindowMenu"></a> |
990 <h4>Listspace.showWindowMenu</h4> | 988 <h4>Listspace.showWindowMenu</h4> |
991 <b>showWindowMenu</b>(<i>windowMenu</i>) | 989 <b>showWindowMenu</b>(<i>windowMenu</i>) |
992 | |
993 <p> | 990 <p> |
994 Public method to set up the viewmanager part of the Window menu. | 991 Public method to set up the viewmanager part of the Window menu. |
995 </p> | 992 </p> |
993 | |
996 <dl> | 994 <dl> |
997 | 995 |
998 <dt><i>windowMenu</i> (QMenu)</dt> | 996 <dt><i>windowMenu</i> (QMenu)</dt> |
999 <dd> | 997 <dd> |
1000 reference to the window menu | 998 reference to the window menu |
1001 </dd> | 999 </dd> |
1002 </dl> | 1000 </dl> |
1003 <a NAME="Listspace.splitCount" ID="Listspace.splitCount"></a> | 1001 <a NAME="Listspace.splitCount" ID="Listspace.splitCount"></a> |
1004 <h4>Listspace.splitCount</h4> | 1002 <h4>Listspace.splitCount</h4> |
1005 <b>splitCount</b>(<i></i>) | 1003 <b>splitCount</b>(<i></i>) |
1006 | |
1007 <p> | 1004 <p> |
1008 Public method to get the number of splitted views. | 1005 Public method to get the number of splitted views. |
1009 </p> | 1006 </p> |
1007 | |
1010 <dl> | 1008 <dl> |
1011 <dt>Return:</dt> | 1009 <dt>Return:</dt> |
1012 <dd> | 1010 <dd> |
1013 number of splitted views | 1011 number of splitted views |
1014 </dd> | 1012 </dd> |
1020 </dd> | 1018 </dd> |
1021 </dl> | 1019 </dl> |
1022 <a NAME="Listspace.tile" ID="Listspace.tile"></a> | 1020 <a NAME="Listspace.tile" ID="Listspace.tile"></a> |
1023 <h4>Listspace.tile</h4> | 1021 <h4>Listspace.tile</h4> |
1024 <b>tile</b>(<i></i>) | 1022 <b>tile</b>(<i></i>) |
1025 | |
1026 <p> | 1023 <p> |
1027 Public method to tile the managed windows. | 1024 Public method to tile the managed windows. |
1028 </p> | 1025 </p> |
1026 | |
1029 <div align="right"><a href="#top">Up</a></div> | 1027 <div align="right"><a href="#top">Up</a></div> |
1030 <hr /> | 1028 <hr /> |
1031 <hr /> | 1029 <hr /> |
1032 <a NAME="StackedWidget" ID="StackedWidget"></a> | 1030 <a NAME="StackedWidget" ID="StackedWidget"></a> |
1033 <h2>StackedWidget</h2> | 1031 <h2>StackedWidget</h2> |
1034 | |
1035 <p> | 1032 <p> |
1036 Class implementing a custimized StackedWidget. | 1033 Class implementing a custimized StackedWidget. |
1037 </p> | 1034 </p> |
1035 | |
1038 <h3>Derived from</h3> | 1036 <h3>Derived from</h3> |
1039 QStackedWidget | 1037 QStackedWidget |
1040 <h3>Class Attributes</h3> | 1038 <h3>Class Attributes</h3> |
1041 | |
1042 <table> | 1039 <table> |
1043 <tr><td>None</td></tr> | 1040 <tr><td>None</td></tr> |
1044 </table> | 1041 </table> |
1042 | |
1045 <h3>Class Methods</h3> | 1043 <h3>Class Methods</h3> |
1046 | |
1047 <table> | 1044 <table> |
1048 <tr><td>None</td></tr> | 1045 <tr><td>None</td></tr> |
1049 </table> | 1046 </table> |
1047 | |
1050 <h3>Methods</h3> | 1048 <h3>Methods</h3> |
1051 | |
1052 <table> | 1049 <table> |
1053 | |
1054 <tr> | 1050 <tr> |
1055 <td><a href="#StackedWidget.__init__">StackedWidget</a></td> | 1051 <td><a href="#StackedWidget.__init__">StackedWidget</a></td> |
1056 <td>Constructor</td> | 1052 <td>Constructor</td> |
1057 </tr> | 1053 </tr> |
1058 <tr> | 1054 <tr> |
1090 <tr> | 1086 <tr> |
1091 <td><a href="#StackedWidget.setCurrentWidget">setCurrentWidget</a></td> | 1087 <td><a href="#StackedWidget.setCurrentWidget">setCurrentWidget</a></td> |
1092 <td>Public method to set the current widget.</td> | 1088 <td>Public method to set the current widget.</td> |
1093 </tr> | 1089 </tr> |
1094 </table> | 1090 </table> |
1091 | |
1095 <h3>Static Methods</h3> | 1092 <h3>Static Methods</h3> |
1096 | |
1097 <table> | 1093 <table> |
1098 <tr><td>None</td></tr> | 1094 <tr><td>None</td></tr> |
1099 </table> | 1095 </table> |
1100 | 1096 |
1097 | |
1101 <a NAME="StackedWidget.__init__" ID="StackedWidget.__init__"></a> | 1098 <a NAME="StackedWidget.__init__" ID="StackedWidget.__init__"></a> |
1102 <h4>StackedWidget (Constructor)</h4> | 1099 <h4>StackedWidget (Constructor)</h4> |
1103 <b>StackedWidget</b>(<i>parent</i>) | 1100 <b>StackedWidget</b>(<i>parent</i>) |
1104 | |
1105 <p> | 1101 <p> |
1106 Constructor | 1102 Constructor |
1107 </p> | 1103 </p> |
1104 | |
1108 <dl> | 1105 <dl> |
1109 | 1106 |
1110 <dt><i>parent</i> (QWidget)</dt> | 1107 <dt><i>parent</i> (QWidget)</dt> |
1111 <dd> | 1108 <dd> |
1112 parent widget | 1109 parent widget |
1113 </dd> | 1110 </dd> |
1114 </dl> | 1111 </dl> |
1115 <a NAME="StackedWidget.addWidget" ID="StackedWidget.addWidget"></a> | 1112 <a NAME="StackedWidget.addWidget" ID="StackedWidget.addWidget"></a> |
1116 <h4>StackedWidget.addWidget</h4> | 1113 <h4>StackedWidget.addWidget</h4> |
1117 <b>addWidget</b>(<i>assembly</i>) | 1114 <b>addWidget</b>(<i>assembly</i>) |
1118 | |
1119 <p> | 1115 <p> |
1120 Public method to add a new widget. | 1116 Public method to add a new widget. |
1121 </p> | 1117 </p> |
1118 | |
1122 <dl> | 1119 <dl> |
1123 | 1120 |
1124 <dt><i>assembly</i> (QScintilla.EditorAssembly.EditorAssembly)</dt> | 1121 <dt><i>assembly</i> (QScintilla.EditorAssembly.EditorAssembly)</dt> |
1125 <dd> | 1122 <dd> |
1126 editor assembly object to be added | 1123 editor assembly object to be added |
1127 </dd> | 1124 </dd> |
1128 </dl> | 1125 </dl> |
1129 <a NAME="StackedWidget.currentWidget" ID="StackedWidget.currentWidget"></a> | 1126 <a NAME="StackedWidget.currentWidget" ID="StackedWidget.currentWidget"></a> |
1130 <h4>StackedWidget.currentWidget</h4> | 1127 <h4>StackedWidget.currentWidget</h4> |
1131 <b>currentWidget</b>(<i></i>) | 1128 <b>currentWidget</b>(<i></i>) |
1132 | |
1133 <p> | 1129 <p> |
1134 Public method to get a reference to the current editor. | 1130 Public method to get a reference to the current editor. |
1135 </p> | 1131 </p> |
1132 | |
1136 <dl> | 1133 <dl> |
1137 <dt>Return:</dt> | 1134 <dt>Return:</dt> |
1138 <dd> | 1135 <dd> |
1139 reference to the current editor | 1136 reference to the current editor |
1140 </dd> | 1137 </dd> |
1146 </dd> | 1143 </dd> |
1147 </dl> | 1144 </dl> |
1148 <a NAME="StackedWidget.firstEditor" ID="StackedWidget.firstEditor"></a> | 1145 <a NAME="StackedWidget.firstEditor" ID="StackedWidget.firstEditor"></a> |
1149 <h4>StackedWidget.firstEditor</h4> | 1146 <h4>StackedWidget.firstEditor</h4> |
1150 <b>firstEditor</b>(<i></i>) | 1147 <b>firstEditor</b>(<i></i>) |
1151 | |
1152 <p> | 1148 <p> |
1153 Public method to retrieve the first editor in the list of managed | 1149 Public method to retrieve the first editor in the list of managed |
1154 editors. | 1150 editors. |
1155 </p> | 1151 </p> |
1152 | |
1156 <dl> | 1153 <dl> |
1157 <dt>Return:</dt> | 1154 <dt>Return:</dt> |
1158 <dd> | 1155 <dd> |
1159 first editor in list | 1156 first editor in list |
1160 </dd> | 1157 </dd> |
1166 </dd> | 1163 </dd> |
1167 </dl> | 1164 </dl> |
1168 <a NAME="StackedWidget.hasEditor" ID="StackedWidget.hasEditor"></a> | 1165 <a NAME="StackedWidget.hasEditor" ID="StackedWidget.hasEditor"></a> |
1169 <h4>StackedWidget.hasEditor</h4> | 1166 <h4>StackedWidget.hasEditor</h4> |
1170 <b>hasEditor</b>(<i>editor</i>) | 1167 <b>hasEditor</b>(<i>editor</i>) |
1171 | |
1172 <p> | 1168 <p> |
1173 Public method to check for an editor. | 1169 Public method to check for an editor. |
1174 </p> | 1170 </p> |
1171 | |
1175 <dl> | 1172 <dl> |
1176 | 1173 |
1177 <dt><i>editor</i> (Editor)</dt> | 1174 <dt><i>editor</i> (Editor)</dt> |
1178 <dd> | 1175 <dd> |
1179 editor object to check for | 1176 editor object to check for |
1193 </dd> | 1190 </dd> |
1194 </dl> | 1191 </dl> |
1195 <a NAME="StackedWidget.nextTab" ID="StackedWidget.nextTab"></a> | 1192 <a NAME="StackedWidget.nextTab" ID="StackedWidget.nextTab"></a> |
1196 <h4>StackedWidget.nextTab</h4> | 1193 <h4>StackedWidget.nextTab</h4> |
1197 <b>nextTab</b>(<i></i>) | 1194 <b>nextTab</b>(<i></i>) |
1198 | |
1199 <p> | 1195 <p> |
1200 Public slot used to show the next tab. | 1196 Public slot used to show the next tab. |
1201 </p> | 1197 </p> |
1198 | |
1202 <a NAME="StackedWidget.prevTab" ID="StackedWidget.prevTab"></a> | 1199 <a NAME="StackedWidget.prevTab" ID="StackedWidget.prevTab"></a> |
1203 <h4>StackedWidget.prevTab</h4> | 1200 <h4>StackedWidget.prevTab</h4> |
1204 <b>prevTab</b>(<i></i>) | 1201 <b>prevTab</b>(<i></i>) |
1205 | |
1206 <p> | 1202 <p> |
1207 Public slot used to show the previous tab. | 1203 Public slot used to show the previous tab. |
1208 </p> | 1204 </p> |
1205 | |
1209 <a NAME="StackedWidget.removeWidget" ID="StackedWidget.removeWidget"></a> | 1206 <a NAME="StackedWidget.removeWidget" ID="StackedWidget.removeWidget"></a> |
1210 <h4>StackedWidget.removeWidget</h4> | 1207 <h4>StackedWidget.removeWidget</h4> |
1211 <b>removeWidget</b>(<i>widget</i>) | 1208 <b>removeWidget</b>(<i>widget</i>) |
1212 | |
1213 <p> | 1209 <p> |
1214 Public method to remove a widget. | 1210 Public method to remove a widget. |
1215 </p> | 1211 </p> |
1212 | |
1216 <dl> | 1213 <dl> |
1217 | 1214 |
1218 <dt><i>widget</i> (QWidget)</dt> | 1215 <dt><i>widget</i> (QWidget)</dt> |
1219 <dd> | 1216 <dd> |
1220 widget to be removed | 1217 widget to be removed |
1221 </dd> | 1218 </dd> |
1222 </dl> | 1219 </dl> |
1223 <a NAME="StackedWidget.setCurrentIndex" ID="StackedWidget.setCurrentIndex"></a> | 1220 <a NAME="StackedWidget.setCurrentIndex" ID="StackedWidget.setCurrentIndex"></a> |
1224 <h4>StackedWidget.setCurrentIndex</h4> | 1221 <h4>StackedWidget.setCurrentIndex</h4> |
1225 <b>setCurrentIndex</b>(<i>index</i>) | 1222 <b>setCurrentIndex</b>(<i>index</i>) |
1226 | |
1227 <p> | 1223 <p> |
1228 Public method to set the current widget by its index. | 1224 Public method to set the current widget by its index. |
1229 </p> | 1225 </p> |
1226 | |
1230 <dl> | 1227 <dl> |
1231 | 1228 |
1232 <dt><i>index</i> (int)</dt> | 1229 <dt><i>index</i> (int)</dt> |
1233 <dd> | 1230 <dd> |
1234 index of widget to be made current | 1231 index of widget to be made current |
1235 </dd> | 1232 </dd> |
1236 </dl> | 1233 </dl> |
1237 <a NAME="StackedWidget.setCurrentWidget" ID="StackedWidget.setCurrentWidget"></a> | 1234 <a NAME="StackedWidget.setCurrentWidget" ID="StackedWidget.setCurrentWidget"></a> |
1238 <h4>StackedWidget.setCurrentWidget</h4> | 1235 <h4>StackedWidget.setCurrentWidget</h4> |
1239 <b>setCurrentWidget</b>(<i>widget</i>) | 1236 <b>setCurrentWidget</b>(<i>widget</i>) |
1240 | |
1241 <p> | 1237 <p> |
1242 Public method to set the current widget. | 1238 Public method to set the current widget. |
1243 </p> | 1239 </p> |
1240 | |
1244 <dl> | 1241 <dl> |
1245 | 1242 |
1246 <dt><i>widget</i> (QWidget)</dt> | 1243 <dt><i>widget</i> (QWidget)</dt> |
1247 <dd> | 1244 <dd> |
1248 widget to be made current | 1245 widget to be made current |