Documentation/Source/eric6.Plugins.ViewManagerPlugins.Listspace.Listspace.html

changeset 6052
8b49d3e0b4c8
parent 5606
da305d172769
child 6123
39cd368143db
equal deleted inserted replaced
6051:6e09a9a73cb7 6052:8b49d3e0b4c8
221 <td>Public method to cascade the managed windows.</td> 221 <td>Public method to cascade the managed windows.</td>
222 </tr><tr> 222 </tr><tr>
223 <td><a href="#Listspace.eventFilter">eventFilter</a></td> 223 <td><a href="#Listspace.eventFilter">eventFilter</a></td>
224 <td>Public method called to filter the event queue.</td> 224 <td>Public method called to filter the event queue.</td>
225 </tr><tr> 225 </tr><tr>
226 <td><a href="#Listspace.getOpenEditorsForSession">getOpenEditorsForSession</a></td>
227 <td>Public method to get a lists of all open editors.</td>
228 </tr><tr>
226 <td><a href="#Listspace.getSplitOrientation">getSplitOrientation</a></td> 229 <td><a href="#Listspace.getSplitOrientation">getSplitOrientation</a></td>
227 <td>Public method to get the orientation of the split view.</td> 230 <td>Public method to get the orientation of the split view.</td>
228 </tr><tr> 231 </tr><tr>
229 <td><a href="#Listspace.mainWidget">mainWidget</a></td> 232 <td><a href="#Listspace.mainWidget">mainWidget</a></td>
230 <td>Public method to return a reference to the main Widget of a specific view manager subclass.</td> 233 <td>Public method to return a reference to the main Widget of a specific view manager subclass.</td>
234 </tr><tr> 237 </tr><tr>
235 <td><a href="#Listspace.prevSplit">prevSplit</a></td> 238 <td><a href="#Listspace.prevSplit">prevSplit</a></td>
236 <td>Public slot used to move to the previous split.</td> 239 <td>Public slot used to move to the previous split.</td>
237 </tr><tr> 240 </tr><tr>
238 <td><a href="#Listspace.removeSplit">removeSplit</a></td> 241 <td><a href="#Listspace.removeSplit">removeSplit</a></td>
239 <td>Public method used to remove the current split view.</td> 242 <td>Public method used to remove the current split view or a split view by index.</td>
240 </tr><tr> 243 </tr><tr>
241 <td><a href="#Listspace.setEditorName">setEditorName</a></td> 244 <td><a href="#Listspace.setEditorName">setEditorName</a></td>
242 <td>Public method to change the displayed name of the editor.</td> 245 <td>Public method to change the displayed name of the editor.</td>
243 </tr><tr> 246 </tr><tr>
247 <td><a href="#Listspace.setSplitCount">setSplitCount</a></td>
248 <td>Public method to set the number of split views.</td>
249 </tr><tr>
244 <td><a href="#Listspace.setSplitOrientation">setSplitOrientation</a></td> 250 <td><a href="#Listspace.setSplitOrientation">setSplitOrientation</a></td>
245 <td>Public method used to set the orientation of the split view.</td> 251 <td>Public method used to set the orientation of the split view.</td>
246 </tr><tr> 252 </tr><tr>
247 <td><a href="#Listspace.showWindowMenu">showWindowMenu</a></td> 253 <td><a href="#Listspace.showWindowMenu">showWindowMenu</a></td>
248 <td>Public method to set up the viewmanager part of the Window menu.</td> 254 <td>Public method to set up the viewmanager part of the Window menu.</td>
255 </tr><tr>
256 <td><a href="#Listspace.splitCount">splitCount</a></td>
257 <td>Public method to get the number of splitted views.</td>
249 </tr><tr> 258 </tr><tr>
250 <td><a href="#Listspace.tile">tile</a></td> 259 <td><a href="#Listspace.tile">tile</a></td>
251 <td>Public method to tile the managed windows.</td> 260 <td>Public method to tile the managed windows.</td>
252 </tr> 261 </tr>
253 </table> 262 </table>
259 <h4>Listspace (Constructor)</h4> 268 <h4>Listspace (Constructor)</h4>
260 <b>Listspace</b>(<i>parent</i>) 269 <b>Listspace</b>(<i>parent</i>)
261 <p> 270 <p>
262 Constructor 271 Constructor
263 </p><dl> 272 </p><dl>
264 <dt><i>parent</i></dt> 273 <dt><i>parent</i> (QWidget)</dt>
265 <dd> 274 <dd>
266 parent widget (QWidget) 275 parent widget
267 </dd> 276 </dd>
268 </dl><a NAME="Listspace.__captionChange" ID="Listspace.__captionChange"></a> 277 </dl><a NAME="Listspace.__captionChange" ID="Listspace.__captionChange"></a>
269 <h4>Listspace.__captionChange</h4> 278 <h4>Listspace.__captionChange</h4>
270 <b>__captionChange</b>(<i>cap, editor</i>) 279 <b>__captionChange</b>(<i>cap, editor</i>)
271 <p> 280 <p>
272 Private method to handle caption change signals from the editor. 281 Private method to handle caption change signals from the editor.
273 </p><p> 282 </p><p>
274 Updates the listwidget text to reflect the new caption information. 283 Updates the listwidget text to reflect the new caption information.
275 </p><dl> 284 </p><dl>
276 <dt><i>cap</i></dt> 285 <dt><i>cap</i> (str)</dt>
277 <dd> 286 <dd>
278 Caption for the editor (string) 287 Caption for the editor
279 </dd><dt><i>editor</i></dt> 288 </dd><dt><i>editor</i> (Editor)</dt>
280 <dd> 289 <dd>
281 Editor to update the caption for 290 Editor to update the caption for
282 </dd> 291 </dd>
283 </dl><a NAME="Listspace.__contextMenuClose" ID="Listspace.__contextMenuClose"></a> 292 </dl><a NAME="Listspace.__contextMenuClose" ID="Listspace.__contextMenuClose"></a>
284 <h4>Listspace.__contextMenuClose</h4> 293 <h4>Listspace.__contextMenuClose</h4>
331 <h4>Listspace.__currentChanged</h4> 340 <h4>Listspace.__currentChanged</h4>
332 <b>__currentChanged</b>(<i>index</i>) 341 <b>__currentChanged</b>(<i>index</i>)
333 <p> 342 <p>
334 Private slot to handle the currentChanged signal. 343 Private slot to handle the currentChanged signal.
335 </p><dl> 344 </p><dl>
336 <dt><i>index</i></dt> 345 <dt><i>index</i> (int)</dt>
337 <dd> 346 <dd>
338 index of the current editor 347 index of the current editor
339 </dd> 348 </dd>
340 </dl><a NAME="Listspace.__cursorLineChanged" ID="Listspace.__cursorLineChanged"></a> 349 </dl><a NAME="Listspace.__cursorLineChanged" ID="Listspace.__cursorLineChanged"></a>
341 <h4>Listspace.__cursorLineChanged</h4> 350 <h4>Listspace.__cursorLineChanged</h4>
342 <b>__cursorLineChanged</b>(<i>lineno</i>) 351 <b>__cursorLineChanged</b>(<i>lineno</i>)
343 <p> 352 <p>
344 Private slot to handle a change of the current editor's cursor line. 353 Private slot to handle a change of the current editor's cursor line.
345 </p><dl> 354 </p><dl>
346 <dt><i>lineno</i></dt> 355 <dt><i>lineno</i> (int)</dt>
347 <dd> 356 <dd>
348 line number of the current editor's cursor (zero based) 357 line number of the current editor's cursor (zero based)
349 </dd> 358 </dd>
350 </dl><a NAME="Listspace.__initMenu" ID="Listspace.__initMenu"></a> 359 </dl><a NAME="Listspace.__initMenu" ID="Listspace.__initMenu"></a>
351 <h4>Listspace.__initMenu</h4> 360 <h4>Listspace.__initMenu</h4>
357 <b>__showMenu</b>(<i>point</i>) 366 <b>__showMenu</b>(<i>point</i>)
358 <p> 367 <p>
359 Private slot to handle the customContextMenuRequested signal of 368 Private slot to handle the customContextMenuRequested signal of
360 the viewlist. 369 the viewlist.
361 </p><dl> 370 </p><dl>
362 <dt><i>point</i></dt> 371 <dt><i>point</i> (QPoint)</dt>
363 <dd> 372 <dd>
364 position to open the menu at (QPoint) 373 position to open the menu at
365 </dd> 374 </dd>
366 </dl><a NAME="Listspace.__showSelectedView" ID="Listspace.__showSelectedView"></a> 375 </dl><a NAME="Listspace.__showSelectedView" ID="Listspace.__showSelectedView"></a>
367 <h4>Listspace.__showSelectedView</h4> 376 <h4>Listspace.__showSelectedView</h4>
368 <b>__showSelectedView</b>(<i>row</i>) 377 <b>__showSelectedView</b>(<i>row</i>)
369 <p> 378 <p>
370 Private slot called to show a view selected in the list. 379 Private slot called to show a view selected in the list.
371 </p><dl> 380 </p><dl>
372 <dt><i>row</i></dt> 381 <dt><i>row</i> (int)</dt>
373 <dd> 382 <dd>
374 row number of the item clicked on (integer) 383 row number of the item clicked on
375 </dd> 384 </dd>
376 </dl><a NAME="Listspace._addView" ID="Listspace._addView"></a> 385 </dl><a NAME="Listspace._addView" ID="Listspace._addView"></a>
377 <h4>Listspace._addView</h4> 386 <h4>Listspace._addView</h4>
378 <b>_addView</b>(<i>win, fn=None, noName="", addNext=False</i>) 387 <b>_addView</b>(<i>win, fn=None, noName="", addNext=False, indexes=None</i>)
379 <p> 388 <p>
380 Protected method to add a view (i.e. window). 389 Protected method to add a view (i.e. window).
381 </p><dl> 390 </p><dl>
382 <dt><i>win</i></dt> 391 <dt><i>win</i> (EditorAssembly)</dt>
383 <dd> 392 <dd>
384 editor assembly to be added 393 editor assembly to be added
385 </dd><dt><i>fn</i></dt> 394 </dd><dt><i>fn</i> (str)</dt>
386 <dd> 395 <dd>
387 filename of this editor (string) 396 filename of this editor
388 </dd><dt><i>noName</i></dt> 397 </dd><dt><i>noName</i> (str)</dt>
389 <dd> 398 <dd>
390 name to be used for an unnamed editor (string) 399 name to be used for an unnamed editor
391 </dd><dt><i>addNext</i></dt> 400 </dd><dt><i>addNext</i> (bool)</dt>
392 <dd> 401 <dd>
393 flag indicating to add the view next to the current 402 flag indicating to add the view next to the current
394 view (bool) 403 view
404 </dd><dt><i>indexes</i> (tuple of two int)</dt>
405 <dd>
406 of the editor, first the split view index, second the
407 index within the view
395 </dd> 408 </dd>
396 </dl><a NAME="Listspace._initWindowActions" ID="Listspace._initWindowActions"></a> 409 </dl><a NAME="Listspace._initWindowActions" ID="Listspace._initWindowActions"></a>
397 <h4>Listspace._initWindowActions</h4> 410 <h4>Listspace._initWindowActions</h4>
398 <b>_initWindowActions</b>(<i></i>) 411 <b>_initWindowActions</b>(<i></i>)
399 <p> 412 <p>
403 <h4>Listspace._modificationStatusChanged</h4> 416 <h4>Listspace._modificationStatusChanged</h4>
404 <b>_modificationStatusChanged</b>(<i>m, editor</i>) 417 <b>_modificationStatusChanged</b>(<i>m, editor</i>)
405 <p> 418 <p>
406 Protected slot to handle the modificationStatusChanged signal. 419 Protected slot to handle the modificationStatusChanged signal.
407 </p><dl> 420 </p><dl>
408 <dt><i>m</i></dt> 421 <dt><i>m</i> (bool)</dt>
409 <dd> 422 <dd>
410 flag indicating the modification status (boolean) 423 flag indicating the modification status
411 </dd><dt><i>editor</i></dt> 424 </dd><dt><i>editor</i> (Editor)</dt>
412 <dd> 425 <dd>
413 editor window changed 426 editor window changed
414 </dd> 427 </dd>
415 </dl><a NAME="Listspace._removeAllViews" ID="Listspace._removeAllViews"></a> 428 </dl><a NAME="Listspace._removeAllViews" ID="Listspace._removeAllViews"></a>
416 <h4>Listspace._removeAllViews</h4> 429 <h4>Listspace._removeAllViews</h4>
421 <h4>Listspace._removeView</h4> 434 <h4>Listspace._removeView</h4>
422 <b>_removeView</b>(<i>win</i>) 435 <b>_removeView</b>(<i>win</i>)
423 <p> 436 <p>
424 Protected method to remove a view (i.e. window). 437 Protected method to remove a view (i.e. window).
425 </p><dl> 438 </p><dl>
426 <dt><i>win</i></dt> 439 <dt><i>win</i> (Editor)</dt>
427 <dd> 440 <dd>
428 editor window to be removed 441 editor window to be removed
429 </dd> 442 </dd>
430 </dl><a NAME="Listspace._showView" ID="Listspace._showView"></a> 443 </dl><a NAME="Listspace._showView" ID="Listspace._showView"></a>
431 <h4>Listspace._showView</h4> 444 <h4>Listspace._showView</h4>
432 <b>_showView</b>(<i>win, fn=None</i>) 445 <b>_showView</b>(<i>win, fn=None</i>)
433 <p> 446 <p>
434 Protected method to show a view (i.e. window). 447 Protected method to show a view (i.e. window).
435 </p><dl> 448 </p><dl>
436 <dt><i>win</i></dt> 449 <dt><i>win</i> (EditorAssembly)</dt>
437 <dd> 450 <dd>
438 editor assembly to be shown 451 editor assembly to be shown
439 </dd><dt><i>fn</i></dt> 452 </dd><dt><i>fn</i> (string)</dt>
440 <dd> 453 <dd>
441 filename of this editor (string) 454 filename of this editor
442 </dd> 455 </dd>
443 </dl><a NAME="Listspace._syntaxErrorToggled" ID="Listspace._syntaxErrorToggled"></a> 456 </dl><a NAME="Listspace._syntaxErrorToggled" ID="Listspace._syntaxErrorToggled"></a>
444 <h4>Listspace._syntaxErrorToggled</h4> 457 <h4>Listspace._syntaxErrorToggled</h4>
445 <b>_syntaxErrorToggled</b>(<i>editor</i>) 458 <b>_syntaxErrorToggled</b>(<i>editor</i>)
446 <p> 459 <p>
447 Protected slot to handle the syntaxerrorToggled signal. 460 Protected slot to handle the syntaxerrorToggled signal.
448 </p><dl> 461 </p><dl>
449 <dt><i>editor</i></dt> 462 <dt><i>editor</i> (Editor)</dt>
450 <dd> 463 <dd>
451 editor that sent the signal 464 editor that sent the signal
452 </dd> 465 </dd>
453 </dl><a NAME="Listspace.activeWindow" ID="Listspace.activeWindow"></a> 466 </dl><a NAME="Listspace.activeWindow" ID="Listspace.activeWindow"></a>
454 <h4>Listspace.activeWindow</h4> 467 <h4>Listspace.activeWindow</h4>
457 Public method to return the active (i.e. current) window. 470 Public method to return the active (i.e. current) window.
458 </p><dl> 471 </p><dl>
459 <dt>Returns:</dt> 472 <dt>Returns:</dt>
460 <dd> 473 <dd>
461 reference to the active editor 474 reference to the active editor
475 </dd>
476 </dl><dl>
477 <dt>Return Type:</dt>
478 <dd>
479 EditorAssembly
462 </dd> 480 </dd>
463 </dl><a NAME="Listspace.addSplit" ID="Listspace.addSplit"></a> 481 </dl><a NAME="Listspace.addSplit" ID="Listspace.addSplit"></a>
464 <h4>Listspace.addSplit</h4> 482 <h4>Listspace.addSplit</h4>
465 <b>addSplit</b>(<i></i>) 483 <b>addSplit</b>(<i></i>)
466 <p> 484 <p>
473 </p><dl> 491 </p><dl>
474 <dt>Returns:</dt> 492 <dt>Returns:</dt>
475 <dd> 493 <dd>
476 flag indicating cascading of windows is available 494 flag indicating cascading of windows is available
477 </dd> 495 </dd>
496 </dl><dl>
497 <dt>Return Type:</dt>
498 <dd>
499 bool
500 </dd>
478 </dl><a NAME="Listspace.canSplit" ID="Listspace.canSplit"></a> 501 </dl><a NAME="Listspace.canSplit" ID="Listspace.canSplit"></a>
479 <h4>Listspace.canSplit</h4> 502 <h4>Listspace.canSplit</h4>
480 <b>canSplit</b>(<i></i>) 503 <b>canSplit</b>(<i></i>)
481 <p> 504 <p>
482 public method to signal if splitting of the view is available. 505 public method to signal if splitting of the view is available.
483 </p><dl> 506 </p><dl>
484 <dt>Returns:</dt> 507 <dt>Returns:</dt>
485 <dd> 508 <dd>
486 flag indicating splitting of the view is available. 509 flag indicating splitting of the view is available
510 </dd>
511 </dl><dl>
512 <dt>Return Type:</dt>
513 <dd>
514 bool
487 </dd> 515 </dd>
488 </dl><a NAME="Listspace.canTile" ID="Listspace.canTile"></a> 516 </dl><a NAME="Listspace.canTile" ID="Listspace.canTile"></a>
489 <h4>Listspace.canTile</h4> 517 <h4>Listspace.canTile</h4>
490 <b>canTile</b>(<i></i>) 518 <b>canTile</b>(<i></i>)
491 <p> 519 <p>
492 Public method to signal if tiling of managed windows is available. 520 Public method to signal if tiling of managed windows is available.
493 </p><dl> 521 </p><dl>
494 <dt>Returns:</dt> 522 <dt>Returns:</dt>
495 <dd> 523 <dd>
496 flag indicating tiling of windows is available 524 flag indicating tiling of windows is available
525 </dd>
526 </dl><dl>
527 <dt>Return Type:</dt>
528 <dd>
529 bool
497 </dd> 530 </dd>
498 </dl><a NAME="Listspace.cascade" ID="Listspace.cascade"></a> 531 </dl><a NAME="Listspace.cascade" ID="Listspace.cascade"></a>
499 <h4>Listspace.cascade</h4> 532 <h4>Listspace.cascade</h4>
500 <b>cascade</b>(<i></i>) 533 <b>cascade</b>(<i></i>)
501 <p> 534 <p>
504 <h4>Listspace.eventFilter</h4> 537 <h4>Listspace.eventFilter</h4>
505 <b>eventFilter</b>(<i>watched, event</i>) 538 <b>eventFilter</b>(<i>watched, event</i>)
506 <p> 539 <p>
507 Public method called to filter the event queue. 540 Public method called to filter the event queue.
508 </p><dl> 541 </p><dl>
509 <dt><i>watched</i></dt> 542 <dt><i>watched</i> (QObject)</dt>
510 <dd> 543 <dd>
511 the QObject being watched 544 the QObject being watched
512 </dd><dt><i>event</i></dt> 545 </dd><dt><i>event</i> (QEvent)</dt>
513 <dd> 546 <dd>
514 the event that occurred 547 the event that occurred
515 </dd> 548 </dd>
516 </dl><dl> 549 </dl><dl>
517 <dt>Returns:</dt> 550 <dt>Returns:</dt>
518 <dd> 551 <dd>
519 flag indicating, if we handled the event 552 flag indicating, if we handled the event
553 </dd>
554 </dl><dl>
555 <dt>Return Type:</dt>
556 <dd>
557 bool
558 </dd>
559 </dl><a NAME="Listspace.getOpenEditorsForSession" ID="Listspace.getOpenEditorsForSession"></a>
560 <h4>Listspace.getOpenEditorsForSession</h4>
561 <b>getOpenEditorsForSession</b>(<i></i>)
562 <p>
563 Public method to get a lists of all open editors.
564 </p><p>
565 The returned list contains one list per split view. If the view manager
566 cannot split the view, only one list of editors is returned.
567 </p><dl>
568 <dt>Returns:</dt>
569 <dd>
570 list of list of editor references
571 </dd>
572 </dl><dl>
573 <dt>Return Type:</dt>
574 <dd>
575 list of list of Editor
520 </dd> 576 </dd>
521 </dl><a NAME="Listspace.getSplitOrientation" ID="Listspace.getSplitOrientation"></a> 577 </dl><a NAME="Listspace.getSplitOrientation" ID="Listspace.getSplitOrientation"></a>
522 <h4>Listspace.getSplitOrientation</h4> 578 <h4>Listspace.getSplitOrientation</h4>
523 <b>getSplitOrientation</b>(<i></i>) 579 <b>getSplitOrientation</b>(<i></i>)
524 <p> 580 <p>
525 Public method to get the orientation of the split view. 581 Public method to get the orientation of the split view.
526 </p><dl> 582 </p><dl>
527 <dt>Returns:</dt> 583 <dt>Returns:</dt>
528 <dd> 584 <dd>
529 orientation of the split (Qt.Horizontal or Qt.Vertical) 585 orientation of the split
586 </dd>
587 </dl><dl>
588 <dt>Return Type:</dt>
589 <dd>
590 Qt.Horizontal or Qt.Vertical
530 </dd> 591 </dd>
531 </dl><a NAME="Listspace.mainWidget" ID="Listspace.mainWidget"></a> 592 </dl><a NAME="Listspace.mainWidget" ID="Listspace.mainWidget"></a>
532 <h4>Listspace.mainWidget</h4> 593 <h4>Listspace.mainWidget</h4>
533 <b>mainWidget</b>(<i></i>) 594 <b>mainWidget</b>(<i></i>)
534 <p> 595 <p>
554 <b>prevSplit</b>(<i></i>) 615 <b>prevSplit</b>(<i></i>)
555 <p> 616 <p>
556 Public slot used to move to the previous split. 617 Public slot used to move to the previous split.
557 </p><a NAME="Listspace.removeSplit" ID="Listspace.removeSplit"></a> 618 </p><a NAME="Listspace.removeSplit" ID="Listspace.removeSplit"></a>
558 <h4>Listspace.removeSplit</h4> 619 <h4>Listspace.removeSplit</h4>
559 <b>removeSplit</b>(<i></i>) 620 <b>removeSplit</b>(<i>index=-1</i>)
560 <p> 621 <p>
561 Public method used to remove the current split view. 622 Public method used to remove the current split view or a split view
562 </p><dl> 623 by index.
563 <dt>Returns:</dt> 624 </p><dl>
564 <dd> 625 <dt><i>index</i> (int)</dt>
565 flag indicating successfull removal 626 <dd>
627 index of the split to be removed (-1 means to
628 delete the current split)
629 </dd>
630 </dl><dl>
631 <dt>Returns:</dt>
632 <dd>
633 flag indicating successful deletion
634 </dd>
635 </dl><dl>
636 <dt>Return Type:</dt>
637 <dd>
638 bool
566 </dd> 639 </dd>
567 </dl><a NAME="Listspace.setEditorName" ID="Listspace.setEditorName"></a> 640 </dl><a NAME="Listspace.setEditorName" ID="Listspace.setEditorName"></a>
568 <h4>Listspace.setEditorName</h4> 641 <h4>Listspace.setEditorName</h4>
569 <b>setEditorName</b>(<i>editor, newName</i>) 642 <b>setEditorName</b>(<i>editor, newName</i>)
570 <p> 643 <p>
571 Public method to change the displayed name of the editor. 644 Public method to change the displayed name of the editor.
572 </p><dl> 645 </p><dl>
573 <dt><i>editor</i></dt> 646 <dt><i>editor</i> (Editor)</dt>
574 <dd> 647 <dd>
575 editor window to be changed 648 editor window to be changed
576 </dd><dt><i>newName</i></dt> 649 </dd><dt><i>newName</i> (str)</dt>
577 <dd> 650 <dd>
578 new name to be shown (string) 651 new name to be shown
652 </dd>
653 </dl><a NAME="Listspace.setSplitCount" ID="Listspace.setSplitCount"></a>
654 <h4>Listspace.setSplitCount</h4>
655 <b>setSplitCount</b>(<i>count</i>)
656 <p>
657 Public method to set the number of split views.
658 </p><dl>
659 <dt><i>count</i> (int)</dt>
660 <dd>
661 number of split views
579 </dd> 662 </dd>
580 </dl><a NAME="Listspace.setSplitOrientation" ID="Listspace.setSplitOrientation"></a> 663 </dl><a NAME="Listspace.setSplitOrientation" ID="Listspace.setSplitOrientation"></a>
581 <h4>Listspace.setSplitOrientation</h4> 664 <h4>Listspace.setSplitOrientation</h4>
582 <b>setSplitOrientation</b>(<i>orientation</i>) 665 <b>setSplitOrientation</b>(<i>orientation</i>)
583 <p> 666 <p>
584 Public method used to set the orientation of the split view. 667 Public method used to set the orientation of the split view.
585 </p><dl> 668 </p><dl>
586 <dt><i>orientation</i></dt> 669 <dt><i>orientation</i> (Qt.Horizontal or Qt.Vertical)</dt>
587 <dd> 670 <dd>
588 orientation of the split 671 orientation of the split
589 (Qt.Horizontal or Qt.Vertical)
590 </dd> 672 </dd>
591 </dl><a NAME="Listspace.showWindowMenu" ID="Listspace.showWindowMenu"></a> 673 </dl><a NAME="Listspace.showWindowMenu" ID="Listspace.showWindowMenu"></a>
592 <h4>Listspace.showWindowMenu</h4> 674 <h4>Listspace.showWindowMenu</h4>
593 <b>showWindowMenu</b>(<i>windowMenu</i>) 675 <b>showWindowMenu</b>(<i>windowMenu</i>)
594 <p> 676 <p>
595 Public method to set up the viewmanager part of the Window menu. 677 Public method to set up the viewmanager part of the Window menu.
596 </p><dl> 678 </p><dl>
597 <dt><i>windowMenu</i></dt> 679 <dt><i>windowMenu</i> (QMenu)</dt>
598 <dd> 680 <dd>
599 reference to the window menu 681 reference to the window menu
682 </dd>
683 </dl><a NAME="Listspace.splitCount" ID="Listspace.splitCount"></a>
684 <h4>Listspace.splitCount</h4>
685 <b>splitCount</b>(<i></i>)
686 <p>
687 Public method to get the number of splitted views.
688 </p><dl>
689 <dt>Returns:</dt>
690 <dd>
691 number of splitted views
692 </dd>
693 </dl><dl>
694 <dt>Return Type:</dt>
695 <dd>
696 int
600 </dd> 697 </dd>
601 </dl><a NAME="Listspace.tile" ID="Listspace.tile"></a> 698 </dl><a NAME="Listspace.tile" ID="Listspace.tile"></a>
602 <h4>Listspace.tile</h4> 699 <h4>Listspace.tile</h4>
603 <b>tile</b>(<i></i>) 700 <b>tile</b>(<i></i>)
604 <p> 701 <p>
663 <h4>StackedWidget (Constructor)</h4> 760 <h4>StackedWidget (Constructor)</h4>
664 <b>StackedWidget</b>(<i>parent</i>) 761 <b>StackedWidget</b>(<i>parent</i>)
665 <p> 762 <p>
666 Constructor 763 Constructor
667 </p><dl> 764 </p><dl>
668 <dt><i>parent</i></dt> 765 <dt><i>parent</i> (QWidget)</dt>
669 <dd> 766 <dd>
670 parent widget (QWidget) 767 parent widget
671 </dd> 768 </dd>
672 </dl><a NAME="StackedWidget.addWidget" ID="StackedWidget.addWidget"></a> 769 </dl><a NAME="StackedWidget.addWidget" ID="StackedWidget.addWidget"></a>
673 <h4>StackedWidget.addWidget</h4> 770 <h4>StackedWidget.addWidget</h4>
674 <b>addWidget</b>(<i>assembly</i>) 771 <b>addWidget</b>(<i>assembly</i>)
675 <p> 772 <p>
676 Public method to add a new widget. 773 Public method to add a new widget.
677 </p><dl> 774 </p><dl>
678 <dt><i>assembly</i></dt> 775 <dt><i>assembly</i> (QScintilla.EditorAssembly.EditorAssembly)</dt>
679 <dd> 776 <dd>
680 editor assembly object to be added 777 editor assembly object to be added
681 (QScintilla.EditorAssembly.EditorAssembly)
682 </dd> 778 </dd>
683 </dl><a NAME="StackedWidget.currentWidget" ID="StackedWidget.currentWidget"></a> 779 </dl><a NAME="StackedWidget.currentWidget" ID="StackedWidget.currentWidget"></a>
684 <h4>StackedWidget.currentWidget</h4> 780 <h4>StackedWidget.currentWidget</h4>
685 <b>currentWidget</b>(<i></i>) 781 <b>currentWidget</b>(<i></i>)
686 <p> 782 <p>
687 Public method to get a reference to the current editor. 783 Public method to get a reference to the current editor.
688 </p><dl> 784 </p><dl>
689 <dt>Returns:</dt> 785 <dt>Returns:</dt>
690 <dd> 786 <dd>
691 reference to the current editor (Editor) 787 reference to the current editor
788 </dd>
789 </dl><dl>
790 <dt>Return Type:</dt>
791 <dd>
792 Editor
692 </dd> 793 </dd>
693 </dl><a NAME="StackedWidget.firstEditor" ID="StackedWidget.firstEditor"></a> 794 </dl><a NAME="StackedWidget.firstEditor" ID="StackedWidget.firstEditor"></a>
694 <h4>StackedWidget.firstEditor</h4> 795 <h4>StackedWidget.firstEditor</h4>
695 <b>firstEditor</b>(<i></i>) 796 <b>firstEditor</b>(<i></i>)
696 <p> 797 <p>
697 Public method to retrieve the first editor in the list of managed 798 Public method to retrieve the first editor in the list of managed
698 editors. 799 editors.
699 </p><dl> 800 </p><dl>
700 <dt>Returns:</dt> 801 <dt>Returns:</dt>
701 <dd> 802 <dd>
702 first editor in list (QScintilla.Editor.Editor) 803 first editor in list
804 </dd>
805 </dl><dl>
806 <dt>Return Type:</dt>
807 <dd>
808 QScintilla.Editor.Editor
703 </dd> 809 </dd>
704 </dl><a NAME="StackedWidget.hasEditor" ID="StackedWidget.hasEditor"></a> 810 </dl><a NAME="StackedWidget.hasEditor" ID="StackedWidget.hasEditor"></a>
705 <h4>StackedWidget.hasEditor</h4> 811 <h4>StackedWidget.hasEditor</h4>
706 <b>hasEditor</b>(<i>editor</i>) 812 <b>hasEditor</b>(<i>editor</i>)
707 <p> 813 <p>
708 Public method to check for an editor. 814 Public method to check for an editor.
709 </p><dl> 815 </p><dl>
710 <dt><i>editor</i></dt> 816 <dt><i>editor</i> (Editor)</dt>
711 <dd> 817 <dd>
712 editor object to check for 818 editor object to check for
713 </dd> 819 </dd>
714 </dl><dl> 820 </dl><dl>
715 <dt>Returns:</dt> 821 <dt>Returns:</dt>
716 <dd> 822 <dd>
717 flag indicating, whether the editor to be checked belongs 823 flag indicating, whether the editor to be checked belongs
718 to the list of editors managed by this stacked widget. 824 to the list of editors managed by this stacked widget.
825 </dd>
826 </dl><dl>
827 <dt>Return Type:</dt>
828 <dd>
829 bool
719 </dd> 830 </dd>
720 </dl><a NAME="StackedWidget.nextTab" ID="StackedWidget.nextTab"></a> 831 </dl><a NAME="StackedWidget.nextTab" ID="StackedWidget.nextTab"></a>
721 <h4>StackedWidget.nextTab</h4> 832 <h4>StackedWidget.nextTab</h4>
722 <b>nextTab</b>(<i></i>) 833 <b>nextTab</b>(<i></i>)
723 <p> 834 <p>
731 <h4>StackedWidget.removeWidget</h4> 842 <h4>StackedWidget.removeWidget</h4>
732 <b>removeWidget</b>(<i>widget</i>) 843 <b>removeWidget</b>(<i>widget</i>)
733 <p> 844 <p>
734 Public method to remove a widget. 845 Public method to remove a widget.
735 </p><dl> 846 </p><dl>
736 <dt><i>widget</i></dt> 847 <dt><i>widget</i> (QWidget)</dt>
737 <dd> 848 <dd>
738 widget to be removed (QWidget) 849 widget to be removed
739 </dd> 850 </dd>
740 </dl><a NAME="StackedWidget.setCurrentIndex" ID="StackedWidget.setCurrentIndex"></a> 851 </dl><a NAME="StackedWidget.setCurrentIndex" ID="StackedWidget.setCurrentIndex"></a>
741 <h4>StackedWidget.setCurrentIndex</h4> 852 <h4>StackedWidget.setCurrentIndex</h4>
742 <b>setCurrentIndex</b>(<i>index</i>) 853 <b>setCurrentIndex</b>(<i>index</i>)
743 <p> 854 <p>
744 Public method to set the current widget by its index. 855 Public method to set the current widget by its index.
745 </p><dl> 856 </p><dl>
746 <dt><i>index</i></dt> 857 <dt><i>index</i> (int)</dt>
747 <dd> 858 <dd>
748 index of widget to be made current (integer) 859 index of widget to be made current
749 </dd> 860 </dd>
750 </dl><a NAME="StackedWidget.setCurrentWidget" ID="StackedWidget.setCurrentWidget"></a> 861 </dl><a NAME="StackedWidget.setCurrentWidget" ID="StackedWidget.setCurrentWidget"></a>
751 <h4>StackedWidget.setCurrentWidget</h4> 862 <h4>StackedWidget.setCurrentWidget</h4>
752 <b>setCurrentWidget</b>(<i>widget</i>) 863 <b>setCurrentWidget</b>(<i>widget</i>)
753 <p> 864 <p>
754 Public method to set the current widget. 865 Public method to set the current widget.
755 </p><dl> 866 </p><dl>
756 <dt><i>widget</i></dt> 867 <dt><i>widget</i> (QWidget)</dt>
757 <dd> 868 <dd>
758 widget to be made current (QWidget) 869 widget to be made current
759 </dd> 870 </dd>
760 </dl> 871 </dl>
761 <div align="right"><a href="#top">Up</a></div> 872 <div align="right"><a href="#top">Up</a></div>
762 <hr /> 873 <hr />
763 </body></html> 874 </body></html>

eric ide

mercurial