255 <tr> |
255 <tr> |
256 <td><a href="#Project.__init__">Project</a></td> |
256 <td><a href="#Project.__init__">Project</a></td> |
257 <td>Constructor</td> |
257 <td>Constructor</td> |
258 </tr> |
258 </tr> |
259 <tr> |
259 <tr> |
|
260 <td><a href="#Project.__aboutBlack">__aboutBlack</a></td> |
|
261 <td>Private slot to show some information about the installed 'Black' tool.</td> |
|
262 </tr> |
|
263 <tr> |
260 <td><a href="#Project.__addRecursiveDirectory">__addRecursiveDirectory</a></td> |
264 <td><a href="#Project.__addRecursiveDirectory">__addRecursiveDirectory</a></td> |
261 <td>Private method used to add all files of a directory tree.</td> |
265 <td>Private method used to add all files of a directory tree.</td> |
262 </tr> |
266 </tr> |
263 <tr> |
267 <tr> |
264 <td><a href="#Project.__addSingleDirectory">__addSingleDirectory</a></td> |
268 <td><a href="#Project.__addSingleDirectory">__addSingleDirectory</a></td> |
351 <tr> |
355 <tr> |
352 <td><a href="#Project.__openRecent">__openRecent</a></td> |
356 <td><a href="#Project.__openRecent">__openRecent</a></td> |
353 <td>Private method to open a project from the list of rencently opened projects.</td> |
357 <td>Private method to open a project from the list of rencently opened projects.</td> |
354 </tr> |
358 </tr> |
355 <tr> |
359 <tr> |
|
360 <td><a href="#Project.__performFormatWithBlack">__performFormatWithBlack</a></td> |
|
361 <td>Private method to format the project sources using the 'Black' tool.</td> |
|
362 </tr> |
|
363 <tr> |
356 <td><a href="#Project.__pluginCreateArchives">__pluginCreateArchives</a></td> |
364 <td><a href="#Project.__pluginCreateArchives">__pluginCreateArchives</a></td> |
357 <td>Private slot to create eric plugin archives.</td> |
365 <td>Private slot to create eric plugin archives.</td> |
358 </tr> |
366 </tr> |
359 <tr> |
367 <tr> |
360 <td><a href="#Project.__pluginCreatePkgList">__pluginCreatePkgList</a></td> |
368 <td><a href="#Project.__pluginCreatePkgList">__pluginCreatePkgList</a></td> |
425 <td>Private slot called before the checks menu is shown.</td> |
433 <td>Private slot called before the checks menu is shown.</td> |
426 </tr> |
434 </tr> |
427 <tr> |
435 <tr> |
428 <td><a href="#Project.__showContextMenuDebugger">__showContextMenuDebugger</a></td> |
436 <td><a href="#Project.__showContextMenuDebugger">__showContextMenuDebugger</a></td> |
429 <td>Private slot called before the Debugger menu is shown.</td> |
437 <td>Private slot called before the Debugger menu is shown.</td> |
|
438 </tr> |
|
439 <tr> |
|
440 <td><a href="#Project.__showContextMenuFormat">__showContextMenuFormat</a></td> |
|
441 <td>Private slot called before the 'Code Formatting' menu is shown.</td> |
430 </tr> |
442 </tr> |
431 <tr> |
443 <tr> |
432 <td><a href="#Project.__showContextMenuGraphics">__showContextMenuGraphics</a></td> |
444 <td><a href="#Project.__showContextMenuGraphics">__showContextMenuGraphics</a></td> |
433 <td>Private slot called before the graphics menu is shown.</td> |
445 <td>Private slot called before the graphics menu is shown.</td> |
434 </tr> |
446 </tr> |
1119 <dt><i>filename</i></dt> |
1131 <dt><i>filename</i></dt> |
1120 <dd> |
1132 <dd> |
1121 optional filename of a project file to open (string) |
1133 optional filename of a project file to open (string) |
1122 </dd> |
1134 </dd> |
1123 </dl> |
1135 </dl> |
|
1136 <a NAME="Project.__aboutBlack" ID="Project.__aboutBlack"></a> |
|
1137 <h4>Project.__aboutBlack</h4> |
|
1138 <b>__aboutBlack</b>(<i></i>) |
|
1139 |
|
1140 <p> |
|
1141 Private slot to show some information about the installed 'Black' tool. |
|
1142 </p> |
1124 <a NAME="Project.__addRecursiveDirectory" ID="Project.__addRecursiveDirectory"></a> |
1143 <a NAME="Project.__addRecursiveDirectory" ID="Project.__addRecursiveDirectory"></a> |
1125 <h4>Project.__addRecursiveDirectory</h4> |
1144 <h4>Project.__addRecursiveDirectory</h4> |
1126 <b>__addRecursiveDirectory</b>(<i>filetype, source, target</i>) |
1145 <b>__addRecursiveDirectory</b>(<i>filetype, source, target</i>) |
1127 |
1146 |
1128 <p> |
1147 <p> |
1479 <dt><i>act</i></dt> |
1498 <dt><i>act</i></dt> |
1480 <dd> |
1499 <dd> |
1481 reference to the action that triggered (QAction) |
1500 reference to the action that triggered (QAction) |
1482 </dd> |
1501 </dd> |
1483 </dl> |
1502 </dl> |
|
1503 <a NAME="Project.__performFormatWithBlack" ID="Project.__performFormatWithBlack"></a> |
|
1504 <h4>Project.__performFormatWithBlack</h4> |
|
1505 <b>__performFormatWithBlack</b>(<i>action</i>) |
|
1506 |
|
1507 <p> |
|
1508 Private method to format the project sources using the 'Black' tool. |
|
1509 </p> |
|
1510 <p> |
|
1511 Following actions are supported. |
|
1512 <ul> |
|
1513 <li>BlackFormattingAction.Format - the code reformatting is performed</li> |
|
1514 <li>BlackFormattingAction.Check - a check is performed, if code formatting |
|
1515 is necessary</li> |
|
1516 <li>BlackFormattingAction.Diff - a unified diff of potential code formatting |
|
1517 changes is generated</li> |
|
1518 </ul> |
|
1519 </p> |
|
1520 <dl> |
|
1521 |
|
1522 <dt><i>action</i> (BlackFormattingAction)</dt> |
|
1523 <dd> |
|
1524 formatting operation to be performed |
|
1525 </dd> |
|
1526 </dl> |
1484 <a NAME="Project.__pluginCreateArchives" ID="Project.__pluginCreateArchives"></a> |
1527 <a NAME="Project.__pluginCreateArchives" ID="Project.__pluginCreateArchives"></a> |
1485 <h4>Project.__pluginCreateArchives</h4> |
1528 <h4>Project.__pluginCreateArchives</h4> |
1486 <b>__pluginCreateArchives</b>(<i>snapshot=False</i>) |
1529 <b>__pluginCreateArchives</b>(<i>snapshot=False</i>) |
1487 |
1530 |
1488 <p> |
1531 <p> |
1687 <h4>Project.__showContextMenuDebugger</h4> |
1730 <h4>Project.__showContextMenuDebugger</h4> |
1688 <b>__showContextMenuDebugger</b>(<i></i>) |
1731 <b>__showContextMenuDebugger</b>(<i></i>) |
1689 |
1732 |
1690 <p> |
1733 <p> |
1691 Private slot called before the Debugger menu is shown. |
1734 Private slot called before the Debugger menu is shown. |
|
1735 </p> |
|
1736 <a NAME="Project.__showContextMenuFormat" ID="Project.__showContextMenuFormat"></a> |
|
1737 <h4>Project.__showContextMenuFormat</h4> |
|
1738 <b>__showContextMenuFormat</b>(<i></i>) |
|
1739 |
|
1740 <p> |
|
1741 Private slot called before the 'Code Formatting' menu is shown. |
1692 </p> |
1742 </p> |
1693 <a NAME="Project.__showContextMenuGraphics" ID="Project.__showContextMenuGraphics"></a> |
1743 <a NAME="Project.__showContextMenuGraphics" ID="Project.__showContextMenuGraphics"></a> |
1694 <h4>Project.__showContextMenuGraphics</h4> |
1744 <h4>Project.__showContextMenuGraphics</h4> |
1695 <b>__showContextMenuGraphics</b>(<i></i>) |
1745 <b>__showContextMenuGraphics</b>(<i></i>) |
1696 |
1746 |