ProjectPyramid/Documentation/source/Plugin_Project_Pyramid.ProjectPyramid.Project.html

branch
eric7
changeset 147
eb28b4b6f7f5
parent 144
5c3684ee818e
child 148
dcbd3a96f03c
equal deleted inserted replaced
146:7d955b1995d5 147:eb28b4b6f7f5
351 projects (= top level dirs). 351 projects (= top level dirs).
352 </p> 352 </p>
353 <dl> 353 <dl>
354 <dt>Return:</dt> 354 <dt>Return:</dt>
355 <dd> 355 <dd>
356 list of projects (list of string) 356 list of projects
357 </dd>
358 </dl>
359 <dl>
360 <dt>Return Type:</dt>
361 <dd>
362 list of str
357 </dd> 363 </dd>
358 </dl> 364 </dl>
359 <a NAME="Project.__getDebugEnvironment" ID="Project.__getDebugEnvironment"></a> 365 <a NAME="Project.__getDebugEnvironment" ID="Project.__getDebugEnvironment"></a>
360 <h4>Project.__getDebugEnvironment</h4> 366 <h4>Project.__getDebugEnvironment</h4>
361 <b>__getDebugEnvironment</b>(<i>language=""</i>) 367 <b>__getDebugEnvironment</b>(<i>language=""</i>)
363 <p> 369 <p>
364 Private method to get the path of the debugger environment. 370 Private method to get the path of the debugger environment.
365 </p> 371 </p>
366 <dl> 372 <dl>
367 373
368 <dt><i>language</i></dt> 374 <dt><i>language</i> (str)</dt>
369 <dd> 375 <dd>
370 Python variant to get the debugger environment 376 Python variant to get the debugger environment
371 for (string, one of '' or 'Python3') 377 for (one of '' or 'Python3')
372 </dd> 378 </dd>
373 </dl> 379 </dl>
374 <dl> 380 <dl>
375 <dt>Return:</dt> 381 <dt>Return:</dt>
376 <dd> 382 <dd>
377 path of the debugger environment (string) 383 path of the debugger environment
384 </dd>
385 </dl>
386 <dl>
387 <dt>Return Type:</dt>
388 <dd>
389 str
378 </dd> 390 </dd>
379 </dl> 391 </dl>
380 <a NAME="Project.__getExecutablePaths" ID="Project.__getExecutablePaths"></a> 392 <a NAME="Project.__getExecutablePaths" ID="Project.__getExecutablePaths"></a>
381 <h4>Project.__getExecutablePaths</h4> 393 <h4>Project.__getExecutablePaths</h4>
382 <b>__getExecutablePaths</b>(<i>file</i>) 394 <b>__getExecutablePaths</b>(<i>file</i>)
385 Private method to build all full paths of an executable file from 397 Private method to build all full paths of an executable file from
386 the environment. 398 the environment.
387 </p> 399 </p>
388 <dl> 400 <dl>
389 401
390 <dt><i>file</i></dt> 402 <dt><i>file</i> (str)</dt>
391 <dd> 403 <dd>
392 filename of the executable (string) 404 filename of the executable
393 </dd> 405 </dd>
394 </dl> 406 </dl>
395 <dl> 407 <dl>
396 <dt>Return:</dt> 408 <dt>Return:</dt>
397 <dd> 409 <dd>
398 list of full executable names, if the executable file is 410 list of full executable names, if the executable file is
399 accessible via the searchpath defined by the PATH environment 411 accessible via the searchpath defined by the PATH environment
400 variable, or an empty list otherwise. 412 variable, or an empty list otherwise.
401 </dd> 413 </dd>
402 </dl> 414 </dl>
415 <dl>
416 <dt>Return Type:</dt>
417 <dd>
418 list of str
419 </dd>
420 </dl>
403 <a NAME="Project.__getInitDbCommand" ID="Project.__getInitDbCommand"></a> 421 <a NAME="Project.__getInitDbCommand" ID="Project.__getInitDbCommand"></a>
404 <h4>Project.__getInitDbCommand</h4> 422 <h4>Project.__getInitDbCommand</h4>
405 <b>__getInitDbCommand</b>(<i></i>) 423 <b>__getInitDbCommand</b>(<i></i>)
406 424
407 <p> 425 <p>
408 Private method to create the path to the initialization script. 426 Private method to create the path to the initialization script.
409 </p> 427 </p>
410 <dl> 428 <dl>
411 <dt>Return:</dt> 429 <dt>Return:</dt>
412 <dd> 430 <dd>
413 path to the initialization script (string) 431 path to the initialization script
432 </dd>
433 </dl>
434 <dl>
435 <dt>Return Type:</dt>
436 <dd>
437 str
414 </dd> 438 </dd>
415 </dl> 439 </dl>
416 <a NAME="Project.__getLocale" ID="Project.__getLocale"></a> 440 <a NAME="Project.__getLocale" ID="Project.__getLocale"></a>
417 <h4>Project.__getLocale</h4> 441 <h4>Project.__getLocale</h4>
418 <b>__getLocale</b>(<i>filename</i>) 442 <b>__getLocale</b>(<i>filename</i>)
420 <p> 444 <p>
421 Private method to extract the locale out of a file name. 445 Private method to extract the locale out of a file name.
422 </p> 446 </p>
423 <dl> 447 <dl>
424 448
425 <dt><i>filename</i></dt> 449 <dt><i>filename</i> (str)</dt>
426 <dd> 450 <dd>
427 name of the file used for extraction (string) 451 name of the file used for extraction
428 </dd> 452 </dd>
429 </dl> 453 </dl>
430 <dl> 454 <dl>
431 <dt>Return:</dt> 455 <dt>Return:</dt>
432 <dd> 456 <dd>
433 extracted locale (string) or None 457 extracted locale or None
458 </dd>
459 </dl>
460 <dl>
461 <dt>Return Type:</dt>
462 <dd>
463 str
434 </dd> 464 </dd>
435 </dl> 465 </dl>
436 <a NAME="Project.__getVirtualEnvironment" ID="Project.__getVirtualEnvironment"></a> 466 <a NAME="Project.__getVirtualEnvironment" ID="Project.__getVirtualEnvironment"></a>
437 <h4>Project.__getVirtualEnvironment</h4> 467 <h4>Project.__getVirtualEnvironment</h4>
438 <b>__getVirtualEnvironment</b>(<i>language=""</i>) 468 <b>__getVirtualEnvironment</b>(<i>language=""</i>)
440 <p> 470 <p>
441 Private method to get the path of the virtual environment. 471 Private method to get the path of the virtual environment.
442 </p> 472 </p>
443 <dl> 473 <dl>
444 474
445 <dt><i>language</i></dt> 475 <dt><i>language</i> (str)</dt>
446 <dd> 476 <dd>
447 Python variant to get the virtual environment 477 Python variant to get the virtual environment
448 for (string, one of '' or 'Python3') 478 for (one of '' or 'Python3')
449 </dd> 479 </dd>
450 </dl> 480 </dl>
451 <dl> 481 <dl>
452 <dt>Return:</dt> 482 <dt>Return:</dt>
453 <dd> 483 <dd>
454 path of the virtual environment (string) 484 path of the virtual environment
485 </dd>
486 </dl>
487 <dl>
488 <dt>Return Type:</dt>
489 <dd>
490 str
455 </dd> 491 </dd>
456 </dl> 492 </dl>
457 <a NAME="Project.__initializeDatabase" ID="Project.__initializeDatabase"></a> 493 <a NAME="Project.__initializeDatabase" ID="Project.__initializeDatabase"></a>
458 <h4>Project.__initializeDatabase</h4> 494 <h4>Project.__initializeDatabase</h4>
459 <b>__initializeDatabase</b>(<i></i>) 495 <b>__initializeDatabase</b>(<i></i>)
499 <p> 535 <p>
500 Private method to normalize a list of file names. 536 Private method to normalize a list of file names.
501 </p> 537 </p>
502 <dl> 538 <dl>
503 539
504 <dt><i>filenames</i></dt> 540 <dt><i>filenames</i> (list of str)</dt>
505 <dd> 541 <dd>
506 list of file names to normalize (list of string) 542 list of file names to normalize
507 </dd> 543 </dd>
508 </dl> 544 </dl>
509 <dl> 545 <dl>
510 <dt>Return:</dt> 546 <dt>Return:</dt>
511 <dd> 547 <dd>
512 normalized file names (list of string) 548 normalized file names
549 </dd>
550 </dl>
551 <dl>
552 <dt>Return Type:</dt>
553 <dd>
554 list of str
513 </dd> 555 </dd>
514 </dl> 556 </dl>
515 <a NAME="Project.__project" ID="Project.__project"></a> 557 <a NAME="Project.__project" ID="Project.__project"></a>
516 <h4>Project.__project</h4> 558 <h4>Project.__project</h4>
517 <b>__project</b>(<i></i>) 559 <b>__project</b>(<i></i>)
520 Private method to get the name of the current Pyramid project. 562 Private method to get the name of the current Pyramid project.
521 </p> 563 </p>
522 <dl> 564 <dl>
523 <dt>Return:</dt> 565 <dt>Return:</dt>
524 <dd> 566 <dd>
525 name of the project (string) 567 name of the project
568 </dd>
569 </dl>
570 <dl>
571 <dt>Return Type:</dt>
572 <dd>
573 str
526 </dd> 574 </dd>
527 </dl> 575 </dl>
528 <dl> 576 <dl>
529 577
530 <dt>Raises <b>PyramidNoProjectSelectedException</b>:</dt> 578 <dt>Raises <b>PyramidNoProjectSelectedException</b>:</dt>
540 <p> 588 <p>
541 Private method to filter a list of file names by Pyramid project. 589 Private method to filter a list of file names by Pyramid project.
542 </p> 590 </p>
543 <dl> 591 <dl>
544 592
545 <dt><i>filenames</i></dt> 593 <dt><i>filenames</i> (list of str)</dt>
546 <dd> 594 <dd>
547 list of file names to be filtered (list of string) 595 list of file names to be filtered
548 </dd> 596 </dd>
549 </dl> 597 </dl>
550 <dl> 598 <dl>
551 <dt>Return:</dt> 599 <dt>Return:</dt>
552 <dd> 600 <dd>
553 file names belonging to the current site (list of string) 601 file names belonging to the current site
602 </dd>
603 </dl>
604 <dl>
605 <dt>Return Type:</dt>
606 <dd>
607 list of str
554 </dd> 608 </dd>
555 </dl> 609 </dl>
556 <a NAME="Project.__projectLanguageAdded" ID="Project.__projectLanguageAdded"></a> 610 <a NAME="Project.__projectLanguageAdded" ID="Project.__projectLanguageAdded"></a>
557 <h4>Project.__projectLanguageAdded</h4> 611 <h4>Project.__projectLanguageAdded</h4>
558 <b>__projectLanguageAdded</b>(<i>code</i>) 612 <b>__projectLanguageAdded</b>(<i>code</i>)
560 <p> 614 <p>
561 Private slot handling the addition of a new language. 615 Private slot handling the addition of a new language.
562 </p> 616 </p>
563 <dl> 617 <dl>
564 618
565 <dt><i>code</i></dt> 619 <dt><i>code</i> (str)</dt>
566 <dd> 620 <dd>
567 language code of the new language (string) 621 language code of the new language
568 </dd> 622 </dd>
569 </dl> 623 </dl>
570 <a NAME="Project.__projectPath" ID="Project.__projectPath"></a> 624 <a NAME="Project.__projectPath" ID="Project.__projectPath"></a>
571 <h4>Project.__projectPath</h4> 625 <h4>Project.__projectPath</h4>
572 <b>__projectPath</b>(<i></i>) 626 <b>__projectPath</b>(<i></i>)
575 Private method to calculate the full path of the Pyramid project. 629 Private method to calculate the full path of the Pyramid project.
576 </p> 630 </p>
577 <dl> 631 <dl>
578 <dt>Return:</dt> 632 <dt>Return:</dt>
579 <dd> 633 <dd>
580 path of the project (string) 634 path of the project
635 </dd>
636 </dl>
637 <dl>
638 <dt>Return Type:</dt>
639 <dd>
640 str
581 </dd> 641 </dd>
582 </dl> 642 </dl>
583 <dl> 643 <dl>
584 644
585 <dt>Raises <b>PyramidNoProjectSelectedException</b>:</dt> 645 <dt>Raises <b>PyramidNoProjectSelectedException</b>:</dt>
623 <p> 683 <p>
624 Private slot to start the Pyramid Web server. 684 Private slot to start the Pyramid Web server.
625 </p> 685 </p>
626 <dl> 686 <dl>
627 687
628 <dt><i>logging</i></dt> 688 <dt><i>logging</i> (bool)</dt>
629 <dd> 689 <dd>
630 flag indicating to enable logging (boolean) 690 flag indicating to enable logging
631 </dd> 691 </dd>
632 </dl> 692 </dl>
633 <a NAME="Project.__selectProject" ID="Project.__selectProject"></a> 693 <a NAME="Project.__selectProject" ID="Project.__selectProject"></a>
634 <h4>Project.__selectProject</h4> 694 <h4>Project.__selectProject</h4>
635 <b>__selectProject</b>(<i></i>) 695 <b>__selectProject</b>(<i></i>)
651 <p> 711 <p>
652 Private slot to set the current project. 712 Private slot to set the current project.
653 </p> 713 </p>
654 <dl> 714 <dl>
655 715
656 <dt><i>project</i></dt> 716 <dt><i>project</i> (str)</dt>
657 <dd> 717 <dd>
658 name of the project (string) 718 name of the project
659 </dd> 719 </dd>
660 </dl> 720 </dl>
661 <a NAME="Project.__setupDevelop" ID="Project.__setupDevelop"></a> 721 <a NAME="Project.__setupDevelop" ID="Project.__setupDevelop"></a>
662 <h4>Project.__setupDevelop</h4> 722 <h4>Project.__setupDevelop</h4>
663 <b>__setupDevelop</b>(<i></i>) 723 <b>__setupDevelop</b>(<i></i>)
701 <p> 761 <p>
702 Public method to compile the message catalogs. 762 Public method to compile the message catalogs.
703 </p> 763 </p>
704 <dl> 764 <dl>
705 765
706 <dt><i>filenames</i></dt> 766 <dt><i>filenames</i> (list of str)</dt>
707 <dd> 767 <dd>
708 list of filenames (not used) 768 list of filenames (not used)
709 </dd> 769 </dd>
710 </dl> 770 </dl>
711 <a NAME="Project.compileSelectedCatalogs" ID="Project.compileSelectedCatalogs"></a> 771 <a NAME="Project.compileSelectedCatalogs" ID="Project.compileSelectedCatalogs"></a>
715 <p> 775 <p>
716 Public method to update the message catalogs. 776 Public method to update the message catalogs.
717 </p> 777 </p>
718 <dl> 778 <dl>
719 779
720 <dt><i>filenames</i></dt> 780 <dt><i>filenames</i> (list of str)</dt>
721 <dd> 781 <dd>
722 list of file names (list of string) 782 list of file names
723 </dd> 783 </dd>
724 </dl> 784 </dl>
725 <a NAME="Project.extractMessages" ID="Project.extractMessages"></a> 785 <a NAME="Project.extractMessages" ID="Project.extractMessages"></a>
726 <h4>Project.extractMessages</h4> 786 <h4>Project.extractMessages</h4>
727 <b>extractMessages</b>(<i></i>) 787 <b>extractMessages</b>(<i></i>)
736 <p> 796 <p>
737 Public method to get a reference to the requested menu. 797 Public method to get a reference to the requested menu.
738 </p> 798 </p>
739 <dl> 799 <dl>
740 800
741 <dt><i>name</i></dt> 801 <dt><i>name</i> (str)</dt>
742 <dd> 802 <dd>
743 name of the menu (string) 803 name of the menu
744 </dd> 804 </dd>
745 </dl> 805 </dl>
746 <dl> 806 <dl>
747 <dt>Return:</dt> 807 <dt>Return:</dt>
748 <dd> 808 <dd>
749 reference to the menu (QMenu) or None, if no 809 reference to the menu or None, if no menu with the given
750 menu with the given name exists 810 name exists
811 </dd>
812 </dl>
813 <dl>
814 <dt>Return Type:</dt>
815 <dd>
816 QMenu
751 </dd> 817 </dd>
752 </dl> 818 </dl>
753 <a NAME="Project.getMenuNames" ID="Project.getMenuNames"></a> 819 <a NAME="Project.getMenuNames" ID="Project.getMenuNames"></a>
754 <h4>Project.getMenuNames</h4> 820 <h4>Project.getMenuNames</h4>
755 <b>getMenuNames</b>(<i></i>) 821 <b>getMenuNames</b>(<i></i>)
758 Public method to get the names of all menus. 824 Public method to get the names of all menus.
759 </p> 825 </p>
760 <dl> 826 <dl>
761 <dt>Return:</dt> 827 <dt>Return:</dt>
762 <dd> 828 <dd>
763 menu names (list of string) 829 menu names
830 </dd>
831 </dl>
832 <dl>
833 <dt>Return Type:</dt>
834 <dd>
835 list of str
764 </dd> 836 </dd>
765 </dl> 837 </dl>
766 <a NAME="Project.getPyramidCommand" ID="Project.getPyramidCommand"></a> 838 <a NAME="Project.getPyramidCommand" ID="Project.getPyramidCommand"></a>
767 <h4>Project.getPyramidCommand</h4> 839 <h4>Project.getPyramidCommand</h4>
768 <b>getPyramidCommand</b>(<i>cmd, language=""</i>) 840 <b>getPyramidCommand</b>(<i>cmd, language=""</i>)
770 <p> 842 <p>
771 Public method to build a Pyramid command. 843 Public method to build a Pyramid command.
772 </p> 844 </p>
773 <dl> 845 <dl>
774 846
775 <dt><i>cmd</i></dt> 847 <dt><i>cmd</i> (str)</dt>
776 <dd> 848 <dd>
777 command (string) 849 command
778 </dd> 850 </dd>
779 <dt><i>language</i></dt> 851 <dt><i>language</i> (str)</dt>
780 <dd> 852 <dd>
781 Python variant to get the virtual environment 853 Python variant to get the virtual environment
782 for (string, one of '' or 'Python3') 854 for (one of '' or 'Python3')
783 </dd> 855 </dd>
784 </dl> 856 </dl>
785 <dl> 857 <dl>
786 <dt>Return:</dt> 858 <dt>Return:</dt>
787 <dd> 859 <dd>
788 full pyramid command (string) 860 full pyramid command
861 </dd>
862 </dl>
863 <dl>
864 <dt>Return Type:</dt>
865 <dd>
866 str
789 </dd> 867 </dd>
790 </dl> 868 </dl>
791 <a NAME="Project.getPyramidVersion" ID="Project.getPyramidVersion"></a> 869 <a NAME="Project.getPyramidVersion" ID="Project.getPyramidVersion"></a>
792 <h4>Project.getPyramidVersion</h4> 870 <h4>Project.getPyramidVersion</h4>
793 <b>getPyramidVersion</b>(<i></i>) 871 <b>getPyramidVersion</b>(<i></i>)
834 Public method to build the Python command. 912 Public method to build the Python command.
835 </p> 913 </p>
836 <dl> 914 <dl>
837 <dt>Return:</dt> 915 <dt>Return:</dt>
838 <dd> 916 <dd>
839 python command (string) 917 python command
918 </dd>
919 </dl>
920 <dl>
921 <dt>Return Type:</dt>
922 <dd>
923 str
840 </dd> 924 </dd>
841 </dl> 925 </dl>
842 <a NAME="Project.initActions" ID="Project.initActions"></a> 926 <a NAME="Project.initActions" ID="Project.initActions"></a>
843 <h4>Project.initActions</h4> 927 <h4>Project.initActions</h4>
844 <b>initActions</b>(<i></i>) 928 <b>initActions</b>(<i></i>)
854 Public slot to initialize the Pyramid menu. 938 Public slot to initialize the Pyramid menu.
855 </p> 939 </p>
856 <dl> 940 <dl>
857 <dt>Return:</dt> 941 <dt>Return:</dt>
858 <dd> 942 <dd>
859 the menu generated (QMenu) 943 the menu generated
944 </dd>
945 </dl>
946 <dl>
947 <dt>Return Type:</dt>
948 <dd>
949 QMenu
860 </dd> 950 </dd>
861 </dl> 951 </dl>
862 <a NAME="Project.isSpawningConsole" ID="Project.isSpawningConsole"></a> 952 <a NAME="Project.isSpawningConsole" ID="Project.isSpawningConsole"></a>
863 <h4>Project.isSpawningConsole</h4> 953 <h4>Project.isSpawningConsole</h4>
864 <b>isSpawningConsole</b>(<i>consoleCmd</i>) 954 <b>isSpawningConsole</b>(<i>consoleCmd</i>)
866 <p> 956 <p>
867 Public method to check, if the given console is a spawning console. 957 Public method to check, if the given console is a spawning console.
868 </p> 958 </p>
869 <dl> 959 <dl>
870 960
871 <dt><i>consoleCmd</i></dt> 961 <dt><i>consoleCmd</i> (str)</dt>
872 <dd> 962 <dd>
873 console command (string) 963 console command
874 </dd> 964 </dd>
875 </dl> 965 </dl>
876 <dl> 966 <dl>
877 <dt>Return:</dt> 967 <dt>Return:</dt>
878 <dd> 968 <dd>
879 tuple of two entries giving an indication, if the console 969 tuple of two entries giving an indication, if the console
880 is spawning (boolean) and the (possibly) cleaned console command 970 is spawning (boolean) and the (possibly) cleaned console command
881 (string) 971 </dd>
972 </dl>
973 <dl>
974 <dt>Return Type:</dt>
975 <dd>
976 str
882 </dd> 977 </dd>
883 </dl> 978 </dl>
884 <a NAME="Project.newForm" ID="Project.newForm"></a> 979 <a NAME="Project.newForm" ID="Project.newForm"></a>
885 <h4>Project.newForm</h4> 980 <h4>Project.newForm</h4>
886 <b>newForm</b>(<i>path</i>) 981 <b>newForm</b>(<i>path</i>)
888 <p> 983 <p>
889 Public method to create a new form. 984 Public method to create a new form.
890 </p> 985 </p>
891 <dl> 986 <dl>
892 987
893 <dt><i>path</i></dt> 988 <dt><i>path</i> (str)</dt>
894 <dd> 989 <dd>
895 full directory path for the new form file (string) 990 full directory path for the new form file
896 </dd> 991 </dd>
897 </dl> 992 </dl>
898 <a NAME="Project.openPOEditor" ID="Project.openPOEditor"></a> 993 <a NAME="Project.openPOEditor" ID="Project.openPOEditor"></a>
899 <h4>Project.openPOEditor</h4> 994 <h4>Project.openPOEditor</h4>
900 <b>openPOEditor</b>(<i>poFile</i>) 995 <b>openPOEditor</b>(<i>poFile</i>)
902 <p> 997 <p>
903 Public method to edit the given file in an external .po editor. 998 Public method to edit the given file in an external .po editor.
904 </p> 999 </p>
905 <dl> 1000 <dl>
906 1001
907 <dt><i>poFile</i></dt> 1002 <dt><i>poFile</i> (str)</dt>
908 <dd> 1003 <dd>
909 name of the .po file (string) 1004 name of the .po file
910 </dd> 1005 </dd>
911 </dl> 1006 </dl>
912 <a NAME="Project.projectClosed" ID="Project.projectClosed"></a> 1007 <a NAME="Project.projectClosed" ID="Project.projectClosed"></a>
913 <h4>Project.projectClosed</h4> 1008 <h4>Project.projectClosed</h4>
914 <b>projectClosed</b>(<i></i>) 1009 <b>projectClosed</b>(<i></i>)
946 Public method to get the supported Python variants. 1041 Public method to get the supported Python variants.
947 </p> 1042 </p>
948 <dl> 1043 <dl>
949 <dt>Return:</dt> 1044 <dt>Return:</dt>
950 <dd> 1045 <dd>
951 list of supported Python variants (list of strings) 1046 list of supported Python variants
1047 </dd>
1048 </dl>
1049 <dl>
1050 <dt>Return Type:</dt>
1051 <dd>
1052 list of str
952 </dd> 1053 </dd>
953 </dl> 1054 </dl>
954 <a NAME="Project.updateCatalogs" ID="Project.updateCatalogs"></a> 1055 <a NAME="Project.updateCatalogs" ID="Project.updateCatalogs"></a>
955 <h4>Project.updateCatalogs</h4> 1056 <h4>Project.updateCatalogs</h4>
956 <b>updateCatalogs</b>(<i>filenames</i>) 1057 <b>updateCatalogs</b>(<i>filenames</i>)
958 <p> 1059 <p>
959 Public method to update the message catalogs. 1060 Public method to update the message catalogs.
960 </p> 1061 </p>
961 <dl> 1062 <dl>
962 1063
963 <dt><i>filenames</i></dt> 1064 <dt><i>filenames</i> (list of str)</dt>
964 <dd> 1065 <dd>
965 list of filenames (not used) 1066 list of filenames (not used)
966 </dd> 1067 </dd>
967 </dl> 1068 </dl>
968 <a NAME="Project.updateSelectedCatalogs" ID="Project.updateSelectedCatalogs"></a> 1069 <a NAME="Project.updateSelectedCatalogs" ID="Project.updateSelectedCatalogs"></a>
972 <p> 1073 <p>
973 Public method to update the message catalogs. 1074 Public method to update the message catalogs.
974 </p> 1075 </p>
975 <dl> 1076 <dl>
976 1077
977 <dt><i>filenames</i></dt> 1078 <dt><i>filenames</i> (list of str)</dt>
978 <dd> 1079 <dd>
979 list of filenames 1080 list of filenames
980 </dd> 1081 </dd>
981 </dl> 1082 </dl>
982 <div align="right"><a href="#top">Up</a></div> 1083 <div align="right"><a href="#top">Up</a></div>
1051 </tr> 1152 </tr>
1052 </table> 1153 </table>
1053 1154
1054 <a NAME="QProcess.start" ID="QProcess.start"></a> 1155 <a NAME="QProcess.start" ID="QProcess.start"></a>
1055 <h4>QProcess.start</h4> 1156 <h4>QProcess.start</h4>
1056 <b>start</b>(<i>cmd, args=None, mode=QProcessPyQt.ReadWrite</i>) 1157 <b>start</b>(<i>cmd, args=None, mode=QIODeviceBase.OpenModeFlag.ReadWrite</i>)
1057 1158
1058 <p> 1159 <p>
1059 Public method to start the given program (cmd) in a new process, if 1160 Public method to start the given program (cmd) in a new process, if
1060 none is already running, passing the command line arguments in args. 1161 none is already running, passing the command line arguments in args.
1061 </p> 1162 </p>
1062 <dl> 1163 <dl>
1063 1164
1064 <dt><i>cmd</i></dt> 1165 <dt><i>cmd</i> (str)</dt>
1065 <dd> 1166 <dd>
1066 start the given program cmd (string) 1167 start the given program cmd
1067 </dd> 1168 </dd>
1068 <dt><i>args=</i></dt> 1169 <dt><i>args</i> (list of str)</dt>
1069 <dd> 1170 <dd>
1070 list of parameters (list of strings) 1171 list of parameters
1071 </dd> 1172 </dd>
1072 <dt><i>mode=</i></dt> 1173 <dt><i>mode</i> (QIODeviceBase.OpenMode)</dt>
1073 <dd> 1174 <dd>
1074 access mode (QIODevice.OpenMode) 1175 access mode
1075 </dd> 1176 </dd>
1076 </dl> 1177 </dl>
1077 <a NAME="QProcess.startDetached" ID="QProcess.startDetached"></a> 1178 <a NAME="QProcess.startDetached" ID="QProcess.startDetached"></a>
1078 <h4>QProcess.startDetached (static)</h4> 1179 <h4>QProcess.startDetached (static)</h4>
1079 <b>startDetached</b>(<i>args=None, path=''</i>) 1180 <b>startDetached</b>(<i>args=None, path=''</i>)
1082 Public static method to start the given program (cmd) in a new process, 1183 Public static method to start the given program (cmd) in a new process,
1083 if none is already running, passing the command line arguments in args. 1184 if none is already running, passing the command line arguments in args.
1084 </p> 1185 </p>
1085 <dl> 1186 <dl>
1086 1187
1087 <dt><i>cmd</i></dt> 1188 <dt><i>cmd</i> (str)</dt>
1088 <dd> 1189 <dd>
1089 start the given program cmd (string) 1190 start the given program cmd
1090 </dd> 1191 </dd>
1091 <dt><i>args=</i></dt> 1192 <dt><i>args</i> (list of str)</dt>
1092 <dd> 1193 <dd>
1093 list of parameters (list of strings) 1194 list of parameters
1094 </dd> 1195 </dd>
1095 <dt><i>path=</i></dt> 1196 <dt><i>path</i> (str)</dt>
1096 <dd> 1197 <dd>
1097 new working directory (string) 1198 new working directory
1098 </dd> 1199 </dd>
1099 </dl> 1200 </dl>
1100 <dl> 1201 <dl>
1101 <dt>Return:</dt> 1202 <dt>Return:</dt>
1102 <dd> 1203 <dd>
1103 tuple of successful start and process id (boolean, integer) 1204 tuple of successful start and process id
1205 </dd>
1206 </dl>
1207 <dl>
1208 <dt>Return Type:</dt>
1209 <dd>
1210 tuple of (bool, int)
1104 </dd> 1211 </dd>
1105 </dl> 1212 </dl>
1106 <div align="right"><a href="#top">Up</a></div> 1213 <div align="right"><a href="#top">Up</a></div>
1107 <hr /> 1214 <hr />
1108 </body></html> 1215 </body></html>

eric ide

mercurial