5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.MultiProject.MultiProject</h1> |
9 <h1>eric7.MultiProject.MultiProject</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the multi project management functionality. |
11 Module implementing the multi project management functionality. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#MultiProject">MultiProject</a></td> |
22 <td><a href="#MultiProject">MultiProject</a></td> |
25 <td>Class implementing the project management functionality.</td> |
23 <td>Class implementing the project management functionality.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="MultiProject" ID="MultiProject"></a> |
34 <a NAME="MultiProject" ID="MultiProject"></a> |
36 <h2>MultiProject</h2> |
35 <h2>MultiProject</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing the project management functionality. |
37 Class implementing the project management functionality. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Signals</h3> |
40 <h3>Signals</h3> |
42 <dl> |
41 <dl> |
43 |
42 |
44 <dt>dirty(bool)</dt> |
43 <dt>dirty(bool)</dt> |
45 <dd> |
44 <dd> |
294 <tr> |
291 <tr> |
295 <td><a href="#MultiProject.setDirty">setDirty</a></td> |
292 <td><a href="#MultiProject.setDirty">setDirty</a></td> |
296 <td>Public method to set the dirty state.</td> |
293 <td>Public method to set the dirty state.</td> |
297 </tr> |
294 </tr> |
298 </table> |
295 </table> |
|
296 |
299 <h3>Static Methods</h3> |
297 <h3>Static Methods</h3> |
300 |
|
301 <table> |
298 <table> |
302 <tr><td>None</td></tr> |
299 <tr><td>None</td></tr> |
303 </table> |
300 </table> |
304 |
301 |
|
302 |
305 <a NAME="MultiProject.__init__" ID="MultiProject.__init__"></a> |
303 <a NAME="MultiProject.__init__" ID="MultiProject.__init__"></a> |
306 <h4>MultiProject (Constructor)</h4> |
304 <h4>MultiProject (Constructor)</h4> |
307 <b>MultiProject</b>(<i>project, parent=None, filename=None</i>) |
305 <b>MultiProject</b>(<i>project, parent=None, filename=None</i>) |
308 |
|
309 <p> |
306 <p> |
310 Constructor |
307 Constructor |
311 </p> |
308 </p> |
|
309 |
312 <dl> |
310 <dl> |
313 |
311 |
314 <dt><i>project</i> (Project.Project)</dt> |
312 <dt><i>project</i> (Project.Project)</dt> |
315 <dd> |
313 <dd> |
316 reference to the project object |
314 reference to the project object |
325 </dd> |
323 </dd> |
326 </dl> |
324 </dl> |
327 <a NAME="MultiProject.__checkFilesExist" ID="MultiProject.__checkFilesExist"></a> |
325 <a NAME="MultiProject.__checkFilesExist" ID="MultiProject.__checkFilesExist"></a> |
328 <h4>MultiProject.__checkFilesExist</h4> |
326 <h4>MultiProject.__checkFilesExist</h4> |
329 <b>__checkFilesExist</b>(<i></i>) |
327 <b>__checkFilesExist</b>(<i></i>) |
330 |
|
331 <p> |
328 <p> |
332 Private method to check, if the files in a list exist. |
329 Private method to check, if the files in a list exist. |
333 </p> |
330 </p> |
334 <p> |
331 <p> |
335 The project files are checked for existance in the |
332 The project files are checked for existance in the |
336 filesystem. Non existant projects are removed from the list and the |
333 filesystem. Non existant projects are removed from the list and the |
337 dirty state of the multi project is changed accordingly. |
334 dirty state of the multi project is changed accordingly. |
338 </p> |
335 </p> |
|
336 |
339 <a NAME="MultiProject.__extractCategories" ID="MultiProject.__extractCategories"></a> |
337 <a NAME="MultiProject.__extractCategories" ID="MultiProject.__extractCategories"></a> |
340 <h4>MultiProject.__extractCategories</h4> |
338 <h4>MultiProject.__extractCategories</h4> |
341 <b>__extractCategories</b>(<i></i>) |
339 <b>__extractCategories</b>(<i></i>) |
342 |
|
343 <p> |
340 <p> |
344 Private slot to extract the categories used in the project definitions. |
341 Private slot to extract the categories used in the project definitions. |
345 </p> |
342 </p> |
|
343 |
346 <a NAME="MultiProject.__initData" ID="MultiProject.__initData"></a> |
344 <a NAME="MultiProject.__initData" ID="MultiProject.__initData"></a> |
347 <h4>MultiProject.__initData</h4> |
345 <h4>MultiProject.__initData</h4> |
348 <b>__initData</b>(<i></i>) |
346 <b>__initData</b>(<i></i>) |
349 |
|
350 <p> |
347 <p> |
351 Private method to initialize the multi project data part. |
348 Private method to initialize the multi project data part. |
352 </p> |
349 </p> |
|
350 |
353 <a NAME="MultiProject.__loadRecent" ID="MultiProject.__loadRecent"></a> |
351 <a NAME="MultiProject.__loadRecent" ID="MultiProject.__loadRecent"></a> |
354 <h4>MultiProject.__loadRecent</h4> |
352 <h4>MultiProject.__loadRecent</h4> |
355 <b>__loadRecent</b>(<i></i>) |
353 <b>__loadRecent</b>(<i></i>) |
356 |
|
357 <p> |
354 <p> |
358 Private method to load the recently opened multi project filenames. |
355 Private method to load the recently opened multi project filenames. |
359 </p> |
356 </p> |
|
357 |
360 <a NAME="MultiProject.__newMultiProject" ID="MultiProject.__newMultiProject"></a> |
358 <a NAME="MultiProject.__newMultiProject" ID="MultiProject.__newMultiProject"></a> |
361 <h4>MultiProject.__newMultiProject</h4> |
359 <h4>MultiProject.__newMultiProject</h4> |
362 <b>__newMultiProject</b>(<i></i>) |
360 <b>__newMultiProject</b>(<i></i>) |
363 |
|
364 <p> |
361 <p> |
365 Private slot to build a new multi project. |
362 Private slot to build a new multi project. |
366 </p> |
363 </p> |
367 <p> |
364 <p> |
368 This method displays the new multi project dialog and initializes |
365 This method displays the new multi project dialog and initializes |
369 the multi project object with the data entered. |
366 the multi project object with the data entered. |
370 </p> |
367 </p> |
|
368 |
371 <a NAME="MultiProject.__openMainProject" ID="MultiProject.__openMainProject"></a> |
369 <a NAME="MultiProject.__openMainProject" ID="MultiProject.__openMainProject"></a> |
372 <h4>MultiProject.__openMainProject</h4> |
370 <h4>MultiProject.__openMainProject</h4> |
373 <b>__openMainProject</b>(<i>reopen=True</i>) |
371 <b>__openMainProject</b>(<i>reopen=True</i>) |
374 |
|
375 <p> |
372 <p> |
376 Private slot to open the main project. |
373 Private slot to open the main project. |
377 </p> |
374 </p> |
|
375 |
378 <dl> |
376 <dl> |
379 |
377 |
380 <dt><i>reopen</i> (bool)</dt> |
378 <dt><i>reopen</i> (bool)</dt> |
381 <dd> |
379 <dd> |
382 flag indicating, that the main project should be |
380 flag indicating, that the main project should be |
384 </dd> |
382 </dd> |
385 </dl> |
383 </dl> |
386 <a NAME="MultiProject.__openRecent" ID="MultiProject.__openRecent"></a> |
384 <a NAME="MultiProject.__openRecent" ID="MultiProject.__openRecent"></a> |
387 <h4>MultiProject.__openRecent</h4> |
385 <h4>MultiProject.__openRecent</h4> |
388 <b>__openRecent</b>(<i>act</i>) |
386 <b>__openRecent</b>(<i>act</i>) |
389 |
|
390 <p> |
387 <p> |
391 Private method to open a multi project from the list of rencently |
388 Private method to open a multi project from the list of rencently |
392 opened multi projects. |
389 opened multi projects. |
393 </p> |
390 </p> |
|
391 |
394 <dl> |
392 <dl> |
395 |
393 |
396 <dt><i>act</i> (QAction)</dt> |
394 <dt><i>act</i> (QAction)</dt> |
397 <dd> |
395 <dd> |
398 reference to the action that triggered |
396 reference to the action that triggered |
399 </dd> |
397 </dd> |
400 </dl> |
398 </dl> |
401 <a NAME="MultiProject.__readMultiProject" ID="MultiProject.__readMultiProject"></a> |
399 <a NAME="MultiProject.__readMultiProject" ID="MultiProject.__readMultiProject"></a> |
402 <h4>MultiProject.__readMultiProject</h4> |
400 <h4>MultiProject.__readMultiProject</h4> |
403 <b>__readMultiProject</b>(<i>fn</i>) |
401 <b>__readMultiProject</b>(<i>fn</i>) |
404 |
|
405 <p> |
402 <p> |
406 Private method to read in a multi project (.emj, .e4m, .e5m) file. |
403 Private method to read in a multi project (.emj, .e4m, .e5m) file. |
407 </p> |
404 </p> |
|
405 |
408 <dl> |
406 <dl> |
409 |
407 |
410 <dt><i>fn</i> (str)</dt> |
408 <dt><i>fn</i> (str)</dt> |
411 <dd> |
409 <dd> |
412 filename of the multi project file to be read |
410 filename of the multi project file to be read |
425 </dd> |
423 </dd> |
426 </dl> |
424 </dl> |
427 <a NAME="MultiProject.__saveRecent" ID="MultiProject.__saveRecent"></a> |
425 <a NAME="MultiProject.__saveRecent" ID="MultiProject.__saveRecent"></a> |
428 <h4>MultiProject.__saveRecent</h4> |
426 <h4>MultiProject.__saveRecent</h4> |
429 <b>__saveRecent</b>(<i></i>) |
427 <b>__saveRecent</b>(<i></i>) |
430 |
|
431 <p> |
428 <p> |
432 Private method to save the list of recently opened filenames. |
429 Private method to save the list of recently opened filenames. |
433 </p> |
430 </p> |
|
431 |
434 <a NAME="MultiProject.__showContextMenuRecent" ID="MultiProject.__showContextMenuRecent"></a> |
432 <a NAME="MultiProject.__showContextMenuRecent" ID="MultiProject.__showContextMenuRecent"></a> |
435 <h4>MultiProject.__showContextMenuRecent</h4> |
433 <h4>MultiProject.__showContextMenuRecent</h4> |
436 <b>__showContextMenuRecent</b>(<i></i>) |
434 <b>__showContextMenuRecent</b>(<i></i>) |
437 |
|
438 <p> |
435 <p> |
439 Private method to set up the recent multi projects menu. |
436 Private method to set up the recent multi projects menu. |
440 </p> |
437 </p> |
|
438 |
441 <a NAME="MultiProject.__showMenu" ID="MultiProject.__showMenu"></a> |
439 <a NAME="MultiProject.__showMenu" ID="MultiProject.__showMenu"></a> |
442 <h4>MultiProject.__showMenu</h4> |
440 <h4>MultiProject.__showMenu</h4> |
443 <b>__showMenu</b>(<i></i>) |
441 <b>__showMenu</b>(<i></i>) |
444 |
|
445 <p> |
442 <p> |
446 Private method to set up the multi project menu. |
443 Private method to set up the multi project menu. |
447 </p> |
444 </p> |
|
445 |
448 <a NAME="MultiProject.__showProperties" ID="MultiProject.__showProperties"></a> |
446 <a NAME="MultiProject.__showProperties" ID="MultiProject.__showProperties"></a> |
449 <h4>MultiProject.__showProperties</h4> |
447 <h4>MultiProject.__showProperties</h4> |
450 <b>__showProperties</b>(<i></i>) |
448 <b>__showProperties</b>(<i></i>) |
451 |
|
452 <p> |
449 <p> |
453 Private slot to display the properties dialog. |
450 Private slot to display the properties dialog. |
454 </p> |
451 </p> |
|
452 |
455 <a NAME="MultiProject.__syncRecent" ID="MultiProject.__syncRecent"></a> |
453 <a NAME="MultiProject.__syncRecent" ID="MultiProject.__syncRecent"></a> |
456 <h4>MultiProject.__syncRecent</h4> |
454 <h4>MultiProject.__syncRecent</h4> |
457 <b>__syncRecent</b>(<i></i>) |
455 <b>__syncRecent</b>(<i></i>) |
458 |
|
459 <p> |
456 <p> |
460 Private method to synchronize the list of recently opened multi |
457 Private method to synchronize the list of recently opened multi |
461 projects with the central store. |
458 projects with the central store. |
462 </p> |
459 </p> |
|
460 |
463 <a NAME="MultiProject.__writeMultiProject" ID="MultiProject.__writeMultiProject"></a> |
461 <a NAME="MultiProject.__writeMultiProject" ID="MultiProject.__writeMultiProject"></a> |
464 <h4>MultiProject.__writeMultiProject</h4> |
462 <h4>MultiProject.__writeMultiProject</h4> |
465 <b>__writeMultiProject</b>(<i>fn=None</i>) |
463 <b>__writeMultiProject</b>(<i>fn=None</i>) |
466 |
|
467 <p> |
464 <p> |
468 Private method to save the multi project infos to a multi project file. |
465 Private method to save the multi project infos to a multi project file. |
469 </p> |
466 </p> |
|
467 |
470 <dl> |
468 <dl> |
471 |
469 |
472 <dt><i>fn</i> (str)</dt> |
470 <dt><i>fn</i> (str)</dt> |
473 <dd> |
471 <dd> |
474 optional filename of the multi project file to be written. |
472 optional filename of the multi project file to be written. |
491 </dd> |
489 </dd> |
492 </dl> |
490 </dl> |
493 <a NAME="MultiProject.addEricActions" ID="MultiProject.addEricActions"></a> |
491 <a NAME="MultiProject.addEricActions" ID="MultiProject.addEricActions"></a> |
494 <h4>MultiProject.addEricActions</h4> |
492 <h4>MultiProject.addEricActions</h4> |
495 <b>addEricActions</b>(<i>actions</i>) |
493 <b>addEricActions</b>(<i>actions</i>) |
496 |
|
497 <p> |
494 <p> |
498 Public method to add actions to the list of actions. |
495 Public method to add actions to the list of actions. |
499 </p> |
496 </p> |
|
497 |
500 <dl> |
498 <dl> |
501 |
499 |
502 <dt><i>actions</i> (list of EricAction)</dt> |
500 <dt><i>actions</i> (list of EricAction)</dt> |
503 <dd> |
501 <dd> |
504 list of actions |
502 list of actions |
505 </dd> |
503 </dd> |
506 </dl> |
504 </dl> |
507 <a NAME="MultiProject.addNewProject" ID="MultiProject.addNewProject"></a> |
505 <a NAME="MultiProject.addNewProject" ID="MultiProject.addNewProject"></a> |
508 <h4>MultiProject.addNewProject</h4> |
506 <h4>MultiProject.addNewProject</h4> |
509 <b>addNewProject</b>(<i>startdir="", category=""</i>) |
507 <b>addNewProject</b>(<i>startdir="", category=""</i>) |
510 |
|
511 <p> |
508 <p> |
512 Public slot used to add a new project to the multi-project. |
509 Public slot used to add a new project to the multi-project. |
513 </p> |
510 </p> |
|
511 |
514 <dl> |
512 <dl> |
515 |
513 |
516 <dt><i>startdir</i> (str)</dt> |
514 <dt><i>startdir</i> (str)</dt> |
517 <dd> |
515 <dd> |
518 start directory for the selection dialog |
516 start directory for the selection dialog |
523 </dd> |
521 </dd> |
524 </dl> |
522 </dl> |
525 <a NAME="MultiProject.addProject" ID="MultiProject.addProject"></a> |
523 <a NAME="MultiProject.addProject" ID="MultiProject.addProject"></a> |
526 <h4>MultiProject.addProject</h4> |
524 <h4>MultiProject.addProject</h4> |
527 <b>addProject</b>(<i>project</i>) |
525 <b>addProject</b>(<i>project</i>) |
528 |
|
529 <p> |
526 <p> |
530 Public method to add a project to the multi-project. |
527 Public method to add a project to the multi-project. |
531 </p> |
528 </p> |
|
529 |
532 <dl> |
530 <dl> |
533 |
531 |
534 <dt><i>project</i> (MultiProjectProjectMeta)</dt> |
532 <dt><i>project</i> (MultiProjectProjectMeta)</dt> |
535 <dd> |
533 <dd> |
536 dictionary containing the project data to be added |
534 dictionary containing the project data to be added |
537 </dd> |
535 </dd> |
538 </dl> |
536 </dl> |
539 <a NAME="MultiProject.changeProjectProperties" ID="MultiProject.changeProjectProperties"></a> |
537 <a NAME="MultiProject.changeProjectProperties" ID="MultiProject.changeProjectProperties"></a> |
540 <h4>MultiProject.changeProjectProperties</h4> |
538 <h4>MultiProject.changeProjectProperties</h4> |
541 <b>changeProjectProperties</b>(<i>pro</i>) |
539 <b>changeProjectProperties</b>(<i>pro</i>) |
542 |
|
543 <p> |
540 <p> |
544 Public method to change the data of a project entry. |
541 Public method to change the data of a project entry. |
545 </p> |
542 </p> |
|
543 |
546 <dl> |
544 <dl> |
547 |
545 |
548 <dt><i>pro</i> (str)</dt> |
546 <dt><i>pro</i> (str)</dt> |
549 <dd> |
547 <dd> |
550 dictionary with the project data |
548 dictionary with the project data |
551 </dd> |
549 </dd> |
552 </dl> |
550 </dl> |
553 <a NAME="MultiProject.checkDirty" ID="MultiProject.checkDirty"></a> |
551 <a NAME="MultiProject.checkDirty" ID="MultiProject.checkDirty"></a> |
554 <h4>MultiProject.checkDirty</h4> |
552 <h4>MultiProject.checkDirty</h4> |
555 <b>checkDirty</b>(<i></i>) |
553 <b>checkDirty</b>(<i></i>) |
556 |
|
557 <p> |
554 <p> |
558 Public method to check the dirty status and open a message window. |
555 Public method to check the dirty status and open a message window. |
559 </p> |
556 </p> |
|
557 |
560 <dl> |
558 <dl> |
561 <dt>Return:</dt> |
559 <dt>Return:</dt> |
562 <dd> |
560 <dd> |
563 flag indicating whether this operation was successful |
561 flag indicating whether this operation was successful |
564 </dd> |
562 </dd> |
570 </dd> |
568 </dd> |
571 </dl> |
569 </dl> |
572 <a NAME="MultiProject.clearRecent" ID="MultiProject.clearRecent"></a> |
570 <a NAME="MultiProject.clearRecent" ID="MultiProject.clearRecent"></a> |
573 <h4>MultiProject.clearRecent</h4> |
571 <h4>MultiProject.clearRecent</h4> |
574 <b>clearRecent</b>(<i></i>) |
572 <b>clearRecent</b>(<i></i>) |
575 |
|
576 <p> |
573 <p> |
577 Public method to clear the recent multi projects menu. |
574 Public method to clear the recent multi projects menu. |
578 </p> |
575 </p> |
|
576 |
579 <a NAME="MultiProject.clearRemovedProjects" ID="MultiProject.clearRemovedProjects"></a> |
577 <a NAME="MultiProject.clearRemovedProjects" ID="MultiProject.clearRemovedProjects"></a> |
580 <h4>MultiProject.clearRemovedProjects</h4> |
578 <h4>MultiProject.clearRemovedProjects</h4> |
581 <b>clearRemovedProjects</b>(<i></i>) |
579 <b>clearRemovedProjects</b>(<i></i>) |
582 |
|
583 <p> |
580 <p> |
584 Public slot to clear out all projects marked as removed. |
581 Public slot to clear out all projects marked as removed. |
585 </p> |
582 </p> |
|
583 |
586 <a NAME="MultiProject.closeMultiProject" ID="MultiProject.closeMultiProject"></a> |
584 <a NAME="MultiProject.closeMultiProject" ID="MultiProject.closeMultiProject"></a> |
587 <h4>MultiProject.closeMultiProject</h4> |
585 <h4>MultiProject.closeMultiProject</h4> |
588 <b>closeMultiProject</b>(<i></i>) |
586 <b>closeMultiProject</b>(<i></i>) |
589 |
|
590 <p> |
587 <p> |
591 Public slot to close the current multi project. |
588 Public slot to close the current multi project. |
592 </p> |
589 </p> |
|
590 |
593 <dl> |
591 <dl> |
594 <dt>Return:</dt> |
592 <dt>Return:</dt> |
595 <dd> |
593 <dd> |
596 flag indicating success |
594 flag indicating success |
597 </dd> |
595 </dd> |
603 </dd> |
601 </dd> |
604 </dl> |
602 </dl> |
605 <a NAME="MultiProject.copyProject" ID="MultiProject.copyProject"></a> |
603 <a NAME="MultiProject.copyProject" ID="MultiProject.copyProject"></a> |
606 <h4>MultiProject.copyProject</h4> |
604 <h4>MultiProject.copyProject</h4> |
607 <b>copyProject</b>(<i>uid</i>) |
605 <b>copyProject</b>(<i>uid</i>) |
608 |
|
609 <p> |
606 <p> |
610 Public method to copy the project with given UID on disk. |
607 Public method to copy the project with given UID on disk. |
611 </p> |
608 </p> |
|
609 |
612 <dl> |
610 <dl> |
613 |
611 |
614 <dt><i>uid</i> (str)</dt> |
612 <dt><i>uid</i> (str)</dt> |
615 <dd> |
613 <dd> |
616 UID of the project to copy |
614 UID of the project to copy |
617 </dd> |
615 </dd> |
618 </dl> |
616 </dl> |
619 <a NAME="MultiProject.deleteProject" ID="MultiProject.deleteProject"></a> |
617 <a NAME="MultiProject.deleteProject" ID="MultiProject.deleteProject"></a> |
620 <h4>MultiProject.deleteProject</h4> |
618 <h4>MultiProject.deleteProject</h4> |
621 <b>deleteProject</b>(<i>uid</i>) |
619 <b>deleteProject</b>(<i>uid</i>) |
622 |
|
623 <p> |
620 <p> |
624 Public slot to delete project(s) from the multi project and disk. |
621 Public slot to delete project(s) from the multi project and disk. |
625 </p> |
622 </p> |
|
623 |
626 <dl> |
624 <dl> |
627 |
625 |
628 <dt><i>uid</i> (str)</dt> |
626 <dt><i>uid</i> (str)</dt> |
629 <dd> |
627 <dd> |
630 UID of the project to be removed from the multi |
628 UID of the project to be removed from the multi |
855 </dd> |
853 </dd> |
856 </dl> |
854 </dl> |
857 <a NAME="MultiProject.initActions" ID="MultiProject.initActions"></a> |
855 <a NAME="MultiProject.initActions" ID="MultiProject.initActions"></a> |
858 <h4>MultiProject.initActions</h4> |
856 <h4>MultiProject.initActions</h4> |
859 <b>initActions</b>(<i></i>) |
857 <b>initActions</b>(<i></i>) |
860 |
|
861 <p> |
858 <p> |
862 Public slot to initialize the multi project related actions. |
859 Public slot to initialize the multi project related actions. |
863 </p> |
860 </p> |
|
861 |
864 <a NAME="MultiProject.initMenu" ID="MultiProject.initMenu"></a> |
862 <a NAME="MultiProject.initMenu" ID="MultiProject.initMenu"></a> |
865 <h4>MultiProject.initMenu</h4> |
863 <h4>MultiProject.initMenu</h4> |
866 <b>initMenu</b>(<i></i>) |
864 <b>initMenu</b>(<i></i>) |
867 |
|
868 <p> |
865 <p> |
869 Public slot to initialize the multi project menu. |
866 Public slot to initialize the multi project menu. |
870 </p> |
867 </p> |
|
868 |
871 <dl> |
869 <dl> |
872 <dt>Return:</dt> |
870 <dt>Return:</dt> |
873 <dd> |
871 <dd> |
874 the menu generated |
872 the menu generated |
875 </dd> |
873 </dd> |
965 </dd> |
963 </dd> |
966 </dl> |
964 </dl> |
967 <a NAME="MultiProject.openProject" ID="MultiProject.openProject"></a> |
965 <a NAME="MultiProject.openProject" ID="MultiProject.openProject"></a> |
968 <h4>MultiProject.openProject</h4> |
966 <h4>MultiProject.openProject</h4> |
969 <b>openProject</b>(<i>filename</i>) |
967 <b>openProject</b>(<i>filename</i>) |
970 |
|
971 <p> |
968 <p> |
972 Public slot to open a project. |
969 Public slot to open a project. |
973 </p> |
970 </p> |
|
971 |
974 <dl> |
972 <dl> |
975 |
973 |
976 <dt><i>filename</i> (str)</dt> |
974 <dt><i>filename</i> (str)</dt> |
977 <dd> |
975 <dd> |
978 filename of the project file |
976 filename of the project file |
979 </dd> |
977 </dd> |
980 </dl> |
978 </dl> |
981 <a NAME="MultiProject.removeEricActions" ID="MultiProject.removeEricActions"></a> |
979 <a NAME="MultiProject.removeEricActions" ID="MultiProject.removeEricActions"></a> |
982 <h4>MultiProject.removeEricActions</h4> |
980 <h4>MultiProject.removeEricActions</h4> |
983 <b>removeEricActions</b>(<i>actions</i>) |
981 <b>removeEricActions</b>(<i>actions</i>) |
984 |
|
985 <p> |
982 <p> |
986 Public method to remove actions from the list of actions. |
983 Public method to remove actions from the list of actions. |
987 </p> |
984 </p> |
|
985 |
988 <dl> |
986 <dl> |
989 |
987 |
990 <dt><i>actions</i> (list of EricAction)</dt> |
988 <dt><i>actions</i> (list of EricAction)</dt> |
991 <dd> |
989 <dd> |
992 list of actions |
990 list of actions |
993 </dd> |
991 </dd> |
994 </dl> |
992 </dl> |
995 <a NAME="MultiProject.removeProject" ID="MultiProject.removeProject"></a> |
993 <a NAME="MultiProject.removeProject" ID="MultiProject.removeProject"></a> |
996 <h4>MultiProject.removeProject</h4> |
994 <h4>MultiProject.removeProject</h4> |
997 <b>removeProject</b>(<i>uid</i>) |
995 <b>removeProject</b>(<i>uid</i>) |
998 |
|
999 <p> |
996 <p> |
1000 Public slot to remove a project from the multi project. |
997 Public slot to remove a project from the multi project. |
1001 </p> |
998 </p> |
|
999 |
1002 <dl> |
1000 <dl> |
1003 |
1001 |
1004 <dt><i>uid</i> (str)</dt> |
1002 <dt><i>uid</i> (str)</dt> |
1005 <dd> |
1003 <dd> |
1006 UID of the project to be removed from the multi |
1004 UID of the project to be removed from the multi |