7988:c4c17121eff8 | 7989:a21d673a8f99 |
---|---|
242 <dd> | 242 <dd> |
243 name of the action to search for (string) | 243 name of the action to search for (string) |
244 </dd> | 244 </dd> |
245 </dl> | 245 </dl> |
246 <dl> | 246 <dl> |
247 <dt>Returns:</dt> | 247 <dt>Return:</dt> |
248 <dd> | 248 <dd> |
249 reference to the action (QAction) | 249 reference to the action (QAction) |
250 </dd> | 250 </dd> |
251 </dl> | 251 </dl> |
252 <a NAME="E5ToolBarManager.__findDefaultToolBar" ID="E5ToolBarManager.__findDefaultToolBar"></a> | 252 <a NAME="E5ToolBarManager.__findDefaultToolBar" ID="E5ToolBarManager.__findDefaultToolBar"></a> |
262 <dd> | 262 <dd> |
263 name of the default toolbar to search for (string) | 263 name of the default toolbar to search for (string) |
264 </dd> | 264 </dd> |
265 </dl> | 265 </dl> |
266 <dl> | 266 <dl> |
267 <dt>Returns:</dt> | 267 <dt>Return:</dt> |
268 <dd> | 268 <dd> |
269 reference to the default toolbar (QToolBar) | 269 reference to the default toolbar (QToolBar) |
270 </dd> | 270 </dd> |
271 </dl> | 271 </dl> |
272 <a NAME="E5ToolBarManager.__toolBarByName" ID="E5ToolBarManager.__toolBarByName"></a> | 272 <a NAME="E5ToolBarManager.__toolBarByName" ID="E5ToolBarManager.__toolBarByName"></a> |
282 <dd> | 282 <dd> |
283 object name of the toolbar (string) | 283 object name of the toolbar (string) |
284 </dd> | 284 </dd> |
285 </dl> | 285 </dl> |
286 <dl> | 286 <dl> |
287 <dt>Returns:</dt> | 287 <dt>Return:</dt> |
288 <dd> | 288 <dd> |
289 reference to the toolbar (QToolBar) | 289 reference to the toolbar (QToolBar) |
290 </dd> | 290 </dd> |
291 </dl> | 291 </dl> |
292 <a NAME="E5ToolBarManager.actionById" ID="E5ToolBarManager.actionById"></a> | 292 <a NAME="E5ToolBarManager.actionById" ID="E5ToolBarManager.actionById"></a> |
302 <dd> | 302 <dd> |
303 id of the action object (integer) | 303 id of the action object (integer) |
304 </dd> | 304 </dd> |
305 </dl> | 305 </dl> |
306 <dl> | 306 <dl> |
307 <dt>Returns:</dt> | 307 <dt>Return:</dt> |
308 <dd> | 308 <dd> |
309 reference to the action (QAction) | 309 reference to the action (QAction) |
310 </dd> | 310 </dd> |
311 </dl> | 311 </dl> |
312 <a NAME="E5ToolBarManager.addAction" ID="E5ToolBarManager.addAction"></a> | 312 <a NAME="E5ToolBarManager.addAction" ID="E5ToolBarManager.addAction"></a> |
369 | 369 |
370 <p> | 370 <p> |
371 Public method to get the list of categories. | 371 Public method to get the list of categories. |
372 </p> | 372 </p> |
373 <dl> | 373 <dl> |
374 <dt>Returns:</dt> | 374 <dt>Return:</dt> |
375 <dd> | 375 <dd> |
376 list of categories (list of string) | 376 list of categories (list of string) |
377 </dd> | 377 </dd> |
378 </dl> | 378 </dl> |
379 <a NAME="E5ToolBarManager.categoryActions" ID="E5ToolBarManager.categoryActions"></a> | 379 <a NAME="E5ToolBarManager.categoryActions" ID="E5ToolBarManager.categoryActions"></a> |
389 <dd> | 389 <dd> |
390 category for the actions (string) | 390 category for the actions (string) |
391 </dd> | 391 </dd> |
392 </dl> | 392 </dl> |
393 <dl> | 393 <dl> |
394 <dt>Returns:</dt> | 394 <dt>Return:</dt> |
395 <dd> | 395 <dd> |
396 list of actions (list of QAction) | 396 list of actions (list of QAction) |
397 </dd> | 397 </dd> |
398 </dl> | 398 </dl> |
399 <a NAME="E5ToolBarManager.createToolBar" ID="E5ToolBarManager.createToolBar"></a> | 399 <a NAME="E5ToolBarManager.createToolBar" ID="E5ToolBarManager.createToolBar"></a> |
413 <dd> | 413 <dd> |
414 optional name for the new toolbar (string) | 414 optional name for the new toolbar (string) |
415 </dd> | 415 </dd> |
416 </dl> | 416 </dl> |
417 <dl> | 417 <dl> |
418 <dt>Returns:</dt> | 418 <dt>Return:</dt> |
419 <dd> | 419 <dd> |
420 reference to the created toolbar (QToolBar) | 420 reference to the created toolbar (QToolBar) |
421 </dd> | 421 </dd> |
422 </dl> | 422 </dl> |
423 <a NAME="E5ToolBarManager.defaultToolBarActions" ID="E5ToolBarManager.defaultToolBarActions"></a> | 423 <a NAME="E5ToolBarManager.defaultToolBarActions" ID="E5ToolBarManager.defaultToolBarActions"></a> |
433 <dd> | 433 <dd> |
434 id of the default toolbar object (integer) | 434 id of the default toolbar object (integer) |
435 </dd> | 435 </dd> |
436 </dl> | 436 </dl> |
437 <dl> | 437 <dl> |
438 <dt>Returns:</dt> | 438 <dt>Return:</dt> |
439 <dd> | 439 <dd> |
440 list of actions (list of QAction) | 440 list of actions (list of QAction) |
441 </dd> | 441 </dd> |
442 </dl> | 442 </dl> |
443 <a NAME="E5ToolBarManager.defaultToolBars" ID="E5ToolBarManager.defaultToolBars"></a> | 443 <a NAME="E5ToolBarManager.defaultToolBars" ID="E5ToolBarManager.defaultToolBars"></a> |
446 | 446 |
447 <p> | 447 <p> |
448 Public method to get all toolbars added with addToolBar(). | 448 Public method to get all toolbars added with addToolBar(). |
449 </p> | 449 </p> |
450 <dl> | 450 <dl> |
451 <dt>Returns:</dt> | 451 <dt>Return:</dt> |
452 <dd> | 452 <dd> |
453 list of all default toolbars (list of QToolBar) | 453 list of all default toolbars (list of QToolBar) |
454 </dd> | 454 </dd> |
455 </dl> | 455 </dl> |
456 <a NAME="E5ToolBarManager.deleteToolBar" ID="E5ToolBarManager.deleteToolBar"></a> | 456 <a NAME="E5ToolBarManager.deleteToolBar" ID="E5ToolBarManager.deleteToolBar"></a> |
480 <dd> | 480 <dd> |
481 reference to the toolbar to be checked (QToolBar) | 481 reference to the toolbar to be checked (QToolBar) |
482 </dd> | 482 </dd> |
483 </dl> | 483 </dl> |
484 <dl> | 484 <dl> |
485 <dt>Returns:</dt> | 485 <dt>Return:</dt> |
486 <dd> | 486 <dd> |
487 flag indicating an added toolbar (boolean) | 487 flag indicating an added toolbar (boolean) |
488 </dd> | 488 </dd> |
489 </dl> | 489 </dl> |
490 <a NAME="E5ToolBarManager.isWidgetAction" ID="E5ToolBarManager.isWidgetAction"></a> | 490 <a NAME="E5ToolBarManager.isWidgetAction" ID="E5ToolBarManager.isWidgetAction"></a> |
500 <dd> | 500 <dd> |
501 reference to the action to be checked (QAction) | 501 reference to the action to be checked (QAction) |
502 </dd> | 502 </dd> |
503 </dl> | 503 </dl> |
504 <dl> | 504 <dl> |
505 <dt>Returns:</dt> | 505 <dt>Return:</dt> |
506 <dd> | 506 <dd> |
507 flag indicating a widget action (boolean) | 507 flag indicating a widget action (boolean) |
508 </dd> | 508 </dd> |
509 </dl> | 509 </dl> |
510 <a NAME="E5ToolBarManager.mainWindow" ID="E5ToolBarManager.mainWindow"></a> | 510 <a NAME="E5ToolBarManager.mainWindow" ID="E5ToolBarManager.mainWindow"></a> |
513 | 513 |
514 <p> | 514 <p> |
515 Public method to get the reference to the main window. | 515 Public method to get the reference to the main window. |
516 </p> | 516 </p> |
517 <dl> | 517 <dl> |
518 <dt>Returns:</dt> | 518 <dt>Return:</dt> |
519 <dd> | 519 <dd> |
520 reference to the main window (QMainWindow) | 520 reference to the main window (QMainWindow) |
521 </dd> | 521 </dd> |
522 </dl> | 522 </dl> |
523 <a NAME="E5ToolBarManager.removeAction" ID="E5ToolBarManager.removeAction"></a> | 523 <a NAME="E5ToolBarManager.removeAction" ID="E5ToolBarManager.removeAction"></a> |
633 <dd> | 633 <dd> |
634 version number stored with the data (integer) | 634 version number stored with the data (integer) |
635 </dd> | 635 </dd> |
636 </dl> | 636 </dl> |
637 <dl> | 637 <dl> |
638 <dt>Returns:</dt> | 638 <dt>Return:</dt> |
639 <dd> | 639 <dd> |
640 flag indicating success (boolean) | 640 flag indicating success (boolean) |
641 </dd> | 641 </dd> |
642 </dl> | 642 </dl> |
643 <a NAME="E5ToolBarManager.saveState" ID="E5ToolBarManager.saveState"></a> | 643 <a NAME="E5ToolBarManager.saveState" ID="E5ToolBarManager.saveState"></a> |
653 <dd> | 653 <dd> |
654 version number stored with the data (integer) | 654 version number stored with the data (integer) |
655 </dd> | 655 </dd> |
656 </dl> | 656 </dl> |
657 <dl> | 657 <dl> |
658 <dt>Returns:</dt> | 658 <dt>Return:</dt> |
659 <dd> | 659 <dd> |
660 saved state as a byte array (QByteArray) | 660 saved state as a byte array (QByteArray) |
661 </dd> | 661 </dd> |
662 </dl> | 662 </dl> |
663 <a NAME="E5ToolBarManager.setMainWindow" ID="E5ToolBarManager.setMainWindow"></a> | 663 <a NAME="E5ToolBarManager.setMainWindow" ID="E5ToolBarManager.setMainWindow"></a> |
720 <dd> | 720 <dd> |
721 id of the toolbar object (integer) | 721 id of the toolbar object (integer) |
722 </dd> | 722 </dd> |
723 </dl> | 723 </dl> |
724 <dl> | 724 <dl> |
725 <dt>Returns:</dt> | 725 <dt>Return:</dt> |
726 <dd> | 726 <dd> |
727 list of actions (list of QAction) | 727 list of actions (list of QAction) |
728 </dd> | 728 </dd> |
729 </dl> | 729 </dl> |
730 <a NAME="E5ToolBarManager.toolBarById" ID="E5ToolBarManager.toolBarById"></a> | 730 <a NAME="E5ToolBarManager.toolBarById" ID="E5ToolBarManager.toolBarById"></a> |
740 <dd> | 740 <dd> |
741 id of the toolbar object (integer) | 741 id of the toolbar object (integer) |
742 </dd> | 742 </dd> |
743 </dl> | 743 </dl> |
744 <dl> | 744 <dl> |
745 <dt>Returns:</dt> | 745 <dt>Return:</dt> |
746 <dd> | 746 <dd> |
747 reference to the toolbar (QToolBar) | 747 reference to the toolbar (QToolBar) |
748 </dd> | 748 </dd> |
749 </dl> | 749 </dl> |
750 <a NAME="E5ToolBarManager.toolBarWidgetAction" ID="E5ToolBarManager.toolBarWidgetAction"></a> | 750 <a NAME="E5ToolBarManager.toolBarWidgetAction" ID="E5ToolBarManager.toolBarWidgetAction"></a> |
760 <dd> | 760 <dd> |
761 widget action to check for (QAction) | 761 widget action to check for (QAction) |
762 </dd> | 762 </dd> |
763 </dl> | 763 </dl> |
764 <dl> | 764 <dl> |
765 <dt>Returns:</dt> | 765 <dt>Return:</dt> |
766 <dd> | 766 <dd> |
767 reference to the toolbar containing action (QToolBar) | 767 reference to the toolbar containing action (QToolBar) |
768 </dd> | 768 </dd> |
769 </dl> | 769 </dl> |
770 <a NAME="E5ToolBarManager.toolBars" ID="E5ToolBarManager.toolBars"></a> | 770 <a NAME="E5ToolBarManager.toolBars" ID="E5ToolBarManager.toolBars"></a> |
773 | 773 |
774 <p> | 774 <p> |
775 Public method to get all toolbars. | 775 Public method to get all toolbars. |
776 </p> | 776 </p> |
777 <dl> | 777 <dl> |
778 <dt>Returns:</dt> | 778 <dt>Return:</dt> |
779 <dd> | 779 <dd> |
780 list of all toolbars (list of QToolBar) | 780 list of all toolbars (list of QToolBar) |
781 </dd> | 781 </dd> |
782 </dl> | 782 </dl> |
783 <a NAME="E5ToolBarManager.toolBarsActions" ID="E5ToolBarManager.toolBarsActions"></a> | 783 <a NAME="E5ToolBarManager.toolBarsActions" ID="E5ToolBarManager.toolBarsActions"></a> |
786 | 786 |
787 <p> | 787 <p> |
788 Public method to get all toolbars and their actions. | 788 Public method to get all toolbars and their actions. |
789 </p> | 789 </p> |
790 <dl> | 790 <dl> |
791 <dt>Returns:</dt> | 791 <dt>Return:</dt> |
792 <dd> | 792 <dd> |
793 reference to dictionary of toolbar IDs as key and list | 793 reference to dictionary of toolbar IDs as key and list |
794 of actions as values | 794 of actions as values |
795 </dd> | 795 </dd> |
796 </dl> | 796 </dl> |