420 <td><a href="#Project.__testServerProcFinished">__testServerProcFinished</a></td> |
420 <td><a href="#Project.__testServerProcFinished">__testServerProcFinished</a></td> |
421 <td>Private slot connected to the finished signal of the test server.</td> |
421 <td>Private slot connected to the finished signal of the test server.</td> |
422 </tr> |
422 </tr> |
423 <tr> |
423 <tr> |
424 <td><a href="#Project.__unapplyMigrations">__unapplyMigrations</a></td> |
424 <td><a href="#Project.__unapplyMigrations">__unapplyMigrations</a></td> |
425 <td>Private slot to un-apply all migrations of an application.</td> |
425 <td>Private slot to revert all migrations of an application.</td> |
426 </tr> |
426 </tr> |
427 <tr> |
427 <tr> |
428 <td><a href="#Project.applyMigrations">applyMigrations</a></td> |
428 <td><a href="#Project.applyMigrations">applyMigrations</a></td> |
429 <td>Public slot to apply migrations.</td> |
429 <td>Public slot to apply migrations.</td> |
430 </tr> |
430 </tr> |
456 <td><a href="#Project.getMenuNames">getMenuNames</a></td> |
456 <td><a href="#Project.getMenuNames">getMenuNames</a></td> |
457 <td>Public method to get the names of all menus.</td> |
457 <td>Public method to get the names of all menus.</td> |
458 </tr> |
458 </tr> |
459 <tr> |
459 <tr> |
460 <td><a href="#Project.getProjectPath">getProjectPath</a></td> |
460 <td><a href="#Project.getProjectPath">getProjectPath</a></td> |
461 <td>Public method to get the path of the eric6 project.</td> |
461 <td>Public method to get the path of the eric7 project.</td> |
462 </tr> |
462 </tr> |
463 <tr> |
463 <tr> |
464 <td><a href="#Project.getRecentApplications">getRecentApplications</a></td> |
464 <td><a href="#Project.getRecentApplications">getRecentApplications</a></td> |
465 <td>Public method to get the list of recent applications.</td> |
465 <td>Public method to get the list of recent applications.</td> |
466 </tr> |
466 </tr> |
630 <p> |
630 <p> |
631 Private slot to create a new Django application. |
631 Private slot to create a new Django application. |
632 </p> |
632 </p> |
633 <dl> |
633 <dl> |
634 |
634 |
635 <dt><i>applName</i></dt> |
635 <dt><i>applName</i> (str)</dt> |
636 <dd> |
636 <dd> |
637 name of the new application (string) |
637 name of the new application |
638 </dd> |
638 </dd> |
639 <dt><i>path</i></dt> |
639 <dt><i>path</i> (str)</dt> |
640 <dd> |
640 <dd> |
641 the directory where the application should be created |
641 the directory where the application should be created |
642 (string) |
642 </dd> |
643 </dd> |
643 <dt><i>isGlobal</i> (bool)</dt> |
644 <dt><i>isGlobal</i></dt> |
|
645 <dd> |
644 <dd> |
646 flag indicating a standalone Django application |
645 flag indicating a standalone Django application |
647 (boolean) |
646 </dd> |
648 </dd> |
647 </dl> |
649 </dl> |
648 <dl> |
650 <dl> |
649 <dt>Return:</dt> |
651 <dt>Return:</dt> |
650 <dd> |
652 <dd> |
651 flag indicating a successful creation |
653 flag indicating a successful creation (boolean) |
652 </dd> |
|
653 </dl> |
|
654 <dl> |
|
655 <dt>Return Type:</dt> |
|
656 <dd> |
|
657 bool |
654 </dd> |
658 </dd> |
655 </dl> |
659 </dl> |
656 <a NAME="Project.__createCacheTables" ID="Project.__createCacheTables"></a> |
660 <a NAME="Project.__createCacheTables" ID="Project.__createCacheTables"></a> |
657 <h4>Project.__createCacheTables</h4> |
661 <h4>Project.__createCacheTables</h4> |
658 <b>__createCacheTables</b>(<i></i>) |
662 <b>__createCacheTables</b>(<i></i>) |
667 <p> |
671 <p> |
668 Private slot to create a new Django project. |
672 Private slot to create a new Django project. |
669 </p> |
673 </p> |
670 <dl> |
674 <dl> |
671 |
675 |
672 <dt><i>projectName</i></dt> |
676 <dt><i>projectName</i> (str)</dt> |
673 <dd> |
677 <dd> |
674 name of the new project (string) |
678 name of the new project |
675 </dd> |
679 </dd> |
676 <dt><i>path</i></dt> |
680 <dt><i>path</i> (str)</dt> |
677 <dd> |
681 <dd> |
678 the directory where the project should be created |
682 the directory where the project should be created |
679 (string) |
683 </dd> |
680 </dd> |
684 </dl> |
681 </dl> |
685 <dl> |
682 <dl> |
686 <dt>Return:</dt> |
683 <dt>Return:</dt> |
687 <dd> |
684 <dd> |
688 flag indicating a successful creation |
685 flag indicating a successful creation (boolean) |
689 </dd> |
|
690 </dl> |
|
691 <dl> |
|
692 <dt>Return Type:</dt> |
|
693 <dd> |
|
694 bool |
686 </dd> |
695 </dd> |
687 </dl> |
696 </dl> |
688 <a NAME="Project.__createSuperUser" ID="Project.__createSuperUser"></a> |
697 <a NAME="Project.__createSuperUser" ID="Project.__createSuperUser"></a> |
689 <h4>Project.__createSuperUser</h4> |
698 <h4>Project.__createSuperUser</h4> |
690 <b>__createSuperUser</b>(<i></i>) |
699 <b>__createSuperUser</b>(<i></i>) |
769 Private method to determine the relative path to all manage.py scripts. |
778 Private method to determine the relative path to all manage.py scripts. |
770 </p> |
779 </p> |
771 <dl> |
780 <dl> |
772 <dt>Return:</dt> |
781 <dt>Return:</dt> |
773 <dd> |
782 <dd> |
774 list of sites (list of strings) |
783 list of sites |
|
784 </dd> |
|
785 </dl> |
|
786 <dl> |
|
787 <dt>Return Type:</dt> |
|
788 <dd> |
|
789 list of str |
775 </dd> |
790 </dd> |
776 </dl> |
791 </dl> |
777 <a NAME="Project.__getApplications" ID="Project.__getApplications"></a> |
792 <a NAME="Project.__getApplications" ID="Project.__getApplications"></a> |
778 <h4>Project.__getApplications</h4> |
793 <h4>Project.__getApplications</h4> |
779 <b>__getApplications</b>(<i></i>) |
794 <b>__getApplications</b>(<i></i>) |
782 Private method to ask the user for a list of application names. |
797 Private method to ask the user for a list of application names. |
783 </p> |
798 </p> |
784 <dl> |
799 <dl> |
785 <dt>Return:</dt> |
800 <dt>Return:</dt> |
786 <dd> |
801 <dd> |
787 list of application names (list of strings) |
802 list of application names |
|
803 </dd> |
|
804 </dl> |
|
805 <dl> |
|
806 <dt>Return Type:</dt> |
|
807 <dd> |
|
808 list of str |
788 </dd> |
809 </dd> |
789 </dl> |
810 </dl> |
790 <a NAME="Project.__getDebugEnvironment" ID="Project.__getDebugEnvironment"></a> |
811 <a NAME="Project.__getDebugEnvironment" ID="Project.__getDebugEnvironment"></a> |
791 <h4>Project.__getDebugEnvironment</h4> |
812 <h4>Project.__getDebugEnvironment</h4> |
792 <b>__getDebugEnvironment</b>(<i>language=""</i>) |
813 <b>__getDebugEnvironment</b>(<i>language=""</i>) |
794 <p> |
815 <p> |
795 Private method to get the path of the debugger environment. |
816 Private method to get the path of the debugger environment. |
796 </p> |
817 </p> |
797 <dl> |
818 <dl> |
798 |
819 |
799 <dt><i>language</i></dt> |
820 <dt><i>language</i> (str)</dt> |
800 <dd> |
821 <dd> |
801 Python variant to get the debugger environment |
822 Python variant to get the debugger environment |
802 for (string, one of '' or 'Python3') |
823 for (one of '' or 'Python3') |
803 </dd> |
824 </dd> |
804 </dl> |
825 </dl> |
805 <dl> |
826 <dl> |
806 <dt>Return:</dt> |
827 <dt>Return:</dt> |
807 <dd> |
828 <dd> |
808 path of the debugger environment (string) |
829 path of the debugger environment |
|
830 </dd> |
|
831 </dl> |
|
832 <dl> |
|
833 <dt>Return Type:</dt> |
|
834 <dd> |
|
835 str |
809 </dd> |
836 </dd> |
810 </dl> |
837 </dl> |
811 <a NAME="Project.__getDjangoAdminCommand" ID="Project.__getDjangoAdminCommand"></a> |
838 <a NAME="Project.__getDjangoAdminCommand" ID="Project.__getDjangoAdminCommand"></a> |
812 <h4>Project.__getDjangoAdminCommand</h4> |
839 <h4>Project.__getDjangoAdminCommand</h4> |
813 <b>__getDjangoAdminCommand</b>(<i>language=""</i>) |
840 <b>__getDjangoAdminCommand</b>(<i>language=""</i>) |
815 <p> |
842 <p> |
816 Private method to build a django-admin.py command. |
843 Private method to build a django-admin.py command. |
817 </p> |
844 </p> |
818 <dl> |
845 <dl> |
819 |
846 |
820 <dt><i>language</i></dt> |
847 <dt><i>language</i> (str)</dt> |
821 <dd> |
848 <dd> |
822 Python variant to get the django-admin.py |
849 Python variant to get the django-admin.py |
823 command for (string, one of '' or 'Python3') |
850 command for (one of '' or 'Python3') |
824 </dd> |
851 </dd> |
825 </dl> |
852 </dl> |
826 <dl> |
853 <dl> |
827 <dt>Return:</dt> |
854 <dt>Return:</dt> |
828 <dd> |
855 <dd> |
829 full django-admin.py command (string) |
856 full django-admin.py command |
|
857 </dd> |
|
858 </dl> |
|
859 <dl> |
|
860 <dt>Return Type:</dt> |
|
861 <dd> |
|
862 str |
830 </dd> |
863 </dd> |
831 </dl> |
864 </dl> |
832 <a NAME="Project.__getExecutablePaths" ID="Project.__getExecutablePaths"></a> |
865 <a NAME="Project.__getExecutablePaths" ID="Project.__getExecutablePaths"></a> |
833 <h4>Project.__getExecutablePaths</h4> |
866 <h4>Project.__getExecutablePaths</h4> |
834 <b>__getExecutablePaths</b>(<i>file</i>) |
867 <b>__getExecutablePaths</b>(<i>file</i>) |
837 Private method to build all full paths of an executable file from |
870 Private method to build all full paths of an executable file from |
838 the environment. |
871 the environment. |
839 </p> |
872 </p> |
840 <dl> |
873 <dl> |
841 |
874 |
842 <dt><i>file</i></dt> |
875 <dt><i>file</i> (str)</dt> |
843 <dd> |
876 <dd> |
844 filename of the executable (string) |
877 filename of the executable |
845 </dd> |
878 </dd> |
846 </dl> |
879 </dl> |
847 <dl> |
880 <dl> |
848 <dt>Return:</dt> |
881 <dt>Return:</dt> |
849 <dd> |
882 <dd> |
850 list of full executable names, if the executable file is |
883 list of full executable names, if the executable file is |
851 accessible via the searchpath defined by the PATH environment |
884 accessible via the searchpath defined by the PATH environment |
852 variable, or an empty list otherwise. |
885 variable, or an empty list otherwise. |
853 </dd> |
886 </dd> |
854 </dl> |
887 </dl> |
|
888 <dl> |
|
889 <dt>Return Type:</dt> |
|
890 <dd> |
|
891 list of str |
|
892 </dd> |
|
893 </dl> |
855 <a NAME="Project.__getLocale" ID="Project.__getLocale"></a> |
894 <a NAME="Project.__getLocale" ID="Project.__getLocale"></a> |
856 <h4>Project.__getLocale</h4> |
895 <h4>Project.__getLocale</h4> |
857 <b>__getLocale</b>(<i>filename</i>) |
896 <b>__getLocale</b>(<i>filename</i>) |
858 |
897 |
859 <p> |
898 <p> |
860 Private method to extract the locale out of a file name. |
899 Private method to extract the locale out of a file name. |
861 </p> |
900 </p> |
862 <dl> |
901 <dl> |
863 |
902 |
864 <dt><i>filename</i></dt> |
903 <dt><i>filename</i> (str)</dt> |
865 <dd> |
904 <dd> |
866 name of the file used for extraction (string) |
905 name of the file used for extraction |
867 </dd> |
906 </dd> |
868 </dl> |
907 </dl> |
869 <dl> |
908 <dl> |
870 <dt>Return:</dt> |
909 <dt>Return:</dt> |
871 <dd> |
910 <dd> |
872 extracted locale (string) or None |
911 extracted locale or None |
|
912 </dd> |
|
913 </dl> |
|
914 <dl> |
|
915 <dt>Return Type:</dt> |
|
916 <dd> |
|
917 str |
873 </dd> |
918 </dd> |
874 </dl> |
919 </dl> |
875 <a NAME="Project.__getMigrations" ID="Project.__getMigrations"></a> |
920 <a NAME="Project.__getMigrations" ID="Project.__getMigrations"></a> |
876 <h4>Project.__getMigrations</h4> |
921 <h4>Project.__getMigrations</h4> |
877 <b>__getMigrations</b>(<i></i>) |
922 <b>__getMigrations</b>(<i></i>) |
900 Private method to build the Python command. |
945 Private method to build the Python command. |
901 </p> |
946 </p> |
902 <dl> |
947 <dl> |
903 <dt>Return:</dt> |
948 <dt>Return:</dt> |
904 <dd> |
949 <dd> |
905 python command (string) |
950 python command |
|
951 </dd> |
|
952 </dl> |
|
953 <dl> |
|
954 <dt>Return Type:</dt> |
|
955 <dd> |
|
956 str |
906 </dd> |
957 </dd> |
907 </dl> |
958 </dl> |
908 <a NAME="Project.__getVirtualEnvironment" ID="Project.__getVirtualEnvironment"></a> |
959 <a NAME="Project.__getVirtualEnvironment" ID="Project.__getVirtualEnvironment"></a> |
909 <h4>Project.__getVirtualEnvironment</h4> |
960 <h4>Project.__getVirtualEnvironment</h4> |
910 <b>__getVirtualEnvironment</b>(<i>language=""</i>) |
961 <b>__getVirtualEnvironment</b>(<i>language=""</i>) |
912 <p> |
963 <p> |
913 Private method to get the path of the virtual environment. |
964 Private method to get the path of the virtual environment. |
914 </p> |
965 </p> |
915 <dl> |
966 <dl> |
916 |
967 |
917 <dt><i>language</i></dt> |
968 <dt><i>language</i> (str)</dt> |
918 <dd> |
969 <dd> |
919 Python variant to get the virtual environment |
970 Python variant to get the virtual environment |
920 for (string, one of '' or 'Python3') |
971 for (one of '' or 'Python3') |
921 </dd> |
972 </dd> |
922 </dl> |
973 </dl> |
923 <dl> |
974 <dl> |
924 <dt>Return:</dt> |
975 <dt>Return:</dt> |
925 <dd> |
976 <dd> |
926 path of the virtual environment (string) |
977 path of the virtual environment |
|
978 </dd> |
|
979 </dl> |
|
980 <dl> |
|
981 <dt>Return Type:</dt> |
|
982 <dd> |
|
983 str |
927 </dd> |
984 </dd> |
928 </dl> |
985 </dl> |
929 <a NAME="Project.__initAuthorizationActions" ID="Project.__initAuthorizationActions"></a> |
986 <a NAME="Project.__initAuthorizationActions" ID="Project.__initAuthorizationActions"></a> |
930 <h4>Project.__initAuthorizationActions</h4> |
987 <h4>Project.__initAuthorizationActions</h4> |
931 <b>__initAuthorizationActions</b>(<i></i>) |
988 <b>__initAuthorizationActions</b>(<i></i>) |
1115 <p> |
1172 <p> |
1116 Private method to check, if the given console is a spawning console. |
1173 Private method to check, if the given console is a spawning console. |
1117 </p> |
1174 </p> |
1118 <dl> |
1175 <dl> |
1119 |
1176 |
1120 <dt><i>consoleCmd</i></dt> |
1177 <dt><i>consoleCmd</i> (str)</dt> |
1121 <dd> |
1178 <dd> |
1122 console command (string) |
1179 console command |
1123 </dd> |
1180 </dd> |
1124 </dl> |
1181 </dl> |
1125 <dl> |
1182 <dl> |
1126 <dt>Return:</dt> |
1183 <dt>Return:</dt> |
1127 <dd> |
1184 <dd> |
1128 tuple of two entries giving an indication, if the console |
1185 tuple of two entries giving an indication, if the console |
1129 is spawning (boolean) and the (possibly) cleaned console command |
1186 is spawning and the (possibly) cleaned console command |
1130 (string) |
1187 </dd> |
|
1188 </dl> |
|
1189 <dl> |
|
1190 <dt>Return Type:</dt> |
|
1191 <dd> |
|
1192 tuple of (bool, str) |
1131 </dd> |
1193 </dd> |
1132 </dl> |
1194 </dl> |
1133 <a NAME="Project.__isSuitableForVariant" ID="Project.__isSuitableForVariant"></a> |
1195 <a NAME="Project.__isSuitableForVariant" ID="Project.__isSuitableForVariant"></a> |
1134 <h4>Project.__isSuitableForVariant</h4> |
1196 <h4>Project.__isSuitableForVariant</h4> |
1135 <b>__isSuitableForVariant</b>(<i>variant, line0</i>) |
1197 <b>__isSuitableForVariant</b>(<i>variant, line0</i>) |
1203 <p> |
1265 <p> |
1204 Private method to normalize a list of file names. |
1266 Private method to normalize a list of file names. |
1205 </p> |
1267 </p> |
1206 <dl> |
1268 <dl> |
1207 |
1269 |
1208 <dt><i>filenames</i></dt> |
1270 <dt><i>filenames</i> (list of str)</dt> |
1209 <dd> |
1271 <dd> |
1210 list of file names to normalize (list of strings) |
1272 list of file names to normalize |
1211 </dd> |
1273 </dd> |
1212 </dl> |
1274 </dl> |
1213 <dl> |
1275 <dl> |
1214 <dt>Return:</dt> |
1276 <dt>Return:</dt> |
1215 <dd> |
1277 <dd> |
1216 normalized file names (list of strings) |
1278 normalized file names |
|
1279 </dd> |
|
1280 </dl> |
|
1281 <dl> |
|
1282 <dt>Return Type:</dt> |
|
1283 <dd> |
|
1284 list of str |
1217 </dd> |
1285 </dd> |
1218 </dl> |
1286 </dl> |
1219 <a NAME="Project.__performCheck" ID="Project.__performCheck"></a> |
1287 <a NAME="Project.__performCheck" ID="Project.__performCheck"></a> |
1220 <h4>Project.__performCheck</h4> |
1288 <h4>Project.__performCheck</h4> |
1221 <b>__performCheck</b>(<i></i>) |
1289 <b>__performCheck</b>(<i></i>) |
1230 <p> |
1298 <p> |
1231 Private slot handling the addition of a new language. |
1299 Private slot handling the addition of a new language. |
1232 </p> |
1300 </p> |
1233 <dl> |
1301 <dl> |
1234 |
1302 |
1235 <dt><i>code</i></dt> |
1303 <dt><i>code</i> (str)</dt> |
1236 <dd> |
1304 <dd> |
1237 language code of the new language (string) |
1305 language code of the new language |
1238 </dd> |
1306 </dd> |
1239 </dl> |
1307 </dl> |
1240 <a NAME="Project.__runBrowser" ID="Project.__runBrowser"></a> |
1308 <a NAME="Project.__runBrowser" ID="Project.__runBrowser"></a> |
1241 <h4>Project.__runBrowser</h4> |
1309 <h4>Project.__runBrowser</h4> |
1242 <b>__runBrowser</b>(<i></i>) |
1310 <b>__runBrowser</b>(<i></i>) |
1357 <p> |
1425 <p> |
1358 Private slot to set the current site. |
1426 Private slot to set the current site. |
1359 </p> |
1427 </p> |
1360 <dl> |
1428 <dl> |
1361 |
1429 |
1362 <dt><i>site</i></dt> |
1430 <dt><i>site</i> (str)</dt> |
1363 <dd> |
1431 <dd> |
1364 name of the site (string) |
1432 name of the site |
1365 </dd> |
1433 </dd> |
1366 </dl> |
1434 </dl> |
1367 <a NAME="Project.__showHelpIndex" ID="Project.__showHelpIndex"></a> |
1435 <a NAME="Project.__showHelpIndex" ID="Project.__showHelpIndex"></a> |
1368 <h4>Project.__showHelpIndex</h4> |
1436 <h4>Project.__showHelpIndex</h4> |
1369 <b>__showHelpIndex</b>(<i></i>) |
1437 <b>__showHelpIndex</b>(<i></i>) |
1412 <p> |
1486 <p> |
1413 Private method to filter a list of file names by site. |
1487 Private method to filter a list of file names by site. |
1414 </p> |
1488 </p> |
1415 <dl> |
1489 <dl> |
1416 |
1490 |
1417 <dt><i>filenames</i></dt> |
1491 <dt><i>filenames</i> (list of str)</dt> |
1418 <dd> |
1492 <dd> |
1419 list of file names to be filtered (list of strings) |
1493 list of file names to be filtered |
1420 </dd> |
1494 </dd> |
1421 </dl> |
1495 </dl> |
1422 <dl> |
1496 <dl> |
1423 <dt>Return:</dt> |
1497 <dt>Return:</dt> |
1424 <dd> |
1498 <dd> |
1425 file names belonging to the current site (list of strings) |
1499 file names belonging to the current site |
|
1500 </dd> |
|
1501 </dl> |
|
1502 <dl> |
|
1503 <dt>Return Type:</dt> |
|
1504 <dd> |
|
1505 list of str |
1426 </dd> |
1506 </dd> |
1427 </dl> |
1507 </dl> |
1428 <a NAME="Project.__sitePath" ID="Project.__sitePath"></a> |
1508 <a NAME="Project.__sitePath" ID="Project.__sitePath"></a> |
1429 <h4>Project.__sitePath</h4> |
1509 <h4>Project.__sitePath</h4> |
1430 <b>__sitePath</b>(<i></i>) |
1510 <b>__sitePath</b>(<i></i>) |
1452 <p> |
1538 <p> |
1453 Private method to perform an SQL creation function. |
1539 Private method to perform an SQL creation function. |
1454 </p> |
1540 </p> |
1455 <dl> |
1541 <dl> |
1456 |
1542 |
1457 <dt><i>title</i></dt> |
1543 <dt><i>title</i> (str)</dt> |
1458 <dd> |
1544 <dd> |
1459 dialog title (string) |
1545 dialog title |
1460 </dd> |
1546 </dd> |
1461 <dt><i>command</i></dt> |
1547 <dt><i>command</i> (str)</dt> |
1462 <dd> |
1548 <dd> |
1463 Django sql... command (string) |
1549 Django sql... command |
1464 </dd> |
1550 </dd> |
1465 <dt><i>requestApps</i></dt> |
1551 <dt><i>requestApps</i> (bool)</dt> |
1466 <dd> |
1552 <dd> |
1467 flag indicating to request a list of applications |
1553 flag indicating to request a list of applications |
1468 to work on (boolean) |
1554 to work on |
1469 </dd> |
1555 </dd> |
1470 </dl> |
1556 </dl> |
1471 <a NAME="Project.__squashMigrations" ID="Project.__squashMigrations"></a> |
1557 <a NAME="Project.__squashMigrations" ID="Project.__squashMigrations"></a> |
1472 <h4>Project.__squashMigrations</h4> |
1558 <h4>Project.__squashMigrations</h4> |
1473 <b>__squashMigrations</b>(<i></i>) |
1559 <b>__squashMigrations</b>(<i></i>) |
1506 <a NAME="Project.__unapplyMigrations" ID="Project.__unapplyMigrations"></a> |
1592 <a NAME="Project.__unapplyMigrations" ID="Project.__unapplyMigrations"></a> |
1507 <h4>Project.__unapplyMigrations</h4> |
1593 <h4>Project.__unapplyMigrations</h4> |
1508 <b>__unapplyMigrations</b>(<i></i>) |
1594 <b>__unapplyMigrations</b>(<i></i>) |
1509 |
1595 |
1510 <p> |
1596 <p> |
1511 Private slot to un-apply all migrations of an application. |
1597 Private slot to revert all migrations of an application. |
1512 </p> |
1598 </p> |
1513 <a NAME="Project.applyMigrations" ID="Project.applyMigrations"></a> |
1599 <a NAME="Project.applyMigrations" ID="Project.applyMigrations"></a> |
1514 <h4>Project.applyMigrations</h4> |
1600 <h4>Project.applyMigrations</h4> |
1515 <b>applyMigrations</b>(<i>app=None, migration=None</i>) |
1601 <b>applyMigrations</b>(<i>app=None, migration=None</i>) |
1516 |
1602 |
1614 <p> |
1706 <p> |
1615 Public method to get a reference to the requested menu. |
1707 Public method to get a reference to the requested menu. |
1616 </p> |
1708 </p> |
1617 <dl> |
1709 <dl> |
1618 |
1710 |
1619 <dt><i>name</i></dt> |
1711 <dt><i>name</i> (str)</dt> |
1620 <dd> |
1712 <dd> |
1621 name of the menu (string) |
1713 name of the menu |
1622 </dd> |
1714 </dd> |
1623 </dl> |
1715 </dl> |
1624 <dl> |
1716 <dl> |
1625 <dt>Return:</dt> |
1717 <dt>Return:</dt> |
1626 <dd> |
1718 <dd> |
1627 reference to the menu (QMenu) or None, if no |
1719 reference to the menu or None, if no menu with the given |
1628 menu with the given name exists |
1720 name exists |
|
1721 </dd> |
|
1722 </dl> |
|
1723 <dl> |
|
1724 <dt>Return Type:</dt> |
|
1725 <dd> |
|
1726 QMenu |
1629 </dd> |
1727 </dd> |
1630 </dl> |
1728 </dl> |
1631 <a NAME="Project.getMenuNames" ID="Project.getMenuNames"></a> |
1729 <a NAME="Project.getMenuNames" ID="Project.getMenuNames"></a> |
1632 <h4>Project.getMenuNames</h4> |
1730 <h4>Project.getMenuNames</h4> |
1633 <b>getMenuNames</b>(<i></i>) |
1731 <b>getMenuNames</b>(<i></i>) |
1636 Public method to get the names of all menus. |
1734 Public method to get the names of all menus. |
1637 </p> |
1735 </p> |
1638 <dl> |
1736 <dl> |
1639 <dt>Return:</dt> |
1737 <dt>Return:</dt> |
1640 <dd> |
1738 <dd> |
1641 menu names (list of string) |
1739 menu names |
|
1740 </dd> |
|
1741 </dl> |
|
1742 <dl> |
|
1743 <dt>Return Type:</dt> |
|
1744 <dd> |
|
1745 list of str |
1642 </dd> |
1746 </dd> |
1643 </dl> |
1747 </dl> |
1644 <a NAME="Project.getProjectPath" ID="Project.getProjectPath"></a> |
1748 <a NAME="Project.getProjectPath" ID="Project.getProjectPath"></a> |
1645 <h4>Project.getProjectPath</h4> |
1749 <h4>Project.getProjectPath</h4> |
1646 <b>getProjectPath</b>(<i></i>) |
1750 <b>getProjectPath</b>(<i></i>) |
1647 |
1751 |
1648 <p> |
1752 <p> |
1649 Public method to get the path of the eric6 project. |
1753 Public method to get the path of the eric7 project. |
1650 </p> |
1754 </p> |
1651 <dl> |
1755 <dl> |
1652 <dt>Return:</dt> |
1756 <dt>Return:</dt> |
1653 <dd> |
1757 <dd> |
1654 path of the eric6 project (string) |
1758 path of the eric7 project |
|
1759 </dd> |
|
1760 </dl> |
|
1761 <dl> |
|
1762 <dt>Return Type:</dt> |
|
1763 <dd> |
|
1764 str |
1655 </dd> |
1765 </dd> |
1656 </dl> |
1766 </dl> |
1657 <a NAME="Project.getRecentApplications" ID="Project.getRecentApplications"></a> |
1767 <a NAME="Project.getRecentApplications" ID="Project.getRecentApplications"></a> |
1658 <h4>Project.getRecentApplications</h4> |
1768 <h4>Project.getRecentApplications</h4> |
1659 <b>getRecentApplications</b>(<i></i>) |
1769 <b>getRecentApplications</b>(<i></i>) |
1775 <p> |
1885 <p> |
1776 Public method to create a new form. |
1886 Public method to create a new form. |
1777 </p> |
1887 </p> |
1778 <dl> |
1888 <dl> |
1779 |
1889 |
1780 <dt><i>path</i></dt> |
1890 <dt><i>path</i> (str)</dt> |
1781 <dd> |
1891 <dd> |
1782 full directory path for the new form file (string) |
1892 full directory path for the new form file |
1783 </dd> |
1893 </dd> |
1784 </dl> |
1894 </dl> |
1785 <a NAME="Project.newProjectCreated" ID="Project.newProjectCreated"></a> |
1895 <a NAME="Project.newProjectCreated" ID="Project.newProjectCreated"></a> |
1786 <h4>Project.newProjectCreated</h4> |
1896 <h4>Project.newProjectCreated</h4> |
1787 <b>newProjectCreated</b>(<i></i>) |
1897 <b>newProjectCreated</b>(<i></i>) |
1796 <p> |
1906 <p> |
1797 Public method to edit the given file in an external .po editor. |
1907 Public method to edit the given file in an external .po editor. |
1798 </p> |
1908 </p> |
1799 <dl> |
1909 <dl> |
1800 |
1910 |
1801 <dt><i>poFile</i></dt> |
1911 <dt><i>poFile</i> (str)</dt> |
1802 <dd> |
1912 <dd> |
1803 name of the .po file (string) |
1913 name of the .po file |
1804 </dd> |
1914 </dd> |
1805 </dl> |
1915 </dl> |
1806 <a NAME="Project.projectClosed" ID="Project.projectClosed"></a> |
1916 <a NAME="Project.projectClosed" ID="Project.projectClosed"></a> |
1807 <h4>Project.projectClosed</h4> |
1917 <h4>Project.projectClosed</h4> |
1808 <b>projectClosed</b>(<i></i>) |
1918 <b>projectClosed</b>(<i></i>) |
1839 <p> |
1949 <p> |
1840 Public method to set the most recently used applications entry. |
1950 Public method to set the most recently used applications entry. |
1841 </p> |
1951 </p> |
1842 <dl> |
1952 <dl> |
1843 |
1953 |
1844 <dt><i>applStr</i></dt> |
1954 <dt><i>applStr</i> (str)</dt> |
1845 <dd> |
1955 <dd> |
1846 applications entry (string) |
1956 applications entry |
1847 </dd> |
1957 </dd> |
1848 </dl> |
1958 </dl> |
1849 <a NAME="Project.setMostRecentDatabaseNames" ID="Project.setMostRecentDatabaseNames"></a> |
1959 <a NAME="Project.setMostRecentDatabaseNames" ID="Project.setMostRecentDatabaseNames"></a> |
1850 <h4>Project.setMostRecentDatabaseNames</h4> |
1960 <h4>Project.setMostRecentDatabaseNames</h4> |
1851 <b>setMostRecentDatabaseNames</b>(<i>dbName</i>) |
1961 <b>setMostRecentDatabaseNames</b>(<i>dbName</i>) |
1893 Public method to get the supported Python variants. |
2003 Public method to get the supported Python variants. |
1894 </p> |
2004 </p> |
1895 <dl> |
2005 <dl> |
1896 <dt>Return:</dt> |
2006 <dt>Return:</dt> |
1897 <dd> |
2007 <dd> |
1898 list of supported Python variants (list of strings) |
2008 list of supported Python variants |
|
2009 </dd> |
|
2010 </dl> |
|
2011 <dl> |
|
2012 <dt>Return Type:</dt> |
|
2013 <dd> |
|
2014 list of str |
1899 </dd> |
2015 </dd> |
1900 </dl> |
2016 </dl> |
1901 <a NAME="Project.updateCatalogs" ID="Project.updateCatalogs"></a> |
2017 <a NAME="Project.updateCatalogs" ID="Project.updateCatalogs"></a> |
1902 <h4>Project.updateCatalogs</h4> |
2018 <h4>Project.updateCatalogs</h4> |
1903 <b>updateCatalogs</b>(<i>filenames</i>) |
2019 <b>updateCatalogs</b>(<i>filenames</i>) |
1933 <p> |
2049 <p> |
1934 Public method to update the message catalogs. |
2050 Public method to update the message catalogs. |
1935 </p> |
2051 </p> |
1936 <dl> |
2052 <dl> |
1937 |
2053 |
1938 <dt><i>filenames</i></dt> |
2054 <dt><i>filenames</i> (list of str)</dt> |
1939 <dd> |
2055 <dd> |
1940 list of file names (list of strings) |
2056 list of file names |
1941 </dd> |
2057 </dd> |
1942 </dl> |
2058 </dl> |
1943 <a NAME="Project.updateSelectedCatalogsWithObsolete" ID="Project.updateSelectedCatalogsWithObsolete"></a> |
2059 <a NAME="Project.updateSelectedCatalogsWithObsolete" ID="Project.updateSelectedCatalogsWithObsolete"></a> |
1944 <h4>Project.updateSelectedCatalogsWithObsolete</h4> |
2060 <h4>Project.updateSelectedCatalogsWithObsolete</h4> |
1945 <b>updateSelectedCatalogsWithObsolete</b>(<i>filenames</i>) |
2061 <b>updateSelectedCatalogsWithObsolete</b>(<i>filenames</i>) |
1994 </tr> |
2110 </tr> |
1995 </table> |
2111 </table> |
1996 |
2112 |
1997 <a NAME="QProcess.start" ID="QProcess.start"></a> |
2113 <a NAME="QProcess.start" ID="QProcess.start"></a> |
1998 <h4>QProcess.start</h4> |
2114 <h4>QProcess.start</h4> |
1999 <b>start</b>(<i>cmd, args=None, mode=QProcessPyQt.ReadWrite</i>) |
2115 <b>start</b>(<i>cmd, args=None, mode=QIODeviceBase.OpenModeFlag.ReadWrite</i>) |
2000 |
2116 |
2001 <p> |
2117 <p> |
2002 Public method to start the given program (cmd) in a new process, if |
2118 Public method to start the given program (cmd) in a new process, if |
2003 none is already running, passing the command line arguments in args. |
2119 none is already running, passing the command line arguments in args. |
2004 </p> |
2120 </p> |
2005 <dl> |
2121 <dl> |
2006 |
2122 |
2007 <dt><i>cmd</i></dt> |
2123 <dt><i>cmd</i> (str)</dt> |
2008 <dd> |
2124 <dd> |
2009 start the given program cmd (string) |
2125 start the given program cmd |
2010 </dd> |
2126 </dd> |
2011 <dt><i>args=</i></dt> |
2127 <dt><i>args</i> (list of str)</dt> |
2012 <dd> |
2128 <dd> |
2013 list of parameters (list of strings) |
2129 list of parameters |
2014 </dd> |
2130 </dd> |
2015 <dt><i>mode=</i></dt> |
2131 <dt><i>mode</i> (QIODeviceBase.OpenMode)</dt> |
2016 <dd> |
2132 <dd> |
2017 access mode (QIODevice.OpenMode) |
2133 access mode |
2018 </dd> |
2134 </dd> |
2019 </dl> |
2135 </dl> |
2020 <a NAME="QProcess.startDetached" ID="QProcess.startDetached"></a> |
2136 <a NAME="QProcess.startDetached" ID="QProcess.startDetached"></a> |
2021 <h4>QProcess.startDetached (static)</h4> |
2137 <h4>QProcess.startDetached (static)</h4> |
2022 <b>startDetached</b>(<i>args=None, path=''</i>) |
2138 <b>startDetached</b>(<i>args=None, path=''</i>) |
2025 Public static method to start the given program (cmd) in a new process, |
2141 Public static method to start the given program (cmd) in a new process, |
2026 if none is already running, passing the command line arguments in args. |
2142 if none is already running, passing the command line arguments in args. |
2027 </p> |
2143 </p> |
2028 <dl> |
2144 <dl> |
2029 |
2145 |
2030 <dt><i>cmd</i></dt> |
2146 <dt><i>cmd</i> (str)</dt> |
2031 <dd> |
2147 <dd> |
2032 start the given program cmd (string) |
2148 start the given program cmd |
2033 </dd> |
2149 </dd> |
2034 <dt><i>args=</i></dt> |
2150 <dt><i>args</i> (list of str)</dt> |
2035 <dd> |
2151 <dd> |
2036 list of parameters (list of strings) |
2152 list of parameters |
2037 </dd> |
2153 </dd> |
2038 <dt><i>path=</i></dt> |
2154 <dt><i>path</i> (str)</dt> |
2039 <dd> |
2155 <dd> |
2040 new working directory (string) |
2156 new working directory |
2041 </dd> |
2157 </dd> |
2042 </dl> |
2158 </dl> |
2043 <dl> |
2159 <dl> |
2044 <dt>Return:</dt> |
2160 <dt>Return:</dt> |
2045 <dd> |
2161 <dd> |
2046 tuple of successful start and process id (boolean, integer) |
2162 tuple of successful start and process id |
|
2163 </dd> |
|
2164 </dl> |
|
2165 <dl> |
|
2166 <dt>Return Type:</dt> |
|
2167 <dd> |
|
2168 tuple of (bool, int) |
2047 </dd> |
2169 </dd> |
2048 </dl> |
2170 </dl> |
2049 <div align="right"><a href="#top">Up</a></div> |
2171 <div align="right"><a href="#top">Up</a></div> |
2050 <hr /> |
2172 <hr /> |
2051 </body></html> |
2173 </body></html> |