|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Project.Project</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Project.Project</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing the project management functionality. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#Project">Project</a></td> |
|
39 <td>Class implementing the project management functionality.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="Project" ID="Project"></a> |
|
50 <h2>Project</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing the project management functionality. |
|
54 </p> |
|
55 <h3>Signals</h3> |
|
56 <dl> |
|
57 |
|
58 <dt>appendStderr(str)</dt> |
|
59 <dd> |
|
60 emitted after something was received from |
|
61 a QProcess on stderr |
|
62 </dd> |
|
63 <dt>appendStdout(str)</dt> |
|
64 <dd> |
|
65 emitted after something was received from |
|
66 a QProcess on stdout |
|
67 </dd> |
|
68 <dt>completeRepopulateItem(str)</dt> |
|
69 <dd> |
|
70 emitted after an item of the model was |
|
71 repopulated |
|
72 </dd> |
|
73 <dt>designerFile(str)</dt> |
|
74 <dd> |
|
75 emitted to open a found designer file |
|
76 </dd> |
|
77 <dt>directoryRemoved(str)</dt> |
|
78 <dd> |
|
79 emitted after a directory has been removed |
|
80 from the project |
|
81 </dd> |
|
82 <dt>dirty(bool)</dt> |
|
83 <dd> |
|
84 emitted when the dirty state changes |
|
85 </dd> |
|
86 <dt>lexerAssociationsChanged()</dt> |
|
87 <dd> |
|
88 emitted after the lexer associations |
|
89 have been changed |
|
90 </dd> |
|
91 <dt>linguistFile(str)</dt> |
|
92 <dd> |
|
93 emitted to open a found translation file |
|
94 </dd> |
|
95 <dt>newProject()</dt> |
|
96 <dd> |
|
97 emitted after a new project was generated |
|
98 </dd> |
|
99 <dt>newProjectHooks()</dt> |
|
100 <dd> |
|
101 emitted after a new project was generated but |
|
102 before the newProject() signal is sent |
|
103 </dd> |
|
104 <dt>prepareRepopulateItem(str)</dt> |
|
105 <dd> |
|
106 emitted before an item of the model is |
|
107 repopulated |
|
108 </dd> |
|
109 <dt>projectAboutToBeCreated()</dt> |
|
110 <dd> |
|
111 emitted just before the project will be |
|
112 created |
|
113 </dd> |
|
114 <dt>projectChanged()</dt> |
|
115 <dd> |
|
116 emitted to signal a change of the project |
|
117 </dd> |
|
118 <dt>projectClosed()</dt> |
|
119 <dd> |
|
120 emitted after a project was closed |
|
121 </dd> |
|
122 <dt>projectClosedHooks()</dt> |
|
123 <dd> |
|
124 emitted after a project file was closed but |
|
125 before the projectClosed() signal is sent |
|
126 </dd> |
|
127 <dt>projectFileRenamed(str, str)</dt> |
|
128 <dd> |
|
129 emitted after a file of the project |
|
130 has been renamed |
|
131 </dd> |
|
132 <dt>projectFormAdded(str)</dt> |
|
133 <dd> |
|
134 emitted after a new form was added |
|
135 </dd> |
|
136 <dt>projectFormCompiled(str)</dt> |
|
137 <dd> |
|
138 emitted after a form was compiled |
|
139 </dd> |
|
140 <dt>projectFormRemoved(str)</dt> |
|
141 <dd> |
|
142 emitted after a form was removed |
|
143 </dd> |
|
144 <dt>projectInterfaceAdded(str)</dt> |
|
145 <dd> |
|
146 emitted after a new IDL file was added |
|
147 </dd> |
|
148 <dt>projectInterfaceRemoved(str)</dt> |
|
149 <dd> |
|
150 emitted after a IDL file was removed |
|
151 </dd> |
|
152 <dt>projectLanguageAdded(str)</dt> |
|
153 <dd> |
|
154 emitted after a new language was added |
|
155 </dd> |
|
156 <dt>projectLanguageAddedByCode(str)</dt> |
|
157 <dd> |
|
158 emitted after a new language was |
|
159 added. The language code is sent by this signal. |
|
160 </dd> |
|
161 <dt>projectLanguageRemoved(str)</dt> |
|
162 <dd> |
|
163 emitted after a language was removed |
|
164 </dd> |
|
165 <dt>projectOpened()</dt> |
|
166 <dd> |
|
167 emitted after a project file was read |
|
168 </dd> |
|
169 <dt>projectOpenedHooks()</dt> |
|
170 <dd> |
|
171 emitted after a project file was read but |
|
172 before the projectOpened() signal is sent |
|
173 </dd> |
|
174 <dt>projectOthersAdded(str)</dt> |
|
175 <dd> |
|
176 emitted after a file or directory was added |
|
177 to the OTHERS project data area |
|
178 </dd> |
|
179 <dt>projectOthersRemoved(str)</dt> |
|
180 <dd> |
|
181 emitted after a file was removed from the |
|
182 OTHERS project data area |
|
183 </dd> |
|
184 <dt>projectPropertiesChanged()</dt> |
|
185 <dd> |
|
186 emitted after the project properties |
|
187 were changed |
|
188 </dd> |
|
189 <dt>projectProtocolAdded(str)</dt> |
|
190 <dd> |
|
191 emitted after a new proto file was added |
|
192 </dd> |
|
193 <dt>projectProtocolRemoved(str)</dt> |
|
194 <dd> |
|
195 emitted after a proto file was removed |
|
196 </dd> |
|
197 <dt>projectResourceAdded(str)</dt> |
|
198 <dd> |
|
199 emitted after a new resource file was |
|
200 added |
|
201 </dd> |
|
202 <dt>projectResourceRemoved(str)</dt> |
|
203 <dd> |
|
204 emitted after a resource was removed |
|
205 </dd> |
|
206 <dt>projectSourceAdded(str)</dt> |
|
207 <dd> |
|
208 emitted after a new source file was added |
|
209 </dd> |
|
210 <dt>projectSourceRemoved(str)</dt> |
|
211 <dd> |
|
212 emitted after a source was removed |
|
213 </dd> |
|
214 <dt>reinitVCS()</dt> |
|
215 <dd> |
|
216 emitted after the VCS has been reinitialized |
|
217 </dd> |
|
218 <dt>showMenu(str, QMenu)</dt> |
|
219 <dd> |
|
220 emitted when a menu is about to be shown. The |
|
221 name of the menu and a reference to the menu are given. |
|
222 </dd> |
|
223 <dt>sourceFile(str)</dt> |
|
224 <dd> |
|
225 emitted after a project file was read to |
|
226 open the main script |
|
227 </dd> |
|
228 <dt>vcsStatusMonitorInfo(str)</dt> |
|
229 <dd> |
|
230 emitted to signal some info of the |
|
231 monitoring thread |
|
232 </dd> |
|
233 <dt>vcsStatusMonitorStatus(str, str)</dt> |
|
234 <dd> |
|
235 emitted to signal the status of |
|
236 the monitoring thread (ok, nok, op, off) and a status message |
|
237 </dd> |
|
238 </dl> |
|
239 <h3>Derived from</h3> |
|
240 QObject |
|
241 <h3>Class Attributes</h3> |
|
242 |
|
243 <table> |
|
244 <tr><td>DefaultMake</td></tr><tr><td>DefaultMakefile</td></tr><tr><td>eols</td></tr> |
|
245 </table> |
|
246 <h3>Class Methods</h3> |
|
247 |
|
248 <table> |
|
249 <tr><td>None</td></tr> |
|
250 </table> |
|
251 <h3>Methods</h3> |
|
252 |
|
253 <table> |
|
254 |
|
255 <tr> |
|
256 <td><a href="#Project.__init__">Project</a></td> |
|
257 <td>Constructor</td> |
|
258 </tr> |
|
259 <tr> |
|
260 <td><a href="#Project.__addRecursiveDirectory">__addRecursiveDirectory</a></td> |
|
261 <td>Private method used to add all files of a directory tree.</td> |
|
262 </tr> |
|
263 <tr> |
|
264 <td><a href="#Project.__addSingleDirectory">__addSingleDirectory</a></td> |
|
265 <td>Private method used to add all files of a single directory to the project.</td> |
|
266 </tr> |
|
267 <tr> |
|
268 <td><a href="#Project.__binaryTranslationFile">__binaryTranslationFile</a></td> |
|
269 <td>Private method to calculate the filename of the binary translations file given the name of the raw translations file.</td> |
|
270 </tr> |
|
271 <tr> |
|
272 <td><a href="#Project.__checkFilesExist">__checkFilesExist</a></td> |
|
273 <td>Private method to check, if the files in a list exist.</td> |
|
274 </tr> |
|
275 <tr> |
|
276 <td><a href="#Project.__checkProjectFileGroup">__checkProjectFileGroup</a></td> |
|
277 <td>Private method to check, if a file is in a specific file group of the project.</td> |
|
278 </tr> |
|
279 <tr> |
|
280 <td><a href="#Project.__cleanupMake">__cleanupMake</a></td> |
|
281 <td>Private method to clean up make related stuff.</td> |
|
282 </tr> |
|
283 <tr> |
|
284 <td><a href="#Project.__closeAllWindows">__closeAllWindows</a></td> |
|
285 <td>Private method to close all project related windows.</td> |
|
286 </tr> |
|
287 <tr> |
|
288 <td><a href="#Project.__createSnapshotSource">__createSnapshotSource</a></td> |
|
289 <td>Private method to create a snapshot plugin version.</td> |
|
290 </tr> |
|
291 <tr> |
|
292 <td><a href="#Project.__createZipDirEntries">__createZipDirEntries</a></td> |
|
293 <td>Private method to create dir entries in the zip file.</td> |
|
294 </tr> |
|
295 <tr> |
|
296 <td><a href="#Project.__deleteDebugProperties">__deleteDebugProperties</a></td> |
|
297 <td>Private method to delete the project debugger properties file (.edj or .e4d).</td> |
|
298 </tr> |
|
299 <tr> |
|
300 <td><a href="#Project.__deleteSession">__deleteSession</a></td> |
|
301 <td>Private method to delete the session file.</td> |
|
302 </tr> |
|
303 <tr> |
|
304 <td><a href="#Project.__doSearchNewFiles">__doSearchNewFiles</a></td> |
|
305 <td>Private method to search for new files in the project directory.</td> |
|
306 </tr> |
|
307 <tr> |
|
308 <td><a href="#Project.__executeMake">__executeMake</a></td> |
|
309 <td>Private method to execute a project specific make run.</td> |
|
310 </tr> |
|
311 <tr> |
|
312 <td><a href="#Project.__initData">__initData</a></td> |
|
313 <td>Private method to initialize the project data part.</td> |
|
314 </tr> |
|
315 <tr> |
|
316 <td><a href="#Project.__initDebugProperties">__initDebugProperties</a></td> |
|
317 <td>Private method to initialize the debug properties.</td> |
|
318 </tr> |
|
319 <tr> |
|
320 <td><a href="#Project.__initProjectTypes">__initProjectTypes</a></td> |
|
321 <td>Private method to initialize the list of supported project types.</td> |
|
322 </tr> |
|
323 <tr> |
|
324 <td><a href="#Project.__isInPdata">__isInPdata</a></td> |
|
325 <td>Private method used to check, if the passed in filename is project controlled..</td> |
|
326 </tr> |
|
327 <tr> |
|
328 <td><a href="#Project.__loadDiagram">__loadDiagram</a></td> |
|
329 <td>Private slot to load a diagram from file.</td> |
|
330 </tr> |
|
331 <tr> |
|
332 <td><a href="#Project.__loadRecent">__loadRecent</a></td> |
|
333 <td>Private method to load the recently opened project filenames.</td> |
|
334 </tr> |
|
335 <tr> |
|
336 <td><a href="#Project.__makeFinished">__makeFinished</a></td> |
|
337 <td>Private slot handling the make process finished signal.</td> |
|
338 </tr> |
|
339 <tr> |
|
340 <td><a href="#Project.__makeReadStdErr">__makeReadStdErr</a></td> |
|
341 <td>Private slot to process process output received via stderr.</td> |
|
342 </tr> |
|
343 <tr> |
|
344 <td><a href="#Project.__makeReadStdOut">__makeReadStdOut</a></td> |
|
345 <td>Private slot to process process output received via stdout.</td> |
|
346 </tr> |
|
347 <tr> |
|
348 <td><a href="#Project.__openRecent">__openRecent</a></td> |
|
349 <td>Private method to open a project from the list of rencently opened projects.</td> |
|
350 </tr> |
|
351 <tr> |
|
352 <td><a href="#Project.__pluginCreateArchives">__pluginCreateArchives</a></td> |
|
353 <td>Private slot to create eric plugin archives.</td> |
|
354 </tr> |
|
355 <tr> |
|
356 <td><a href="#Project.__pluginCreatePkgList">__pluginCreatePkgList</a></td> |
|
357 <td>Private slot to create a PKGLIST file needed for archive file creation.</td> |
|
358 </tr> |
|
359 <tr> |
|
360 <td><a href="#Project.__pluginCreateSnapshotArchives">__pluginCreateSnapshotArchives</a></td> |
|
361 <td>Private slot to create eric plugin archive snapshot releases.</td> |
|
362 </tr> |
|
363 <tr> |
|
364 <td><a href="#Project.__pluginExtractVersion">__pluginExtractVersion</a></td> |
|
365 <td>Private method to extract the version number entry.</td> |
|
366 </tr> |
|
367 <tr> |
|
368 <td><a href="#Project.__pluginVersionToTuple">__pluginVersionToTuple</a></td> |
|
369 <td>Private method to convert a plug-in version string into a version tuple.</td> |
|
370 </tr> |
|
371 <tr> |
|
372 <td><a href="#Project.__readDebugProperties">__readDebugProperties</a></td> |
|
373 <td>Private method to read in the project debugger properties file (.edj or .e4d).</td> |
|
374 </tr> |
|
375 <tr> |
|
376 <td><a href="#Project.__readProject">__readProject</a></td> |
|
377 <td>Private method to read in a project (.epj or .e4p) file.</td> |
|
378 </tr> |
|
379 <tr> |
|
380 <td><a href="#Project.__readSession">__readSession</a></td> |
|
381 <td>Private method to read in the project session file (.esj or .e5s).</td> |
|
382 </tr> |
|
383 <tr> |
|
384 <td><a href="#Project.__readTasks">__readTasks</a></td> |
|
385 <td>Private method to read in the project tasks file (.etj or .e6t).</td> |
|
386 </tr> |
|
387 <tr> |
|
388 <td><a href="#Project.__readUserProperties">__readUserProperties</a></td> |
|
389 <td>Private method to read in the user specific project file (.eqj or .e4q).</td> |
|
390 </tr> |
|
391 <tr> |
|
392 <td><a href="#Project.__reorganizeFiles">__reorganizeFiles</a></td> |
|
393 <td>Private method to reorganize files stored in the project.</td> |
|
394 </tr> |
|
395 <tr> |
|
396 <td><a href="#Project.__saveRecent">__saveRecent</a></td> |
|
397 <td>Private method to save the list of recently opened filenames.</td> |
|
398 </tr> |
|
399 <tr> |
|
400 <td><a href="#Project.__searchNewFiles">__searchNewFiles</a></td> |
|
401 <td>Private slot used to handle the search new files action.</td> |
|
402 </tr> |
|
403 <tr> |
|
404 <td><a href="#Project.__searchProjectFile">__searchProjectFile</a></td> |
|
405 <td>Private slot to show the Find Project File dialog.</td> |
|
406 </tr> |
|
407 <tr> |
|
408 <td><a href="#Project.__showCodeCoverage">__showCodeCoverage</a></td> |
|
409 <td>Private slot used to show the code coverage information for the project files.</td> |
|
410 </tr> |
|
411 <tr> |
|
412 <td><a href="#Project.__showCodeMetrics">__showCodeMetrics</a></td> |
|
413 <td>Private slot used to calculate some code metrics for the project files.</td> |
|
414 </tr> |
|
415 <tr> |
|
416 <td><a href="#Project.__showContextMenuApiDoc">__showContextMenuApiDoc</a></td> |
|
417 <td>Private slot called before the apidoc menu is shown.</td> |
|
418 </tr> |
|
419 <tr> |
|
420 <td><a href="#Project.__showContextMenuChecks">__showContextMenuChecks</a></td> |
|
421 <td>Private slot called before the checks menu is shown.</td> |
|
422 </tr> |
|
423 <tr> |
|
424 <td><a href="#Project.__showContextMenuDebugger">__showContextMenuDebugger</a></td> |
|
425 <td>Private slot called before the Debugger menu is shown.</td> |
|
426 </tr> |
|
427 <tr> |
|
428 <td><a href="#Project.__showContextMenuGraphics">__showContextMenuGraphics</a></td> |
|
429 <td>Private slot called before the graphics menu is shown.</td> |
|
430 </tr> |
|
431 <tr> |
|
432 <td><a href="#Project.__showContextMenuMake">__showContextMenuMake</a></td> |
|
433 <td>Private slot called before the make menu is shown.</td> |
|
434 </tr> |
|
435 <tr> |
|
436 <td><a href="#Project.__showContextMenuPackagers">__showContextMenuPackagers</a></td> |
|
437 <td>Private slot called before the packagers menu is shown.</td> |
|
438 </tr> |
|
439 <tr> |
|
440 <td><a href="#Project.__showContextMenuRecent">__showContextMenuRecent</a></td> |
|
441 <td>Private method to set up the recent projects menu.</td> |
|
442 </tr> |
|
443 <tr> |
|
444 <td><a href="#Project.__showContextMenuSession">__showContextMenuSession</a></td> |
|
445 <td>Private slot called before the Session menu is shown.</td> |
|
446 </tr> |
|
447 <tr> |
|
448 <td><a href="#Project.__showContextMenuShow">__showContextMenuShow</a></td> |
|
449 <td>Private slot called before the show menu is shown.</td> |
|
450 </tr> |
|
451 <tr> |
|
452 <td><a href="#Project.__showContextMenuVCS">__showContextMenuVCS</a></td> |
|
453 <td>Private slot called before the vcs menu is shown.</td> |
|
454 </tr> |
|
455 <tr> |
|
456 <td><a href="#Project.__showDebugProperties">__showDebugProperties</a></td> |
|
457 <td>Private slot to display the debugger properties dialog.</td> |
|
458 </tr> |
|
459 <tr> |
|
460 <td><a href="#Project.__showFiletypeAssociations">__showFiletypeAssociations</a></td> |
|
461 <td>Private slot to display the filetype association dialog.</td> |
|
462 </tr> |
|
463 <tr> |
|
464 <td><a href="#Project.__showLexerAssociations">__showLexerAssociations</a></td> |
|
465 <td>Private slot to display the lexer association dialog.</td> |
|
466 </tr> |
|
467 <tr> |
|
468 <td><a href="#Project.__showMenu">__showMenu</a></td> |
|
469 <td>Private method to set up the project menu.</td> |
|
470 </tr> |
|
471 <tr> |
|
472 <td><a href="#Project.__showProfileData">__showProfileData</a></td> |
|
473 <td>Private slot used to show the profiling information for the project.</td> |
|
474 </tr> |
|
475 <tr> |
|
476 <td><a href="#Project.__showProperties">__showProperties</a></td> |
|
477 <td>Private slot to display the properties dialog.</td> |
|
478 </tr> |
|
479 <tr> |
|
480 <td><a href="#Project.__showUserProperties">__showUserProperties</a></td> |
|
481 <td>Private slot to display the user specific properties dialog.</td> |
|
482 </tr> |
|
483 <tr> |
|
484 <td><a href="#Project.__sourceExtensions">__sourceExtensions</a></td> |
|
485 <td>Private method to get the source extensions of a programming language.</td> |
|
486 </tr> |
|
487 <tr> |
|
488 <td><a href="#Project.__statusMonitorStatus">__statusMonitorStatus</a></td> |
|
489 <td>Private method to receive the status monitor status.</td> |
|
490 </tr> |
|
491 <tr> |
|
492 <td><a href="#Project.__syncRecent">__syncRecent</a></td> |
|
493 <td>Private method to synchronize the list of recently opened projects with the central store.</td> |
|
494 </tr> |
|
495 <tr> |
|
496 <td><a href="#Project.__vcsStatusChanged">__vcsStatusChanged</a></td> |
|
497 <td>Private slot to handle a change of the overall VCS status.</td> |
|
498 </tr> |
|
499 <tr> |
|
500 <td><a href="#Project.__writeDebugProperties">__writeDebugProperties</a></td> |
|
501 <td>Private method to write the project debugger properties file (.edj).</td> |
|
502 </tr> |
|
503 <tr> |
|
504 <td><a href="#Project.__writeProject">__writeProject</a></td> |
|
505 <td>Private method to save the project infos to a project file.</td> |
|
506 </tr> |
|
507 <tr> |
|
508 <td><a href="#Project.__writeSession">__writeSession</a></td> |
|
509 <td>Private method to write the session data to an XML file (.esj).</td> |
|
510 </tr> |
|
511 <tr> |
|
512 <td><a href="#Project.__writeUserProperties">__writeUserProperties</a></td> |
|
513 <td>Private method to write the user specific project data to a JSON file.</td> |
|
514 </tr> |
|
515 <tr> |
|
516 <td><a href="#Project.addDirectory">addDirectory</a></td> |
|
517 <td>Public method used to add all files of a directory to the project.</td> |
|
518 </tr> |
|
519 <tr> |
|
520 <td><a href="#Project.addEricActions">addEricActions</a></td> |
|
521 <td>Public method to add actions to the list of actions.</td> |
|
522 </tr> |
|
523 <tr> |
|
524 <td><a href="#Project.addFiles">addFiles</a></td> |
|
525 <td>Public slot used to add files to the project.</td> |
|
526 </tr> |
|
527 <tr> |
|
528 <td><a href="#Project.addIdlDir">addIdlDir</a></td> |
|
529 <td>Public slot to add all IDL interfaces of a directory to the current project.</td> |
|
530 </tr> |
|
531 <tr> |
|
532 <td><a href="#Project.addIdlFiles">addIdlFiles</a></td> |
|
533 <td>Public slot to add IDL interfaces to the current project.</td> |
|
534 </tr> |
|
535 <tr> |
|
536 <td><a href="#Project.addLanguage">addLanguage</a></td> |
|
537 <td>Public slot used to add a language to the project.</td> |
|
538 </tr> |
|
539 <tr> |
|
540 <td><a href="#Project.addOthersDir">addOthersDir</a></td> |
|
541 <td>Public slot to add a directory to the OTHERS project data.</td> |
|
542 </tr> |
|
543 <tr> |
|
544 <td><a href="#Project.addOthersFiles">addOthersFiles</a></td> |
|
545 <td>Public slot to add files to the OTHERS project data.</td> |
|
546 </tr> |
|
547 <tr> |
|
548 <td><a href="#Project.addProtoDir">addProtoDir</a></td> |
|
549 <td>Public slot to add all protocol files of a directory to the current project.</td> |
|
550 </tr> |
|
551 <tr> |
|
552 <td><a href="#Project.addProtoFiles">addProtoFiles</a></td> |
|
553 <td>Public slot to add protocol files to the current project.</td> |
|
554 </tr> |
|
555 <tr> |
|
556 <td><a href="#Project.addResourceDir">addResourceDir</a></td> |
|
557 <td>Public slot to add all Qt resource files of a directory to the current project.</td> |
|
558 </tr> |
|
559 <tr> |
|
560 <td><a href="#Project.addResourceFiles">addResourceFiles</a></td> |
|
561 <td>Public slot to add Qt resources to the current project.</td> |
|
562 </tr> |
|
563 <tr> |
|
564 <td><a href="#Project.addSourceDir">addSourceDir</a></td> |
|
565 <td>Public slot to add all source files of a directory to the current project.</td> |
|
566 </tr> |
|
567 <tr> |
|
568 <td><a href="#Project.addSourceFiles">addSourceFiles</a></td> |
|
569 <td>Public slot to add source files to the current project.</td> |
|
570 </tr> |
|
571 <tr> |
|
572 <td><a href="#Project.addToOthers">addToOthers</a></td> |
|
573 <td>Public method to add a file/directory to the OTHERS project data.</td> |
|
574 </tr> |
|
575 <tr> |
|
576 <td><a href="#Project.addUiDir">addUiDir</a></td> |
|
577 <td>Public slot to add all forms of a directory to the current project.</td> |
|
578 </tr> |
|
579 <tr> |
|
580 <td><a href="#Project.addUiFiles">addUiFiles</a></td> |
|
581 <td>Public slot to add forms to the current project.</td> |
|
582 </tr> |
|
583 <tr> |
|
584 <td><a href="#Project.appendFile">appendFile</a></td> |
|
585 <td>Public method to append a file to the project.</td> |
|
586 </tr> |
|
587 <tr> |
|
588 <td><a href="#Project.checkAllScriptsDirty">checkAllScriptsDirty</a></td> |
|
589 <td>Public method to check all scripts belonging to the project for their dirty status.</td> |
|
590 </tr> |
|
591 <tr> |
|
592 <td><a href="#Project.checkDirty">checkDirty</a></td> |
|
593 <td>Public method to check dirty status and open a message window.</td> |
|
594 </tr> |
|
595 <tr> |
|
596 <td><a href="#Project.checkLanguageFiles">checkLanguageFiles</a></td> |
|
597 <td>Public slot to check the language files after a release process.</td> |
|
598 </tr> |
|
599 <tr> |
|
600 <td><a href="#Project.checkVCSStatus">checkVCSStatus</a></td> |
|
601 <td>Public method to wake up the VCS status monitor thread.</td> |
|
602 </tr> |
|
603 <tr> |
|
604 <td><a href="#Project.clearHistories">clearHistories</a></td> |
|
605 <td>Public method to clear the project related histories.</td> |
|
606 </tr> |
|
607 <tr> |
|
608 <td><a href="#Project.clearRecent">clearRecent</a></td> |
|
609 <td>Public method to clear the recent projects menu.</td> |
|
610 </tr> |
|
611 <tr> |
|
612 <td><a href="#Project.clearStatusMonitorCachedState">clearStatusMonitorCachedState</a></td> |
|
613 <td>Public method to clear the cached VCS state of a file/directory.</td> |
|
614 </tr> |
|
615 <tr> |
|
616 <td><a href="#Project.closeProject">closeProject</a></td> |
|
617 <td>Public slot to close the current project.</td> |
|
618 </tr> |
|
619 <tr> |
|
620 <td><a href="#Project.copyDirectory">copyDirectory</a></td> |
|
621 <td>Public slot to copy a directory.</td> |
|
622 </tr> |
|
623 <tr> |
|
624 <td><a href="#Project.createNewProject">createNewProject</a></td> |
|
625 <td>Public slot to built a new project.</td> |
|
626 </tr> |
|
627 <tr> |
|
628 <td><a href="#Project.createProjectManagementDir">createProjectManagementDir</a></td> |
|
629 <td>Public method to create the project management directory.</td> |
|
630 </tr> |
|
631 <tr> |
|
632 <td><a href="#Project.deleteDirectory">deleteDirectory</a></td> |
|
633 <td>Public method to delete a directory from the project directory.</td> |
|
634 </tr> |
|
635 <tr> |
|
636 <td><a href="#Project.deleteFile">deleteFile</a></td> |
|
637 <td>Public method to delete a file from the project directory.</td> |
|
638 </tr> |
|
639 <tr> |
|
640 <td><a href="#Project.deleteLanguageFile">deleteLanguageFile</a></td> |
|
641 <td>Public slot to delete a translation from the project directory.</td> |
|
642 </tr> |
|
643 <tr> |
|
644 <td><a href="#Project.executeMake">executeMake</a></td> |
|
645 <td>Public slot to execute a project specific make run (auto-run) (execute or question).</td> |
|
646 </tr> |
|
647 <tr> |
|
648 <td><a href="#Project.getAbsolutePath">getAbsolutePath</a></td> |
|
649 <td>Public method to convert a project relative file path to an absolute file path.</td> |
|
650 </tr> |
|
651 <tr> |
|
652 <td><a href="#Project.getAbsoluteUniversalPath">getAbsoluteUniversalPath</a></td> |
|
653 <td>Public method to convert a project relative file path with universal separators to an absolute file path.</td> |
|
654 </tr> |
|
655 <tr> |
|
656 <td><a href="#Project.getActions">getActions</a></td> |
|
657 <td>Public method to get a list of all actions.</td> |
|
658 </tr> |
|
659 <tr> |
|
660 <td><a href="#Project.getData">getData</a></td> |
|
661 <td>Public method to get data out of the project data store.</td> |
|
662 </tr> |
|
663 <tr> |
|
664 <td><a href="#Project.getDebugProperty">getDebugProperty</a></td> |
|
665 <td>Public method to retrieve a debugger property.</td> |
|
666 </tr> |
|
667 <tr> |
|
668 <td><a href="#Project.getDebuggerFilters">getDebuggerFilters</a></td> |
|
669 <td>Public method to get the debugger filters for a programming language.</td> |
|
670 </tr> |
|
671 <tr> |
|
672 <td><a href="#Project.getDefaultRccCompilerParameters">getDefaultRccCompilerParameters</a></td> |
|
673 <td>Public method to get the default rcc compiler parameters.</td> |
|
674 </tr> |
|
675 <tr> |
|
676 <td><a href="#Project.getDefaultSourceExtension">getDefaultSourceExtension</a></td> |
|
677 <td>Public method to get the default extension for the project's programming language.</td> |
|
678 </tr> |
|
679 <tr> |
|
680 <td><a href="#Project.getDocstringType">getDocstringType</a></td> |
|
681 <td>Public method to get the configured docstring style.</td> |
|
682 </tr> |
|
683 <tr> |
|
684 <td><a href="#Project.getEditorLexerAssoc">getEditorLexerAssoc</a></td> |
|
685 <td>Public method to retrieve a lexer association.</td> |
|
686 </tr> |
|
687 <tr> |
|
688 <td><a href="#Project.getEolString">getEolString</a></td> |
|
689 <td>Public method to get the EOL-string to be used by the project.</td> |
|
690 </tr> |
|
691 <tr> |
|
692 <td><a href="#Project.getFiles">getFiles</a></td> |
|
693 <td>Public method to get all files starting with a common prefix.</td> |
|
694 </tr> |
|
695 <tr> |
|
696 <td><a href="#Project.getFiletypeAssociations">getFiletypeAssociations</a></td> |
|
697 <td>Public method to get the list of file type associations for the given association type.</td> |
|
698 </tr> |
|
699 <tr> |
|
700 <td><a href="#Project.getHash">getHash</a></td> |
|
701 <td>Public method to get the project hash.</td> |
|
702 </tr> |
|
703 <tr> |
|
704 <td><a href="#Project.getMainScript">getMainScript</a></td> |
|
705 <td>Public method to return the main script filename.</td> |
|
706 </tr> |
|
707 <tr> |
|
708 <td><a href="#Project.getMenu">getMenu</a></td> |
|
709 <td>Public method to get a reference to the main menu or a submenu.</td> |
|
710 </tr> |
|
711 <tr> |
|
712 <td><a href="#Project.getModel">getModel</a></td> |
|
713 <td>Public method to get a reference to the project browser model.</td> |
|
714 </tr> |
|
715 <tr> |
|
716 <td><a href="#Project.getMostRecent">getMostRecent</a></td> |
|
717 <td>Public method to get the most recently opened project.</td> |
|
718 </tr> |
|
719 <tr> |
|
720 <td><a href="#Project.getProgrammingLanguages">getProgrammingLanguages</a></td> |
|
721 <td>Public method to get the programming languages supported by project.</td> |
|
722 </tr> |
|
723 <tr> |
|
724 <td><a href="#Project.getProjectAuthor">getProjectAuthor</a></td> |
|
725 <td>Public method to get the author of the project.</td> |
|
726 </tr> |
|
727 <tr> |
|
728 <td><a href="#Project.getProjectAuthorEmail">getProjectAuthorEmail</a></td> |
|
729 <td>Public method to get the email address of the project author.</td> |
|
730 </tr> |
|
731 <tr> |
|
732 <td><a href="#Project.getProjectDescription">getProjectDescription</a></td> |
|
733 <td>Public method to get the description of the project.</td> |
|
734 </tr> |
|
735 <tr> |
|
736 <td><a href="#Project.getProjectDictionaries">getProjectDictionaries</a></td> |
|
737 <td>Public method to get the names of the project specific dictionaries.</td> |
|
738 </tr> |
|
739 <tr> |
|
740 <td><a href="#Project.getProjectFile">getProjectFile</a></td> |
|
741 <td>Public method to get the path of the project file.</td> |
|
742 </tr> |
|
743 <tr> |
|
744 <td><a href="#Project.getProjectFiles">getProjectFiles</a></td> |
|
745 <td>Public method to get the file entries of the given type.</td> |
|
746 </tr> |
|
747 <tr> |
|
748 <td><a href="#Project.getProjectLanguage">getProjectLanguage</a></td> |
|
749 <td>Public method to get the project's programming language.</td> |
|
750 </tr> |
|
751 <tr> |
|
752 <td><a href="#Project.getProjectManagementDir">getProjectManagementDir</a></td> |
|
753 <td>Public method to get the path of the management directory.</td> |
|
754 </tr> |
|
755 <tr> |
|
756 <td><a href="#Project.getProjectName">getProjectName</a></td> |
|
757 <td>Public method to get the name of the project.</td> |
|
758 </tr> |
|
759 <tr> |
|
760 <td><a href="#Project.getProjectPath">getProjectPath</a></td> |
|
761 <td>Public method to get the project path.</td> |
|
762 </tr> |
|
763 <tr> |
|
764 <td><a href="#Project.getProjectSpellLanguage">getProjectSpellLanguage</a></td> |
|
765 <td>Public method to get the project's programming language.</td> |
|
766 </tr> |
|
767 <tr> |
|
768 <td><a href="#Project.getProjectType">getProjectType</a></td> |
|
769 <td>Public method to get the type of the project.</td> |
|
770 </tr> |
|
771 <tr> |
|
772 <td><a href="#Project.getProjectTypes">getProjectTypes</a></td> |
|
773 <td>Public method to get the list of supported project types.</td> |
|
774 </tr> |
|
775 <tr> |
|
776 <td><a href="#Project.getProjectVersion">getProjectVersion</a></td> |
|
777 <td>Public mehod to get the version number of the project.</td> |
|
778 </tr> |
|
779 <tr> |
|
780 <td><a href="#Project.getRelativePath">getRelativePath</a></td> |
|
781 <td>Public method to convert a file path to a project relative file path.</td> |
|
782 </tr> |
|
783 <tr> |
|
784 <td><a href="#Project.getRelativeUniversalPath">getRelativeUniversalPath</a></td> |
|
785 <td>Public method to convert a file path to a project relative file path with universal separators.</td> |
|
786 </tr> |
|
787 <tr> |
|
788 <td><a href="#Project.getSources">getSources</a></td> |
|
789 <td>Public method to return the source script files.</td> |
|
790 </tr> |
|
791 <tr> |
|
792 <td><a href="#Project.getStatusMonitorAutoUpdate">getStatusMonitorAutoUpdate</a></td> |
|
793 <td>Public method to retrieve the status of the auto update function.</td> |
|
794 </tr> |
|
795 <tr> |
|
796 <td><a href="#Project.getStatusMonitorInterval">getStatusMonitorInterval</a></td> |
|
797 <td>Public method to get the monitor interval.</td> |
|
798 </tr> |
|
799 <tr> |
|
800 <td><a href="#Project.getTranslationPattern">getTranslationPattern</a></td> |
|
801 <td>Public method to get the translation pattern.</td> |
|
802 </tr> |
|
803 <tr> |
|
804 <td><a href="#Project.getUicParameter">getUicParameter</a></td> |
|
805 <td>Public method to get a named uic related parameter.</td> |
|
806 </tr> |
|
807 <tr> |
|
808 <td><a href="#Project.getVcs">getVcs</a></td> |
|
809 <td>Public method to get a reference to the VCS object.</td> |
|
810 </tr> |
|
811 <tr> |
|
812 <td><a href="#Project.handleApplicationDiagram">handleApplicationDiagram</a></td> |
|
813 <td>Public method to handle the application diagram context menu action.</td> |
|
814 </tr> |
|
815 <tr> |
|
816 <td><a href="#Project.handlePreferencesChanged">handlePreferencesChanged</a></td> |
|
817 <td>Public slot used to handle the preferencesChanged signal.</td> |
|
818 </tr> |
|
819 <tr> |
|
820 <td><a href="#Project.hasDefaultDocstringParameter">hasDefaultDocstringParameter</a></td> |
|
821 <td>Public method to test, if the project contains the default docstring parameter.</td> |
|
822 </tr> |
|
823 <tr> |
|
824 <td><a href="#Project.hasDefaultIdlCompilerParameters">hasDefaultIdlCompilerParameters</a></td> |
|
825 <td>Public method to test, if the project contains the default IDL compiler parameters.</td> |
|
826 </tr> |
|
827 <tr> |
|
828 <td><a href="#Project.hasDefaultMakeParameters">hasDefaultMakeParameters</a></td> |
|
829 <td>Public method to test, if the project contains the default make parameters.</td> |
|
830 </tr> |
|
831 <tr> |
|
832 <td><a href="#Project.hasDefaultRccCompilerParameters">hasDefaultRccCompilerParameters</a></td> |
|
833 <td>Public method to test, if the project contains the default rcc compiler parameters.</td> |
|
834 </tr> |
|
835 <tr> |
|
836 <td><a href="#Project.hasDefaultUicCompilerParameters">hasDefaultUicCompilerParameters</a></td> |
|
837 <td>Public method to test, if the project contains the default uic compiler parameters.</td> |
|
838 </tr> |
|
839 <tr> |
|
840 <td><a href="#Project.hasEntry">hasEntry</a></td> |
|
841 <td>Public method to check the project for a file.</td> |
|
842 </tr> |
|
843 <tr> |
|
844 <td><a href="#Project.hasProjectType">hasProjectType</a></td> |
|
845 <td>Public method to check, if a project type is already registered.</td> |
|
846 </tr> |
|
847 <tr> |
|
848 <td><a href="#Project.initActions">initActions</a></td> |
|
849 <td>Public slot to initialize the project related actions.</td> |
|
850 </tr> |
|
851 <tr> |
|
852 <td><a href="#Project.initFileTypes">initFileTypes</a></td> |
|
853 <td>Public method to initialize the filetype associations with default values.</td> |
|
854 </tr> |
|
855 <tr> |
|
856 <td><a href="#Project.initMenus">initMenus</a></td> |
|
857 <td>Public slot to initialize the project menus.</td> |
|
858 </tr> |
|
859 <tr> |
|
860 <td><a href="#Project.initToolbars">initToolbars</a></td> |
|
861 <td>Public slot to initialize the project toolbar and the basic VCS toolbar.</td> |
|
862 </tr> |
|
863 <tr> |
|
864 <td><a href="#Project.initVCS">initVCS</a></td> |
|
865 <td>Public method used to instantiate a vcs system.</td> |
|
866 </tr> |
|
867 <tr> |
|
868 <td><a href="#Project.isDebugPropertiesLoaded">isDebugPropertiesLoaded</a></td> |
|
869 <td>Public method to return the status of the debug properties.</td> |
|
870 </tr> |
|
871 <tr> |
|
872 <td><a href="#Project.isDirty">isDirty</a></td> |
|
873 <td>Public method to return the dirty state.</td> |
|
874 </tr> |
|
875 <tr> |
|
876 <td><a href="#Project.isJavaScriptProject">isJavaScriptProject</a></td> |
|
877 <td>Public method to check, if this project is a JavaScript project.</td> |
|
878 </tr> |
|
879 <tr> |
|
880 <td><a href="#Project.isMakeEnabled">isMakeEnabled</a></td> |
|
881 <td>Public method to test, if make is enabled for the project.</td> |
|
882 </tr> |
|
883 <tr> |
|
884 <td><a href="#Project.isMicroPythonProject">isMicroPythonProject</a></td> |
|
885 <td>Public method to check, if this project is a MicroPython project.</td> |
|
886 </tr> |
|
887 <tr> |
|
888 <td><a href="#Project.isMixedLanguageProject">isMixedLanguageProject</a></td> |
|
889 <td>Public method to check, if this is a mixed language project.</td> |
|
890 </tr> |
|
891 <tr> |
|
892 <td><a href="#Project.isOpen">isOpen</a></td> |
|
893 <td>Public method to return the opened state.</td> |
|
894 </tr> |
|
895 <tr> |
|
896 <td><a href="#Project.isProjectFile">isProjectFile</a></td> |
|
897 <td>Public method used to check, if the passed in filename belongs to the project.</td> |
|
898 </tr> |
|
899 <tr> |
|
900 <td><a href="#Project.isProjectForm">isProjectForm</a></td> |
|
901 <td>Public method used to check, if the passed in filename belongs to the project forms.</td> |
|
902 </tr> |
|
903 <tr> |
|
904 <td><a href="#Project.isProjectInterface">isProjectInterface</a></td> |
|
905 <td>Public method used to check, if the passed in filename belongs to the project interfaces.</td> |
|
906 </tr> |
|
907 <tr> |
|
908 <td><a href="#Project.isProjectProtocol">isProjectProtocol</a></td> |
|
909 <td>Public method used to check, if the passed in filename belongs to the project protocols.</td> |
|
910 </tr> |
|
911 <tr> |
|
912 <td><a href="#Project.isProjectResource">isProjectResource</a></td> |
|
913 <td>Public method used to check, if the passed in filename belongs to the project resources.</td> |
|
914 </tr> |
|
915 <tr> |
|
916 <td><a href="#Project.isProjectSource">isProjectSource</a></td> |
|
917 <td>Public method used to check, if the passed in filename belongs to the project sources.</td> |
|
918 </tr> |
|
919 <tr> |
|
920 <td><a href="#Project.isPy3Project">isPy3Project</a></td> |
|
921 <td>Public method to check, if this project is a Python3 project.</td> |
|
922 </tr> |
|
923 <tr> |
|
924 <td><a href="#Project.isPythonProject">isPythonProject</a></td> |
|
925 <td>Public method to check, if this project is a Python3 or MicroPython project.</td> |
|
926 </tr> |
|
927 <tr> |
|
928 <td><a href="#Project.isRubyProject">isRubyProject</a></td> |
|
929 <td>Public method to check, if this project is a Ruby project.</td> |
|
930 </tr> |
|
931 <tr> |
|
932 <td><a href="#Project.moveDirectory">moveDirectory</a></td> |
|
933 <td>Public slot to move a directory.</td> |
|
934 </tr> |
|
935 <tr> |
|
936 <td><a href="#Project.newProjectAddFiles">newProjectAddFiles</a></td> |
|
937 <td>Public method to add files to a new project.</td> |
|
938 </tr> |
|
939 <tr> |
|
940 <td><a href="#Project.openProject">openProject</a></td> |
|
941 <td>Public slot to open a project.</td> |
|
942 </tr> |
|
943 <tr> |
|
944 <td><a href="#Project.othersAdded">othersAdded</a></td> |
|
945 <td>Public slot to be called, if something was added to the OTHERS project data area.</td> |
|
946 </tr> |
|
947 <tr> |
|
948 <td><a href="#Project.registerProjectType">registerProjectType</a></td> |
|
949 <td>Public method to register a project type.</td> |
|
950 </tr> |
|
951 <tr> |
|
952 <td><a href="#Project.removeDirectory">removeDirectory</a></td> |
|
953 <td>Public method to remove a directory from the project.</td> |
|
954 </tr> |
|
955 <tr> |
|
956 <td><a href="#Project.removeEricActions">removeEricActions</a></td> |
|
957 <td>Public method to remove actions from the list of actions.</td> |
|
958 </tr> |
|
959 <tr> |
|
960 <td><a href="#Project.removeFile">removeFile</a></td> |
|
961 <td>Public slot to remove a file from the project.</td> |
|
962 </tr> |
|
963 <tr> |
|
964 <td><a href="#Project.removeLanguageFile">removeLanguageFile</a></td> |
|
965 <td>Public slot to remove a translation from the project.</td> |
|
966 </tr> |
|
967 <tr> |
|
968 <td><a href="#Project.renameFile">renameFile</a></td> |
|
969 <td>Public slot to rename a file of the project.</td> |
|
970 </tr> |
|
971 <tr> |
|
972 <td><a href="#Project.renameFileInPdata">renameFileInPdata</a></td> |
|
973 <td>Public method to rename a file in the pdata structure.</td> |
|
974 </tr> |
|
975 <tr> |
|
976 <td><a href="#Project.renameMainScript">renameMainScript</a></td> |
|
977 <td>Public method to rename the main script.</td> |
|
978 </tr> |
|
979 <tr> |
|
980 <td><a href="#Project.reopenProject">reopenProject</a></td> |
|
981 <td>Public slot to reopen the current project.</td> |
|
982 </tr> |
|
983 <tr> |
|
984 <td><a href="#Project.repopulateItem">repopulateItem</a></td> |
|
985 <td>Public slot to repopulate a named item.</td> |
|
986 </tr> |
|
987 <tr> |
|
988 <td><a href="#Project.resetVCS">resetVCS</a></td> |
|
989 <td>Public method to reset the VCS.</td> |
|
990 </tr> |
|
991 <tr> |
|
992 <td><a href="#Project.saveAllScripts">saveAllScripts</a></td> |
|
993 <td>Public method to save all scripts belonging to the project.</td> |
|
994 </tr> |
|
995 <tr> |
|
996 <td><a href="#Project.saveProject">saveProject</a></td> |
|
997 <td>Public slot to save the current project.</td> |
|
998 </tr> |
|
999 <tr> |
|
1000 <td><a href="#Project.saveProjectAs">saveProjectAs</a></td> |
|
1001 <td>Public slot to save the current project to a different file.</td> |
|
1002 </tr> |
|
1003 <tr> |
|
1004 <td><a href="#Project.setData">setData</a></td> |
|
1005 <td>Public method to store data in the project data store.</td> |
|
1006 </tr> |
|
1007 <tr> |
|
1008 <td><a href="#Project.setDbgInfo">setDbgInfo</a></td> |
|
1009 <td>Public method to set the debugging information.</td> |
|
1010 </tr> |
|
1011 <tr> |
|
1012 <td><a href="#Project.setDirty">setDirty</a></td> |
|
1013 <td>Public method to set the dirty state.</td> |
|
1014 </tr> |
|
1015 <tr> |
|
1016 <td><a href="#Project.setStatusMonitorAutoUpdate">setStatusMonitorAutoUpdate</a></td> |
|
1017 <td>Public method to enable the auto update function.</td> |
|
1018 </tr> |
|
1019 <tr> |
|
1020 <td><a href="#Project.setStatusMonitorInterval">setStatusMonitorInterval</a></td> |
|
1021 <td>Public method to se the interval of the VCS status monitor thread.</td> |
|
1022 </tr> |
|
1023 <tr> |
|
1024 <td><a href="#Project.setTranslationPattern">setTranslationPattern</a></td> |
|
1025 <td>Public method to set the translation pattern.</td> |
|
1026 </tr> |
|
1027 <tr> |
|
1028 <td><a href="#Project.startFileSystemMonitoring">startFileSystemMonitoring</a></td> |
|
1029 <td>Public method to (re)start monitoring the project file system.</td> |
|
1030 </tr> |
|
1031 <tr> |
|
1032 <td><a href="#Project.startStatusMonitor">startStatusMonitor</a></td> |
|
1033 <td>Public method to start the VCS status monitor thread.</td> |
|
1034 </tr> |
|
1035 <tr> |
|
1036 <td><a href="#Project.startswithProjectPath">startswithProjectPath</a></td> |
|
1037 <td>Public method to check, if a path starts with the project path.</td> |
|
1038 </tr> |
|
1039 <tr> |
|
1040 <td><a href="#Project.stopFileSystemMonitoring">stopFileSystemMonitoring</a></td> |
|
1041 <td>Public method to stop monitoring the project file system.</td> |
|
1042 </tr> |
|
1043 <tr> |
|
1044 <td><a href="#Project.stopStatusMonitor">stopStatusMonitor</a></td> |
|
1045 <td>Public method to stop the VCS status monitor thread.</td> |
|
1046 </tr> |
|
1047 <tr> |
|
1048 <td><a href="#Project.unregisterProjectType">unregisterProjectType</a></td> |
|
1049 <td>Public method to unregister a project type.</td> |
|
1050 </tr> |
|
1051 <tr> |
|
1052 <td><a href="#Project.updateFileTypes">updateFileTypes</a></td> |
|
1053 <td>Public method to update the filetype associations with new default values.</td> |
|
1054 </tr> |
|
1055 <tr> |
|
1056 <td><a href="#Project.useSystemEol">useSystemEol</a></td> |
|
1057 <td>Public method to check, if the project uses the system eol setting.</td> |
|
1058 </tr> |
|
1059 <tr> |
|
1060 <td><a href="#Project.vcsSoftwareAvailable">vcsSoftwareAvailable</a></td> |
|
1061 <td>Public method to check, if some supported VCS software is available to the IDE.</td> |
|
1062 </tr> |
|
1063 <tr> |
|
1064 <td><a href="#Project.writeTasks">writeTasks</a></td> |
|
1065 <td>Public method to write the tasks data to a JSON file (.etj).</td> |
|
1066 </tr> |
|
1067 </table> |
|
1068 <h3>Static Methods</h3> |
|
1069 |
|
1070 <table> |
|
1071 <tr><td>None</td></tr> |
|
1072 </table> |
|
1073 |
|
1074 <a NAME="Project.__init__" ID="Project.__init__"></a> |
|
1075 <h4>Project (Constructor)</h4> |
|
1076 <b>Project</b>(<i>parent=None, filename=None</i>) |
|
1077 |
|
1078 <p> |
|
1079 Constructor |
|
1080 </p> |
|
1081 <dl> |
|
1082 |
|
1083 <dt><i>parent</i></dt> |
|
1084 <dd> |
|
1085 parent widget (usually the ui object) (QWidget) |
|
1086 </dd> |
|
1087 <dt><i>filename</i></dt> |
|
1088 <dd> |
|
1089 optional filename of a project file to open (string) |
|
1090 </dd> |
|
1091 </dl> |
|
1092 <a NAME="Project.__addRecursiveDirectory" ID="Project.__addRecursiveDirectory"></a> |
|
1093 <h4>Project.__addRecursiveDirectory</h4> |
|
1094 <b>__addRecursiveDirectory</b>(<i>filetype, source, target</i>) |
|
1095 |
|
1096 <p> |
|
1097 Private method used to add all files of a directory tree. |
|
1098 </p> |
|
1099 <p> |
|
1100 The tree is rooted at source to another one rooted at target. This |
|
1101 method decents down to the lowest subdirectory. |
|
1102 </p> |
|
1103 <dl> |
|
1104 |
|
1105 <dt><i>filetype</i></dt> |
|
1106 <dd> |
|
1107 type of files to add (string) |
|
1108 </dd> |
|
1109 <dt><i>source</i></dt> |
|
1110 <dd> |
|
1111 source directory (string) |
|
1112 </dd> |
|
1113 <dt><i>target</i></dt> |
|
1114 <dd> |
|
1115 target directory (string) |
|
1116 </dd> |
|
1117 </dl> |
|
1118 <a NAME="Project.__addSingleDirectory" ID="Project.__addSingleDirectory"></a> |
|
1119 <h4>Project.__addSingleDirectory</h4> |
|
1120 <b>__addSingleDirectory</b>(<i>filetype, source, target, quiet=False</i>) |
|
1121 |
|
1122 <p> |
|
1123 Private method used to add all files of a single directory to the |
|
1124 project. |
|
1125 </p> |
|
1126 <dl> |
|
1127 |
|
1128 <dt><i>filetype</i></dt> |
|
1129 <dd> |
|
1130 type of files to add (string) |
|
1131 </dd> |
|
1132 <dt><i>source</i></dt> |
|
1133 <dd> |
|
1134 source directory (string) |
|
1135 </dd> |
|
1136 <dt><i>target</i></dt> |
|
1137 <dd> |
|
1138 target directory (string) |
|
1139 </dd> |
|
1140 <dt><i>quiet</i></dt> |
|
1141 <dd> |
|
1142 flag indicating quiet operations (boolean) |
|
1143 </dd> |
|
1144 </dl> |
|
1145 <a NAME="Project.__binaryTranslationFile" ID="Project.__binaryTranslationFile"></a> |
|
1146 <h4>Project.__binaryTranslationFile</h4> |
|
1147 <b>__binaryTranslationFile</b>(<i>langFile</i>) |
|
1148 |
|
1149 <p> |
|
1150 Private method to calculate the filename of the binary translations |
|
1151 file given the name of the raw translations file. |
|
1152 </p> |
|
1153 <dl> |
|
1154 |
|
1155 <dt><i>langFile</i></dt> |
|
1156 <dd> |
|
1157 name of the raw translations file (string) |
|
1158 </dd> |
|
1159 </dl> |
|
1160 <dl> |
|
1161 <dt>Return:</dt> |
|
1162 <dd> |
|
1163 name of the binary translations file (string) |
|
1164 </dd> |
|
1165 </dl> |
|
1166 <a NAME="Project.__checkFilesExist" ID="Project.__checkFilesExist"></a> |
|
1167 <h4>Project.__checkFilesExist</h4> |
|
1168 <b>__checkFilesExist</b>(<i>index</i>) |
|
1169 |
|
1170 <p> |
|
1171 Private method to check, if the files in a list exist. |
|
1172 </p> |
|
1173 <p> |
|
1174 The files in the indicated list are checked for existance in the |
|
1175 filesystem. Non existant files are removed from the list and the |
|
1176 dirty state of the project is changed accordingly. |
|
1177 </p> |
|
1178 <dl> |
|
1179 |
|
1180 <dt><i>index</i></dt> |
|
1181 <dd> |
|
1182 key of the list to be checked (string) |
|
1183 </dd> |
|
1184 </dl> |
|
1185 <a NAME="Project.__checkProjectFileGroup" ID="Project.__checkProjectFileGroup"></a> |
|
1186 <h4>Project.__checkProjectFileGroup</h4> |
|
1187 <b>__checkProjectFileGroup</b>(<i>fn, group</i>) |
|
1188 |
|
1189 <p> |
|
1190 Private method to check, if a file is in a specific file group of the |
|
1191 project. |
|
1192 </p> |
|
1193 <dl> |
|
1194 |
|
1195 <dt><i>fn</i></dt> |
|
1196 <dd> |
|
1197 filename to be checked (string) |
|
1198 </dd> |
|
1199 <dt><i>group</i></dt> |
|
1200 <dd> |
|
1201 group to check (string) |
|
1202 </dd> |
|
1203 </dl> |
|
1204 <dl> |
|
1205 <dt>Return:</dt> |
|
1206 <dd> |
|
1207 flag indicating membership (boolean) |
|
1208 </dd> |
|
1209 </dl> |
|
1210 <a NAME="Project.__cleanupMake" ID="Project.__cleanupMake"></a> |
|
1211 <h4>Project.__cleanupMake</h4> |
|
1212 <b>__cleanupMake</b>(<i></i>) |
|
1213 |
|
1214 <p> |
|
1215 Private method to clean up make related stuff. |
|
1216 </p> |
|
1217 <a NAME="Project.__closeAllWindows" ID="Project.__closeAllWindows"></a> |
|
1218 <h4>Project.__closeAllWindows</h4> |
|
1219 <b>__closeAllWindows</b>(<i></i>) |
|
1220 |
|
1221 <p> |
|
1222 Private method to close all project related windows. |
|
1223 </p> |
|
1224 <a NAME="Project.__createSnapshotSource" ID="Project.__createSnapshotSource"></a> |
|
1225 <h4>Project.__createSnapshotSource</h4> |
|
1226 <b>__createSnapshotSource</b>(<i>filename</i>) |
|
1227 |
|
1228 <p> |
|
1229 Private method to create a snapshot plugin version. |
|
1230 </p> |
|
1231 <p> |
|
1232 The version entry in the plugin module is modified to signify |
|
1233 a snapshot version. This method appends the string "-snapshot-" |
|
1234 and date indicator to the version string. |
|
1235 </p> |
|
1236 <dl> |
|
1237 |
|
1238 <dt><i>filename</i></dt> |
|
1239 <dd> |
|
1240 name of the plugin file to modify (string) |
|
1241 </dd> |
|
1242 </dl> |
|
1243 <dl> |
|
1244 <dt>Return:</dt> |
|
1245 <dd> |
|
1246 modified source (bytes), snapshot version string (string) |
|
1247 </dd> |
|
1248 </dl> |
|
1249 <a NAME="Project.__createZipDirEntries" ID="Project.__createZipDirEntries"></a> |
|
1250 <h4>Project.__createZipDirEntries</h4> |
|
1251 <b>__createZipDirEntries</b>(<i>path, zipFile</i>) |
|
1252 |
|
1253 <p> |
|
1254 Private method to create dir entries in the zip file. |
|
1255 </p> |
|
1256 <dl> |
|
1257 |
|
1258 <dt><i>path</i></dt> |
|
1259 <dd> |
|
1260 name of the directory entry to create (string) |
|
1261 </dd> |
|
1262 <dt><i>zipFile</i></dt> |
|
1263 <dd> |
|
1264 open ZipFile object (zipfile.ZipFile) |
|
1265 </dd> |
|
1266 </dl> |
|
1267 <a NAME="Project.__deleteDebugProperties" ID="Project.__deleteDebugProperties"></a> |
|
1268 <h4>Project.__deleteDebugProperties</h4> |
|
1269 <b>__deleteDebugProperties</b>(<i></i>) |
|
1270 |
|
1271 <p> |
|
1272 Private method to delete the project debugger properties file |
|
1273 (.edj or .e4d). |
|
1274 </p> |
|
1275 <a NAME="Project.__deleteSession" ID="Project.__deleteSession"></a> |
|
1276 <h4>Project.__deleteSession</h4> |
|
1277 <b>__deleteSession</b>(<i></i>) |
|
1278 |
|
1279 <p> |
|
1280 Private method to delete the session file. |
|
1281 </p> |
|
1282 <a NAME="Project.__doSearchNewFiles" ID="Project.__doSearchNewFiles"></a> |
|
1283 <h4>Project.__doSearchNewFiles</h4> |
|
1284 <b>__doSearchNewFiles</b>(<i>AI=True, onUserDemand=False</i>) |
|
1285 |
|
1286 <p> |
|
1287 Private method to search for new files in the project directory. |
|
1288 </p> |
|
1289 <p> |
|
1290 If new files were found, it shows a dialog listing these files and |
|
1291 gives the user the opportunity to select the ones he wants to |
|
1292 include. If 'Automatic Inclusion' is enabled, the new files are |
|
1293 automatically added to the project. |
|
1294 </p> |
|
1295 <dl> |
|
1296 |
|
1297 <dt><i>AI</i></dt> |
|
1298 <dd> |
|
1299 flag indicating whether the automatic inclusion should |
|
1300 be honoured (boolean) |
|
1301 </dd> |
|
1302 <dt><i>onUserDemand</i></dt> |
|
1303 <dd> |
|
1304 flag indicating whether this method was |
|
1305 requested by the user via a menu action (boolean) |
|
1306 </dd> |
|
1307 </dl> |
|
1308 <a NAME="Project.__executeMake" ID="Project.__executeMake"></a> |
|
1309 <h4>Project.__executeMake</h4> |
|
1310 <b>__executeMake</b>(<i>questionOnly=False, interactive=True</i>) |
|
1311 |
|
1312 <p> |
|
1313 Private method to execute a project specific make run. |
|
1314 </p> |
|
1315 <dl> |
|
1316 |
|
1317 <dt><i>questionOnly</i> (bool)</dt> |
|
1318 <dd> |
|
1319 flag indicating to ask make for changes only |
|
1320 </dd> |
|
1321 <dt><i>interactive</i> (bool)</dt> |
|
1322 <dd> |
|
1323 flag indicating an interactive invocation (i.e. |
|
1324 through a menu action) |
|
1325 </dd> |
|
1326 </dl> |
|
1327 <a NAME="Project.__initData" ID="Project.__initData"></a> |
|
1328 <h4>Project.__initData</h4> |
|
1329 <b>__initData</b>(<i></i>) |
|
1330 |
|
1331 <p> |
|
1332 Private method to initialize the project data part. |
|
1333 </p> |
|
1334 <a NAME="Project.__initDebugProperties" ID="Project.__initDebugProperties"></a> |
|
1335 <h4>Project.__initDebugProperties</h4> |
|
1336 <b>__initDebugProperties</b>(<i></i>) |
|
1337 |
|
1338 <p> |
|
1339 Private method to initialize the debug properties. |
|
1340 </p> |
|
1341 <a NAME="Project.__initProjectTypes" ID="Project.__initProjectTypes"></a> |
|
1342 <h4>Project.__initProjectTypes</h4> |
|
1343 <b>__initProjectTypes</b>(<i></i>) |
|
1344 |
|
1345 <p> |
|
1346 Private method to initialize the list of supported project types. |
|
1347 </p> |
|
1348 <a NAME="Project.__isInPdata" ID="Project.__isInPdata"></a> |
|
1349 <h4>Project.__isInPdata</h4> |
|
1350 <b>__isInPdata</b>(<i>fn</i>) |
|
1351 |
|
1352 <p> |
|
1353 Private method used to check, if the passed in filename is project |
|
1354 controlled.. |
|
1355 </p> |
|
1356 <dl> |
|
1357 |
|
1358 <dt><i>fn</i> (str)</dt> |
|
1359 <dd> |
|
1360 filename to be checked |
|
1361 </dd> |
|
1362 </dl> |
|
1363 <dl> |
|
1364 <dt>Return:</dt> |
|
1365 <dd> |
|
1366 flag indicating membership |
|
1367 </dd> |
|
1368 </dl> |
|
1369 <dl> |
|
1370 <dt>Return Type:</dt> |
|
1371 <dd> |
|
1372 bool |
|
1373 </dd> |
|
1374 </dl> |
|
1375 <a NAME="Project.__loadDiagram" ID="Project.__loadDiagram"></a> |
|
1376 <h4>Project.__loadDiagram</h4> |
|
1377 <b>__loadDiagram</b>(<i></i>) |
|
1378 |
|
1379 <p> |
|
1380 Private slot to load a diagram from file. |
|
1381 </p> |
|
1382 <a NAME="Project.__loadRecent" ID="Project.__loadRecent"></a> |
|
1383 <h4>Project.__loadRecent</h4> |
|
1384 <b>__loadRecent</b>(<i></i>) |
|
1385 |
|
1386 <p> |
|
1387 Private method to load the recently opened project filenames. |
|
1388 </p> |
|
1389 <a NAME="Project.__makeFinished" ID="Project.__makeFinished"></a> |
|
1390 <h4>Project.__makeFinished</h4> |
|
1391 <b>__makeFinished</b>(<i>exitCode, exitStatus, questionOnly, interactive=True</i>) |
|
1392 |
|
1393 <p> |
|
1394 Private slot handling the make process finished signal. |
|
1395 </p> |
|
1396 <dl> |
|
1397 |
|
1398 <dt><i>exitCode</i> (int)</dt> |
|
1399 <dd> |
|
1400 exit code of the make process |
|
1401 </dd> |
|
1402 <dt><i>exitStatus</i> (QProcess.ExitStatus)</dt> |
|
1403 <dd> |
|
1404 exit status of the make process |
|
1405 </dd> |
|
1406 <dt><i>questionOnly</i> (bool)</dt> |
|
1407 <dd> |
|
1408 flag indicating a test only run |
|
1409 </dd> |
|
1410 <dt><i>interactive</i> (bool)</dt> |
|
1411 <dd> |
|
1412 flag indicating an interactive invocation (i.e. |
|
1413 through a menu action) |
|
1414 </dd> |
|
1415 </dl> |
|
1416 <a NAME="Project.__makeReadStdErr" ID="Project.__makeReadStdErr"></a> |
|
1417 <h4>Project.__makeReadStdErr</h4> |
|
1418 <b>__makeReadStdErr</b>(<i></i>) |
|
1419 |
|
1420 <p> |
|
1421 Private slot to process process output received via stderr. |
|
1422 </p> |
|
1423 <a NAME="Project.__makeReadStdOut" ID="Project.__makeReadStdOut"></a> |
|
1424 <h4>Project.__makeReadStdOut</h4> |
|
1425 <b>__makeReadStdOut</b>(<i></i>) |
|
1426 |
|
1427 <p> |
|
1428 Private slot to process process output received via stdout. |
|
1429 </p> |
|
1430 <a NAME="Project.__openRecent" ID="Project.__openRecent"></a> |
|
1431 <h4>Project.__openRecent</h4> |
|
1432 <b>__openRecent</b>(<i>act</i>) |
|
1433 |
|
1434 <p> |
|
1435 Private method to open a project from the list of rencently opened |
|
1436 projects. |
|
1437 </p> |
|
1438 <dl> |
|
1439 |
|
1440 <dt><i>act</i></dt> |
|
1441 <dd> |
|
1442 reference to the action that triggered (QAction) |
|
1443 </dd> |
|
1444 </dl> |
|
1445 <a NAME="Project.__pluginCreateArchives" ID="Project.__pluginCreateArchives"></a> |
|
1446 <h4>Project.__pluginCreateArchives</h4> |
|
1447 <b>__pluginCreateArchives</b>(<i>snapshot=False</i>) |
|
1448 |
|
1449 <p> |
|
1450 Private slot to create eric plugin archives. |
|
1451 </p> |
|
1452 <dl> |
|
1453 |
|
1454 <dt><i>snapshot</i></dt> |
|
1455 <dd> |
|
1456 flag indicating snapshot archives (boolean) |
|
1457 </dd> |
|
1458 </dl> |
|
1459 <a NAME="Project.__pluginCreatePkgList" ID="Project.__pluginCreatePkgList"></a> |
|
1460 <h4>Project.__pluginCreatePkgList</h4> |
|
1461 <b>__pluginCreatePkgList</b>(<i></i>) |
|
1462 |
|
1463 <p> |
|
1464 Private slot to create a PKGLIST file needed for archive file creation. |
|
1465 </p> |
|
1466 <a NAME="Project.__pluginCreateSnapshotArchives" ID="Project.__pluginCreateSnapshotArchives"></a> |
|
1467 <h4>Project.__pluginCreateSnapshotArchives</h4> |
|
1468 <b>__pluginCreateSnapshotArchives</b>(<i></i>) |
|
1469 |
|
1470 <p> |
|
1471 Private slot to create eric plugin archive snapshot releases. |
|
1472 </p> |
|
1473 <a NAME="Project.__pluginExtractVersion" ID="Project.__pluginExtractVersion"></a> |
|
1474 <h4>Project.__pluginExtractVersion</h4> |
|
1475 <b>__pluginExtractVersion</b>(<i>filename</i>) |
|
1476 |
|
1477 <p> |
|
1478 Private method to extract the version number entry. |
|
1479 </p> |
|
1480 <dl> |
|
1481 |
|
1482 <dt><i>filename</i></dt> |
|
1483 <dd> |
|
1484 name of the plugin file (string) |
|
1485 </dd> |
|
1486 </dl> |
|
1487 <dl> |
|
1488 <dt>Return:</dt> |
|
1489 <dd> |
|
1490 version string (string) |
|
1491 </dd> |
|
1492 </dl> |
|
1493 <a NAME="Project.__pluginVersionToTuple" ID="Project.__pluginVersionToTuple"></a> |
|
1494 <h4>Project.__pluginVersionToTuple</h4> |
|
1495 <b>__pluginVersionToTuple</b>(<i>versionStr</i>) |
|
1496 |
|
1497 <p> |
|
1498 Private method to convert a plug-in version string into a version |
|
1499 tuple. |
|
1500 </p> |
|
1501 <dl> |
|
1502 |
|
1503 <dt><i>versionStr</i> (str)</dt> |
|
1504 <dd> |
|
1505 version string to be converted |
|
1506 </dd> |
|
1507 </dl> |
|
1508 <dl> |
|
1509 <dt>Return:</dt> |
|
1510 <dd> |
|
1511 version info as a tuple |
|
1512 </dd> |
|
1513 </dl> |
|
1514 <dl> |
|
1515 <dt>Return Type:</dt> |
|
1516 <dd> |
|
1517 tuple of int and str |
|
1518 </dd> |
|
1519 </dl> |
|
1520 <a NAME="Project.__readDebugProperties" ID="Project.__readDebugProperties"></a> |
|
1521 <h4>Project.__readDebugProperties</h4> |
|
1522 <b>__readDebugProperties</b>(<i>quiet=False</i>) |
|
1523 |
|
1524 <p> |
|
1525 Private method to read in the project debugger properties file |
|
1526 (.edj or .e4d). |
|
1527 </p> |
|
1528 <dl> |
|
1529 |
|
1530 <dt><i>quiet</i></dt> |
|
1531 <dd> |
|
1532 flag indicating quiet operations. |
|
1533 If this flag is true, no errors are reported. |
|
1534 </dd> |
|
1535 </dl> |
|
1536 <a NAME="Project.__readProject" ID="Project.__readProject"></a> |
|
1537 <h4>Project.__readProject</h4> |
|
1538 <b>__readProject</b>(<i>fn</i>) |
|
1539 |
|
1540 <p> |
|
1541 Private method to read in a project (.epj or .e4p) file. |
|
1542 </p> |
|
1543 <dl> |
|
1544 |
|
1545 <dt><i>fn</i></dt> |
|
1546 <dd> |
|
1547 filename of the project file to be read (string) |
|
1548 </dd> |
|
1549 </dl> |
|
1550 <dl> |
|
1551 <dt>Return:</dt> |
|
1552 <dd> |
|
1553 flag indicating success |
|
1554 </dd> |
|
1555 </dl> |
|
1556 <a NAME="Project.__readSession" ID="Project.__readSession"></a> |
|
1557 <h4>Project.__readSession</h4> |
|
1558 <b>__readSession</b>(<i>quiet=False, indicator=""</i>) |
|
1559 |
|
1560 <p> |
|
1561 Private method to read in the project session file (.esj or .e5s). |
|
1562 </p> |
|
1563 <dl> |
|
1564 |
|
1565 <dt><i>quiet</i></dt> |
|
1566 <dd> |
|
1567 flag indicating quiet operations. |
|
1568 If this flag is true, no errors are reported. |
|
1569 </dd> |
|
1570 <dt><i>indicator</i></dt> |
|
1571 <dd> |
|
1572 indicator string (string) |
|
1573 </dd> |
|
1574 </dl> |
|
1575 <a NAME="Project.__readTasks" ID="Project.__readTasks"></a> |
|
1576 <h4>Project.__readTasks</h4> |
|
1577 <b>__readTasks</b>(<i></i>) |
|
1578 |
|
1579 <p> |
|
1580 Private method to read in the project tasks file (.etj or .e6t). |
|
1581 </p> |
|
1582 <a NAME="Project.__readUserProperties" ID="Project.__readUserProperties"></a> |
|
1583 <h4>Project.__readUserProperties</h4> |
|
1584 <b>__readUserProperties</b>(<i></i>) |
|
1585 |
|
1586 <p> |
|
1587 Private method to read in the user specific project file (.eqj or |
|
1588 .e4q). |
|
1589 </p> |
|
1590 <a NAME="Project.__reorganizeFiles" ID="Project.__reorganizeFiles"></a> |
|
1591 <h4>Project.__reorganizeFiles</h4> |
|
1592 <b>__reorganizeFiles</b>(<i></i>) |
|
1593 |
|
1594 <p> |
|
1595 Private method to reorganize files stored in the project. |
|
1596 </p> |
|
1597 <a NAME="Project.__saveRecent" ID="Project.__saveRecent"></a> |
|
1598 <h4>Project.__saveRecent</h4> |
|
1599 <b>__saveRecent</b>(<i></i>) |
|
1600 |
|
1601 <p> |
|
1602 Private method to save the list of recently opened filenames. |
|
1603 </p> |
|
1604 <a NAME="Project.__searchNewFiles" ID="Project.__searchNewFiles"></a> |
|
1605 <h4>Project.__searchNewFiles</h4> |
|
1606 <b>__searchNewFiles</b>(<i></i>) |
|
1607 |
|
1608 <p> |
|
1609 Private slot used to handle the search new files action. |
|
1610 </p> |
|
1611 <a NAME="Project.__searchProjectFile" ID="Project.__searchProjectFile"></a> |
|
1612 <h4>Project.__searchProjectFile</h4> |
|
1613 <b>__searchProjectFile</b>(<i></i>) |
|
1614 |
|
1615 <p> |
|
1616 Private slot to show the Find Project File dialog. |
|
1617 </p> |
|
1618 <a NAME="Project.__showCodeCoverage" ID="Project.__showCodeCoverage"></a> |
|
1619 <h4>Project.__showCodeCoverage</h4> |
|
1620 <b>__showCodeCoverage</b>(<i></i>) |
|
1621 |
|
1622 <p> |
|
1623 Private slot used to show the code coverage information for the |
|
1624 project files. |
|
1625 </p> |
|
1626 <a NAME="Project.__showCodeMetrics" ID="Project.__showCodeMetrics"></a> |
|
1627 <h4>Project.__showCodeMetrics</h4> |
|
1628 <b>__showCodeMetrics</b>(<i></i>) |
|
1629 |
|
1630 <p> |
|
1631 Private slot used to calculate some code metrics for the project files. |
|
1632 </p> |
|
1633 <a NAME="Project.__showContextMenuApiDoc" ID="Project.__showContextMenuApiDoc"></a> |
|
1634 <h4>Project.__showContextMenuApiDoc</h4> |
|
1635 <b>__showContextMenuApiDoc</b>(<i></i>) |
|
1636 |
|
1637 <p> |
|
1638 Private slot called before the apidoc menu is shown. |
|
1639 </p> |
|
1640 <a NAME="Project.__showContextMenuChecks" ID="Project.__showContextMenuChecks"></a> |
|
1641 <h4>Project.__showContextMenuChecks</h4> |
|
1642 <b>__showContextMenuChecks</b>(<i></i>) |
|
1643 |
|
1644 <p> |
|
1645 Private slot called before the checks menu is shown. |
|
1646 </p> |
|
1647 <a NAME="Project.__showContextMenuDebugger" ID="Project.__showContextMenuDebugger"></a> |
|
1648 <h4>Project.__showContextMenuDebugger</h4> |
|
1649 <b>__showContextMenuDebugger</b>(<i></i>) |
|
1650 |
|
1651 <p> |
|
1652 Private slot called before the Debugger menu is shown. |
|
1653 </p> |
|
1654 <a NAME="Project.__showContextMenuGraphics" ID="Project.__showContextMenuGraphics"></a> |
|
1655 <h4>Project.__showContextMenuGraphics</h4> |
|
1656 <b>__showContextMenuGraphics</b>(<i></i>) |
|
1657 |
|
1658 <p> |
|
1659 Private slot called before the graphics menu is shown. |
|
1660 </p> |
|
1661 <a NAME="Project.__showContextMenuMake" ID="Project.__showContextMenuMake"></a> |
|
1662 <h4>Project.__showContextMenuMake</h4> |
|
1663 <b>__showContextMenuMake</b>(<i></i>) |
|
1664 |
|
1665 <p> |
|
1666 Private slot called before the make menu is shown. |
|
1667 </p> |
|
1668 <a NAME="Project.__showContextMenuPackagers" ID="Project.__showContextMenuPackagers"></a> |
|
1669 <h4>Project.__showContextMenuPackagers</h4> |
|
1670 <b>__showContextMenuPackagers</b>(<i></i>) |
|
1671 |
|
1672 <p> |
|
1673 Private slot called before the packagers menu is shown. |
|
1674 </p> |
|
1675 <a NAME="Project.__showContextMenuRecent" ID="Project.__showContextMenuRecent"></a> |
|
1676 <h4>Project.__showContextMenuRecent</h4> |
|
1677 <b>__showContextMenuRecent</b>(<i></i>) |
|
1678 |
|
1679 <p> |
|
1680 Private method to set up the recent projects menu. |
|
1681 </p> |
|
1682 <a NAME="Project.__showContextMenuSession" ID="Project.__showContextMenuSession"></a> |
|
1683 <h4>Project.__showContextMenuSession</h4> |
|
1684 <b>__showContextMenuSession</b>(<i></i>) |
|
1685 |
|
1686 <p> |
|
1687 Private slot called before the Session menu is shown. |
|
1688 </p> |
|
1689 <a NAME="Project.__showContextMenuShow" ID="Project.__showContextMenuShow"></a> |
|
1690 <h4>Project.__showContextMenuShow</h4> |
|
1691 <b>__showContextMenuShow</b>(<i></i>) |
|
1692 |
|
1693 <p> |
|
1694 Private slot called before the show menu is shown. |
|
1695 </p> |
|
1696 <a NAME="Project.__showContextMenuVCS" ID="Project.__showContextMenuVCS"></a> |
|
1697 <h4>Project.__showContextMenuVCS</h4> |
|
1698 <b>__showContextMenuVCS</b>(<i></i>) |
|
1699 |
|
1700 <p> |
|
1701 Private slot called before the vcs menu is shown. |
|
1702 </p> |
|
1703 <a NAME="Project.__showDebugProperties" ID="Project.__showDebugProperties"></a> |
|
1704 <h4>Project.__showDebugProperties</h4> |
|
1705 <b>__showDebugProperties</b>(<i></i>) |
|
1706 |
|
1707 <p> |
|
1708 Private slot to display the debugger properties dialog. |
|
1709 </p> |
|
1710 <a NAME="Project.__showFiletypeAssociations" ID="Project.__showFiletypeAssociations"></a> |
|
1711 <h4>Project.__showFiletypeAssociations</h4> |
|
1712 <b>__showFiletypeAssociations</b>(<i></i>) |
|
1713 |
|
1714 <p> |
|
1715 Private slot to display the filetype association dialog. |
|
1716 </p> |
|
1717 <a NAME="Project.__showLexerAssociations" ID="Project.__showLexerAssociations"></a> |
|
1718 <h4>Project.__showLexerAssociations</h4> |
|
1719 <b>__showLexerAssociations</b>(<i></i>) |
|
1720 |
|
1721 <p> |
|
1722 Private slot to display the lexer association dialog. |
|
1723 </p> |
|
1724 <a NAME="Project.__showMenu" ID="Project.__showMenu"></a> |
|
1725 <h4>Project.__showMenu</h4> |
|
1726 <b>__showMenu</b>(<i></i>) |
|
1727 |
|
1728 <p> |
|
1729 Private method to set up the project menu. |
|
1730 </p> |
|
1731 <a NAME="Project.__showProfileData" ID="Project.__showProfileData"></a> |
|
1732 <h4>Project.__showProfileData</h4> |
|
1733 <b>__showProfileData</b>(<i></i>) |
|
1734 |
|
1735 <p> |
|
1736 Private slot used to show the profiling information for the project. |
|
1737 </p> |
|
1738 <a NAME="Project.__showProperties" ID="Project.__showProperties"></a> |
|
1739 <h4>Project.__showProperties</h4> |
|
1740 <b>__showProperties</b>(<i></i>) |
|
1741 |
|
1742 <p> |
|
1743 Private slot to display the properties dialog. |
|
1744 </p> |
|
1745 <a NAME="Project.__showUserProperties" ID="Project.__showUserProperties"></a> |
|
1746 <h4>Project.__showUserProperties</h4> |
|
1747 <b>__showUserProperties</b>(<i></i>) |
|
1748 |
|
1749 <p> |
|
1750 Private slot to display the user specific properties dialog. |
|
1751 </p> |
|
1752 <a NAME="Project.__sourceExtensions" ID="Project.__sourceExtensions"></a> |
|
1753 <h4>Project.__sourceExtensions</h4> |
|
1754 <b>__sourceExtensions</b>(<i>language</i>) |
|
1755 |
|
1756 <p> |
|
1757 Private method to get the source extensions of a programming language. |
|
1758 </p> |
|
1759 <dl> |
|
1760 |
|
1761 <dt><i>language</i></dt> |
|
1762 <dd> |
|
1763 programming language (string) |
|
1764 </dd> |
|
1765 </dl> |
|
1766 <dl> |
|
1767 <dt>Return:</dt> |
|
1768 <dd> |
|
1769 source extensions (list of string) |
|
1770 </dd> |
|
1771 </dl> |
|
1772 <a NAME="Project.__statusMonitorStatus" ID="Project.__statusMonitorStatus"></a> |
|
1773 <h4>Project.__statusMonitorStatus</h4> |
|
1774 <b>__statusMonitorStatus</b>(<i>status, statusMsg</i>) |
|
1775 |
|
1776 <p> |
|
1777 Private method to receive the status monitor status. |
|
1778 </p> |
|
1779 <p> |
|
1780 It simply reemits the received status. |
|
1781 </p> |
|
1782 <dl> |
|
1783 |
|
1784 <dt><i>status</i></dt> |
|
1785 <dd> |
|
1786 status of the monitoring thread (string, ok, nok or off) |
|
1787 </dd> |
|
1788 <dt><i>statusMsg</i></dt> |
|
1789 <dd> |
|
1790 explanotory text for the signaled status (string) |
|
1791 </dd> |
|
1792 </dl> |
|
1793 <a NAME="Project.__syncRecent" ID="Project.__syncRecent"></a> |
|
1794 <h4>Project.__syncRecent</h4> |
|
1795 <b>__syncRecent</b>(<i></i>) |
|
1796 |
|
1797 <p> |
|
1798 Private method to synchronize the list of recently opened projects |
|
1799 with the central store. |
|
1800 </p> |
|
1801 <a NAME="Project.__vcsStatusChanged" ID="Project.__vcsStatusChanged"></a> |
|
1802 <h4>Project.__vcsStatusChanged</h4> |
|
1803 <b>__vcsStatusChanged</b>(<i></i>) |
|
1804 |
|
1805 <p> |
|
1806 Private slot to handle a change of the overall VCS status. |
|
1807 </p> |
|
1808 <a NAME="Project.__writeDebugProperties" ID="Project.__writeDebugProperties"></a> |
|
1809 <h4>Project.__writeDebugProperties</h4> |
|
1810 <b>__writeDebugProperties</b>(<i>quiet=False</i>) |
|
1811 |
|
1812 <p> |
|
1813 Private method to write the project debugger properties file (.edj). |
|
1814 </p> |
|
1815 <dl> |
|
1816 |
|
1817 <dt><i>quiet</i></dt> |
|
1818 <dd> |
|
1819 flag indicating quiet operations. |
|
1820 If this flag is true, no errors are reported. |
|
1821 </dd> |
|
1822 </dl> |
|
1823 <a NAME="Project.__writeProject" ID="Project.__writeProject"></a> |
|
1824 <h4>Project.__writeProject</h4> |
|
1825 <b>__writeProject</b>(<i>fn=None</i>) |
|
1826 |
|
1827 <p> |
|
1828 Private method to save the project infos to a project file. |
|
1829 </p> |
|
1830 <dl> |
|
1831 |
|
1832 <dt><i>fn</i></dt> |
|
1833 <dd> |
|
1834 optional filename of the project file to be written (string). |
|
1835 If fn is None, the filename stored in the project object |
|
1836 is used. This is the 'save' action. If fn is given, this filename |
|
1837 is used instead of the one in the project object. This is the |
|
1838 'save as' action. |
|
1839 </dd> |
|
1840 </dl> |
|
1841 <dl> |
|
1842 <dt>Return:</dt> |
|
1843 <dd> |
|
1844 flag indicating success |
|
1845 </dd> |
|
1846 </dl> |
|
1847 <a NAME="Project.__writeSession" ID="Project.__writeSession"></a> |
|
1848 <h4>Project.__writeSession</h4> |
|
1849 <b>__writeSession</b>(<i>quiet=False, indicator=""</i>) |
|
1850 |
|
1851 <p> |
|
1852 Private method to write the session data to an XML file (.esj). |
|
1853 </p> |
|
1854 <dl> |
|
1855 |
|
1856 <dt><i>quiet</i></dt> |
|
1857 <dd> |
|
1858 flag indicating quiet operations. |
|
1859 If this flag is true, no errors are reported. |
|
1860 </dd> |
|
1861 <dt><i>indicator</i></dt> |
|
1862 <dd> |
|
1863 indicator string (string) |
|
1864 </dd> |
|
1865 </dl> |
|
1866 <a NAME="Project.__writeUserProperties" ID="Project.__writeUserProperties"></a> |
|
1867 <h4>Project.__writeUserProperties</h4> |
|
1868 <b>__writeUserProperties</b>(<i></i>) |
|
1869 |
|
1870 <p> |
|
1871 Private method to write the user specific project data to a JSON file. |
|
1872 </p> |
|
1873 <a NAME="Project.addDirectory" ID="Project.addDirectory"></a> |
|
1874 <h4>Project.addDirectory</h4> |
|
1875 <b>addDirectory</b>(<i>fileTypeFilter=None, startdir=None</i>) |
|
1876 |
|
1877 <p> |
|
1878 Public method used to add all files of a directory to the project. |
|
1879 </p> |
|
1880 <dl> |
|
1881 |
|
1882 <dt><i>fileTypeFilter</i> (str out of source, form, resource, interface, protocol, others)</dt> |
|
1883 <dd> |
|
1884 filter to be used by the add directory dialog |
|
1885 </dd> |
|
1886 <dt><i>startdir</i> (str)</dt> |
|
1887 <dd> |
|
1888 start directory for the selection dialog |
|
1889 </dd> |
|
1890 </dl> |
|
1891 <a NAME="Project.addEricActions" ID="Project.addEricActions"></a> |
|
1892 <h4>Project.addEricActions</h4> |
|
1893 <b>addEricActions</b>(<i>actions</i>) |
|
1894 |
|
1895 <p> |
|
1896 Public method to add actions to the list of actions. |
|
1897 </p> |
|
1898 <dl> |
|
1899 |
|
1900 <dt><i>actions</i></dt> |
|
1901 <dd> |
|
1902 list of actions (list of EricAction) |
|
1903 </dd> |
|
1904 </dl> |
|
1905 <a NAME="Project.addFiles" ID="Project.addFiles"></a> |
|
1906 <h4>Project.addFiles</h4> |
|
1907 <b>addFiles</b>(<i>fileTypeFilter=None, startdir=None</i>) |
|
1908 |
|
1909 <p> |
|
1910 Public slot used to add files to the project. |
|
1911 </p> |
|
1912 <dl> |
|
1913 |
|
1914 <dt><i>fileTypeFilter</i> (str out of source, form, resource, interface, protocol, others)</dt> |
|
1915 <dd> |
|
1916 filter to be used by the add file dialog |
|
1917 </dd> |
|
1918 <dt><i>startdir</i> (str)</dt> |
|
1919 <dd> |
|
1920 start directory for the selection dialog |
|
1921 </dd> |
|
1922 </dl> |
|
1923 <a NAME="Project.addIdlDir" ID="Project.addIdlDir"></a> |
|
1924 <h4>Project.addIdlDir</h4> |
|
1925 <b>addIdlDir</b>(<i></i>) |
|
1926 |
|
1927 <p> |
|
1928 Public slot to add all IDL interfaces of a directory to the current |
|
1929 project. |
|
1930 </p> |
|
1931 <a NAME="Project.addIdlFiles" ID="Project.addIdlFiles"></a> |
|
1932 <h4>Project.addIdlFiles</h4> |
|
1933 <b>addIdlFiles</b>(<i></i>) |
|
1934 |
|
1935 <p> |
|
1936 Public slot to add IDL interfaces to the current project. |
|
1937 </p> |
|
1938 <a NAME="Project.addLanguage" ID="Project.addLanguage"></a> |
|
1939 <h4>Project.addLanguage</h4> |
|
1940 <b>addLanguage</b>(<i></i>) |
|
1941 |
|
1942 <p> |
|
1943 Public slot used to add a language to the project. |
|
1944 </p> |
|
1945 <a NAME="Project.addOthersDir" ID="Project.addOthersDir"></a> |
|
1946 <h4>Project.addOthersDir</h4> |
|
1947 <b>addOthersDir</b>(<i></i>) |
|
1948 |
|
1949 <p> |
|
1950 Public slot to add a directory to the OTHERS project data. |
|
1951 </p> |
|
1952 <a NAME="Project.addOthersFiles" ID="Project.addOthersFiles"></a> |
|
1953 <h4>Project.addOthersFiles</h4> |
|
1954 <b>addOthersFiles</b>(<i></i>) |
|
1955 |
|
1956 <p> |
|
1957 Public slot to add files to the OTHERS project data. |
|
1958 </p> |
|
1959 <a NAME="Project.addProtoDir" ID="Project.addProtoDir"></a> |
|
1960 <h4>Project.addProtoDir</h4> |
|
1961 <b>addProtoDir</b>(<i></i>) |
|
1962 |
|
1963 <p> |
|
1964 Public slot to add all protocol files of a directory to the current |
|
1965 project. |
|
1966 </p> |
|
1967 <a NAME="Project.addProtoFiles" ID="Project.addProtoFiles"></a> |
|
1968 <h4>Project.addProtoFiles</h4> |
|
1969 <b>addProtoFiles</b>(<i></i>) |
|
1970 |
|
1971 <p> |
|
1972 Public slot to add protocol files to the current project. |
|
1973 </p> |
|
1974 <a NAME="Project.addResourceDir" ID="Project.addResourceDir"></a> |
|
1975 <h4>Project.addResourceDir</h4> |
|
1976 <b>addResourceDir</b>(<i></i>) |
|
1977 |
|
1978 <p> |
|
1979 Public slot to add all Qt resource files of a directory to the current |
|
1980 project. |
|
1981 </p> |
|
1982 <a NAME="Project.addResourceFiles" ID="Project.addResourceFiles"></a> |
|
1983 <h4>Project.addResourceFiles</h4> |
|
1984 <b>addResourceFiles</b>(<i></i>) |
|
1985 |
|
1986 <p> |
|
1987 Public slot to add Qt resources to the current project. |
|
1988 </p> |
|
1989 <a NAME="Project.addSourceDir" ID="Project.addSourceDir"></a> |
|
1990 <h4>Project.addSourceDir</h4> |
|
1991 <b>addSourceDir</b>(<i></i>) |
|
1992 |
|
1993 <p> |
|
1994 Public slot to add all source files of a directory to the current |
|
1995 project. |
|
1996 </p> |
|
1997 <a NAME="Project.addSourceFiles" ID="Project.addSourceFiles"></a> |
|
1998 <h4>Project.addSourceFiles</h4> |
|
1999 <b>addSourceFiles</b>(<i></i>) |
|
2000 |
|
2001 <p> |
|
2002 Public slot to add source files to the current project. |
|
2003 </p> |
|
2004 <a NAME="Project.addToOthers" ID="Project.addToOthers"></a> |
|
2005 <h4>Project.addToOthers</h4> |
|
2006 <b>addToOthers</b>(<i>fn</i>) |
|
2007 |
|
2008 <p> |
|
2009 Public method to add a file/directory to the OTHERS project data. |
|
2010 </p> |
|
2011 <dl> |
|
2012 |
|
2013 <dt><i>fn</i></dt> |
|
2014 <dd> |
|
2015 file name or directory name to add (string) |
|
2016 </dd> |
|
2017 </dl> |
|
2018 <a NAME="Project.addUiDir" ID="Project.addUiDir"></a> |
|
2019 <h4>Project.addUiDir</h4> |
|
2020 <b>addUiDir</b>(<i></i>) |
|
2021 |
|
2022 <p> |
|
2023 Public slot to add all forms of a directory to the current project. |
|
2024 </p> |
|
2025 <a NAME="Project.addUiFiles" ID="Project.addUiFiles"></a> |
|
2026 <h4>Project.addUiFiles</h4> |
|
2027 <b>addUiFiles</b>(<i></i>) |
|
2028 |
|
2029 <p> |
|
2030 Public slot to add forms to the current project. |
|
2031 </p> |
|
2032 <a NAME="Project.appendFile" ID="Project.appendFile"></a> |
|
2033 <h4>Project.appendFile</h4> |
|
2034 <b>appendFile</b>(<i>fn, isSourceFile=False, updateModel=True</i>) |
|
2035 |
|
2036 <p> |
|
2037 Public method to append a file to the project. |
|
2038 </p> |
|
2039 <dl> |
|
2040 |
|
2041 <dt><i>fn</i></dt> |
|
2042 <dd> |
|
2043 filename to be added to the project (string) |
|
2044 </dd> |
|
2045 <dt><i>isSourceFile</i></dt> |
|
2046 <dd> |
|
2047 flag indicating that this is a source file |
|
2048 even if it doesn't have the source extension (boolean) |
|
2049 </dd> |
|
2050 <dt><i>updateModel</i></dt> |
|
2051 <dd> |
|
2052 flag indicating an update of the model is |
|
2053 requested (boolean) |
|
2054 </dd> |
|
2055 </dl> |
|
2056 <a NAME="Project.checkAllScriptsDirty" ID="Project.checkAllScriptsDirty"></a> |
|
2057 <h4>Project.checkAllScriptsDirty</h4> |
|
2058 <b>checkAllScriptsDirty</b>(<i>reportSyntaxErrors=False</i>) |
|
2059 |
|
2060 <p> |
|
2061 Public method to check all scripts belonging to the project for |
|
2062 their dirty status. |
|
2063 </p> |
|
2064 <dl> |
|
2065 |
|
2066 <dt><i>reportSyntaxErrors</i></dt> |
|
2067 <dd> |
|
2068 flag indicating special reporting |
|
2069 for syntax errors (boolean) |
|
2070 </dd> |
|
2071 </dl> |
|
2072 <dl> |
|
2073 <dt>Return:</dt> |
|
2074 <dd> |
|
2075 flag indicating success (boolean) |
|
2076 </dd> |
|
2077 </dl> |
|
2078 <a NAME="Project.checkDirty" ID="Project.checkDirty"></a> |
|
2079 <h4>Project.checkDirty</h4> |
|
2080 <b>checkDirty</b>(<i></i>) |
|
2081 |
|
2082 <p> |
|
2083 Public method to check dirty status and open a message window. |
|
2084 </p> |
|
2085 <dl> |
|
2086 <dt>Return:</dt> |
|
2087 <dd> |
|
2088 flag indicating whether this operation was successful (boolean) |
|
2089 </dd> |
|
2090 </dl> |
|
2091 <a NAME="Project.checkLanguageFiles" ID="Project.checkLanguageFiles"></a> |
|
2092 <h4>Project.checkLanguageFiles</h4> |
|
2093 <b>checkLanguageFiles</b>(<i></i>) |
|
2094 |
|
2095 <p> |
|
2096 Public slot to check the language files after a release process. |
|
2097 </p> |
|
2098 <a NAME="Project.checkVCSStatus" ID="Project.checkVCSStatus"></a> |
|
2099 <h4>Project.checkVCSStatus</h4> |
|
2100 <b>checkVCSStatus</b>(<i></i>) |
|
2101 |
|
2102 <p> |
|
2103 Public method to wake up the VCS status monitor thread. |
|
2104 </p> |
|
2105 <a NAME="Project.clearHistories" ID="Project.clearHistories"></a> |
|
2106 <h4>Project.clearHistories</h4> |
|
2107 <b>clearHistories</b>(<i></i>) |
|
2108 |
|
2109 <p> |
|
2110 Public method to clear the project related histories. |
|
2111 </p> |
|
2112 <a NAME="Project.clearRecent" ID="Project.clearRecent"></a> |
|
2113 <h4>Project.clearRecent</h4> |
|
2114 <b>clearRecent</b>(<i></i>) |
|
2115 |
|
2116 <p> |
|
2117 Public method to clear the recent projects menu. |
|
2118 </p> |
|
2119 <a NAME="Project.clearStatusMonitorCachedState" ID="Project.clearStatusMonitorCachedState"></a> |
|
2120 <h4>Project.clearStatusMonitorCachedState</h4> |
|
2121 <b>clearStatusMonitorCachedState</b>(<i>name</i>) |
|
2122 |
|
2123 <p> |
|
2124 Public method to clear the cached VCS state of a file/directory. |
|
2125 </p> |
|
2126 <dl> |
|
2127 |
|
2128 <dt><i>name</i></dt> |
|
2129 <dd> |
|
2130 name of the entry to be cleared (string) |
|
2131 </dd> |
|
2132 </dl> |
|
2133 <a NAME="Project.closeProject" ID="Project.closeProject"></a> |
|
2134 <h4>Project.closeProject</h4> |
|
2135 <b>closeProject</b>(<i>reopen=False, noSave=False</i>) |
|
2136 |
|
2137 <p> |
|
2138 Public slot to close the current project. |
|
2139 </p> |
|
2140 <dl> |
|
2141 |
|
2142 <dt><i>reopen</i></dt> |
|
2143 <dd> |
|
2144 flag indicating a reopening of the project (boolean) |
|
2145 </dd> |
|
2146 <dt><i>noSave</i></dt> |
|
2147 <dd> |
|
2148 flag indicating to not perform save actions (boolean) |
|
2149 </dd> |
|
2150 </dl> |
|
2151 <dl> |
|
2152 <dt>Return:</dt> |
|
2153 <dd> |
|
2154 flag indicating success (boolean) |
|
2155 </dd> |
|
2156 </dl> |
|
2157 <a NAME="Project.copyDirectory" ID="Project.copyDirectory"></a> |
|
2158 <h4>Project.copyDirectory</h4> |
|
2159 <b>copyDirectory</b>(<i>olddn, newdn</i>) |
|
2160 |
|
2161 <p> |
|
2162 Public slot to copy a directory. |
|
2163 </p> |
|
2164 <dl> |
|
2165 |
|
2166 <dt><i>olddn</i></dt> |
|
2167 <dd> |
|
2168 original directory name (string) |
|
2169 </dd> |
|
2170 <dt><i>newdn</i></dt> |
|
2171 <dd> |
|
2172 new directory name (string) |
|
2173 </dd> |
|
2174 </dl> |
|
2175 <a NAME="Project.createNewProject" ID="Project.createNewProject"></a> |
|
2176 <h4>Project.createNewProject</h4> |
|
2177 <b>createNewProject</b>(<i></i>) |
|
2178 |
|
2179 <p> |
|
2180 Public slot to built a new project. |
|
2181 </p> |
|
2182 <p> |
|
2183 This method displays the new project dialog and initializes |
|
2184 the project object with the data entered. |
|
2185 </p> |
|
2186 <a NAME="Project.createProjectManagementDir" ID="Project.createProjectManagementDir"></a> |
|
2187 <h4>Project.createProjectManagementDir</h4> |
|
2188 <b>createProjectManagementDir</b>(<i></i>) |
|
2189 |
|
2190 <p> |
|
2191 Public method to create the project management directory. |
|
2192 </p> |
|
2193 <p> |
|
2194 It does nothing, if it already exists. |
|
2195 </p> |
|
2196 <a NAME="Project.deleteDirectory" ID="Project.deleteDirectory"></a> |
|
2197 <h4>Project.deleteDirectory</h4> |
|
2198 <b>deleteDirectory</b>(<i>dn</i>) |
|
2199 |
|
2200 <p> |
|
2201 Public method to delete a directory from the project directory. |
|
2202 </p> |
|
2203 <dl> |
|
2204 |
|
2205 <dt><i>dn</i></dt> |
|
2206 <dd> |
|
2207 directory name to be removed from the project |
|
2208 </dd> |
|
2209 </dl> |
|
2210 <dl> |
|
2211 <dt>Return:</dt> |
|
2212 <dd> |
|
2213 flag indicating success (boolean) |
|
2214 </dd> |
|
2215 </dl> |
|
2216 <a NAME="Project.deleteFile" ID="Project.deleteFile"></a> |
|
2217 <h4>Project.deleteFile</h4> |
|
2218 <b>deleteFile</b>(<i>fn</i>) |
|
2219 |
|
2220 <p> |
|
2221 Public method to delete a file from the project directory. |
|
2222 </p> |
|
2223 <dl> |
|
2224 |
|
2225 <dt><i>fn</i></dt> |
|
2226 <dd> |
|
2227 filename to be deleted from the project |
|
2228 </dd> |
|
2229 </dl> |
|
2230 <dl> |
|
2231 <dt>Return:</dt> |
|
2232 <dd> |
|
2233 flag indicating success (boolean) |
|
2234 </dd> |
|
2235 </dl> |
|
2236 <a NAME="Project.deleteLanguageFile" ID="Project.deleteLanguageFile"></a> |
|
2237 <h4>Project.deleteLanguageFile</h4> |
|
2238 <b>deleteLanguageFile</b>(<i>langFile</i>) |
|
2239 |
|
2240 <p> |
|
2241 Public slot to delete a translation from the project directory. |
|
2242 </p> |
|
2243 <dl> |
|
2244 |
|
2245 <dt><i>langFile</i></dt> |
|
2246 <dd> |
|
2247 the translation file to be removed (string) |
|
2248 </dd> |
|
2249 </dl> |
|
2250 <a NAME="Project.executeMake" ID="Project.executeMake"></a> |
|
2251 <h4>Project.executeMake</h4> |
|
2252 <b>executeMake</b>(<i></i>) |
|
2253 |
|
2254 <p> |
|
2255 Public slot to execute a project specific make run (auto-run) |
|
2256 (execute or question). |
|
2257 </p> |
|
2258 <a NAME="Project.getAbsolutePath" ID="Project.getAbsolutePath"></a> |
|
2259 <h4>Project.getAbsolutePath</h4> |
|
2260 <b>getAbsolutePath</b>(<i>fn</i>) |
|
2261 |
|
2262 <p> |
|
2263 Public method to convert a project relative file path to an absolute |
|
2264 file path. |
|
2265 </p> |
|
2266 <dl> |
|
2267 |
|
2268 <dt><i>fn</i></dt> |
|
2269 <dd> |
|
2270 file or directory name to convert (string) |
|
2271 </dd> |
|
2272 </dl> |
|
2273 <dl> |
|
2274 <dt>Return:</dt> |
|
2275 <dd> |
|
2276 absolute path (string) |
|
2277 </dd> |
|
2278 </dl> |
|
2279 <a NAME="Project.getAbsoluteUniversalPath" ID="Project.getAbsoluteUniversalPath"></a> |
|
2280 <h4>Project.getAbsoluteUniversalPath</h4> |
|
2281 <b>getAbsoluteUniversalPath</b>(<i>fn</i>) |
|
2282 |
|
2283 <p> |
|
2284 Public method to convert a project relative file path with universal |
|
2285 separators to an absolute file path. |
|
2286 </p> |
|
2287 <dl> |
|
2288 |
|
2289 <dt><i>fn</i></dt> |
|
2290 <dd> |
|
2291 file or directory name to convert (string) |
|
2292 </dd> |
|
2293 </dl> |
|
2294 <dl> |
|
2295 <dt>Return:</dt> |
|
2296 <dd> |
|
2297 absolute path (string) |
|
2298 </dd> |
|
2299 </dl> |
|
2300 <a NAME="Project.getActions" ID="Project.getActions"></a> |
|
2301 <h4>Project.getActions</h4> |
|
2302 <b>getActions</b>(<i></i>) |
|
2303 |
|
2304 <p> |
|
2305 Public method to get a list of all actions. |
|
2306 </p> |
|
2307 <dl> |
|
2308 <dt>Return:</dt> |
|
2309 <dd> |
|
2310 list of all actions (list of EricAction) |
|
2311 </dd> |
|
2312 </dl> |
|
2313 <a NAME="Project.getData" ID="Project.getData"></a> |
|
2314 <h4>Project.getData</h4> |
|
2315 <b>getData</b>(<i>category, key</i>) |
|
2316 |
|
2317 <p> |
|
2318 Public method to get data out of the project data store. |
|
2319 </p> |
|
2320 <dl> |
|
2321 |
|
2322 <dt><i>category</i></dt> |
|
2323 <dd> |
|
2324 category of the data to get (string, one of |
|
2325 PROJECTTYPESPECIFICDATA, CHECKERSPARMS, PACKAGERSPARMS, |
|
2326 DOCUMENTATIONPARMS or OTHERTOOLSPARMS) |
|
2327 </dd> |
|
2328 <dt><i>key</i></dt> |
|
2329 <dd> |
|
2330 key of the data entry to get (string). |
|
2331 </dd> |
|
2332 </dl> |
|
2333 <dl> |
|
2334 <dt>Return:</dt> |
|
2335 <dd> |
|
2336 a copy of the requested data or None |
|
2337 </dd> |
|
2338 </dl> |
|
2339 <a NAME="Project.getDebugProperty" ID="Project.getDebugProperty"></a> |
|
2340 <h4>Project.getDebugProperty</h4> |
|
2341 <b>getDebugProperty</b>(<i>key</i>) |
|
2342 |
|
2343 <p> |
|
2344 Public method to retrieve a debugger property. |
|
2345 </p> |
|
2346 <dl> |
|
2347 |
|
2348 <dt><i>key</i></dt> |
|
2349 <dd> |
|
2350 key of the property (string) |
|
2351 </dd> |
|
2352 </dl> |
|
2353 <dl> |
|
2354 <dt>Return:</dt> |
|
2355 <dd> |
|
2356 value of the property |
|
2357 </dd> |
|
2358 </dl> |
|
2359 <a NAME="Project.getDebuggerFilters" ID="Project.getDebuggerFilters"></a> |
|
2360 <h4>Project.getDebuggerFilters</h4> |
|
2361 <b>getDebuggerFilters</b>(<i>language</i>) |
|
2362 |
|
2363 <p> |
|
2364 Public method to get the debugger filters for a programming language. |
|
2365 </p> |
|
2366 <dl> |
|
2367 |
|
2368 <dt><i>language</i> (str)</dt> |
|
2369 <dd> |
|
2370 programming language |
|
2371 </dd> |
|
2372 </dl> |
|
2373 <dl> |
|
2374 <dt>Return:</dt> |
|
2375 <dd> |
|
2376 filter string |
|
2377 </dd> |
|
2378 </dl> |
|
2379 <dl> |
|
2380 <dt>Return Type:</dt> |
|
2381 <dd> |
|
2382 str |
|
2383 </dd> |
|
2384 </dl> |
|
2385 <a NAME="Project.getDefaultRccCompilerParameters" ID="Project.getDefaultRccCompilerParameters"></a> |
|
2386 <h4>Project.getDefaultRccCompilerParameters</h4> |
|
2387 <b>getDefaultRccCompilerParameters</b>(<i></i>) |
|
2388 |
|
2389 <p> |
|
2390 Public method to get the default rcc compiler parameters. |
|
2391 </p> |
|
2392 <dl> |
|
2393 <dt>Return:</dt> |
|
2394 <dd> |
|
2395 dictionary containing the default rcc compiler parameters |
|
2396 </dd> |
|
2397 </dl> |
|
2398 <dl> |
|
2399 <dt>Return Type:</dt> |
|
2400 <dd> |
|
2401 dict |
|
2402 </dd> |
|
2403 </dl> |
|
2404 <a NAME="Project.getDefaultSourceExtension" ID="Project.getDefaultSourceExtension"></a> |
|
2405 <h4>Project.getDefaultSourceExtension</h4> |
|
2406 <b>getDefaultSourceExtension</b>(<i></i>) |
|
2407 |
|
2408 <p> |
|
2409 Public method to get the default extension for the project's |
|
2410 programming language. |
|
2411 </p> |
|
2412 <dl> |
|
2413 <dt>Return:</dt> |
|
2414 <dd> |
|
2415 default extension (including the dot) (string) |
|
2416 </dd> |
|
2417 </dl> |
|
2418 <a NAME="Project.getDocstringType" ID="Project.getDocstringType"></a> |
|
2419 <h4>Project.getDocstringType</h4> |
|
2420 <b>getDocstringType</b>(<i></i>) |
|
2421 |
|
2422 <p> |
|
2423 Public method to get the configured docstring style. |
|
2424 </p> |
|
2425 <dl> |
|
2426 <dt>Return:</dt> |
|
2427 <dd> |
|
2428 configured docstring style |
|
2429 </dd> |
|
2430 </dl> |
|
2431 <dl> |
|
2432 <dt>Return Type:</dt> |
|
2433 <dd> |
|
2434 str |
|
2435 </dd> |
|
2436 </dl> |
|
2437 <a NAME="Project.getEditorLexerAssoc" ID="Project.getEditorLexerAssoc"></a> |
|
2438 <h4>Project.getEditorLexerAssoc</h4> |
|
2439 <b>getEditorLexerAssoc</b>(<i>filename</i>) |
|
2440 |
|
2441 <p> |
|
2442 Public method to retrieve a lexer association. |
|
2443 </p> |
|
2444 <dl> |
|
2445 |
|
2446 <dt><i>filename</i></dt> |
|
2447 <dd> |
|
2448 filename used to determine the associated lexer |
|
2449 language (string) |
|
2450 </dd> |
|
2451 </dl> |
|
2452 <dl> |
|
2453 <dt>Return:</dt> |
|
2454 <dd> |
|
2455 the requested lexer language (string) |
|
2456 </dd> |
|
2457 </dl> |
|
2458 <a NAME="Project.getEolString" ID="Project.getEolString"></a> |
|
2459 <h4>Project.getEolString</h4> |
|
2460 <b>getEolString</b>(<i></i>) |
|
2461 |
|
2462 <p> |
|
2463 Public method to get the EOL-string to be used by the project. |
|
2464 </p> |
|
2465 <dl> |
|
2466 <dt>Return:</dt> |
|
2467 <dd> |
|
2468 eol string (string) |
|
2469 </dd> |
|
2470 </dl> |
|
2471 <a NAME="Project.getFiles" ID="Project.getFiles"></a> |
|
2472 <h4>Project.getFiles</h4> |
|
2473 <b>getFiles</b>(<i>start</i>) |
|
2474 |
|
2475 <p> |
|
2476 Public method to get all files starting with a common prefix. |
|
2477 </p> |
|
2478 <dl> |
|
2479 |
|
2480 <dt><i>start</i></dt> |
|
2481 <dd> |
|
2482 prefix (string) |
|
2483 </dd> |
|
2484 </dl> |
|
2485 <dl> |
|
2486 <dt>Return:</dt> |
|
2487 <dd> |
|
2488 list of files starting with a common prefix (list of strings) |
|
2489 </dd> |
|
2490 </dl> |
|
2491 <a NAME="Project.getFiletypeAssociations" ID="Project.getFiletypeAssociations"></a> |
|
2492 <h4>Project.getFiletypeAssociations</h4> |
|
2493 <b>getFiletypeAssociations</b>(<i>associationType</i>) |
|
2494 |
|
2495 <p> |
|
2496 Public method to get the list of file type associations for |
|
2497 the given association type. |
|
2498 </p> |
|
2499 <dl> |
|
2500 |
|
2501 <dt><i>associationType</i> (str)</dt> |
|
2502 <dd> |
|
2503 type of the association (one of FORMS, |
|
2504 INTERFACES, OTHERS, PROTOCOLS, RESOURCES, SOURCES or |
|
2505 TRANSLATIONS) |
|
2506 </dd> |
|
2507 </dl> |
|
2508 <dl> |
|
2509 <dt>Return:</dt> |
|
2510 <dd> |
|
2511 list of file patterns for the given type |
|
2512 </dd> |
|
2513 </dl> |
|
2514 <dl> |
|
2515 <dt>Return Type:</dt> |
|
2516 <dd> |
|
2517 list of str |
|
2518 </dd> |
|
2519 </dl> |
|
2520 <a NAME="Project.getHash" ID="Project.getHash"></a> |
|
2521 <h4>Project.getHash</h4> |
|
2522 <b>getHash</b>(<i></i>) |
|
2523 |
|
2524 <p> |
|
2525 Public method to get the project hash. |
|
2526 </p> |
|
2527 <dl> |
|
2528 <dt>Return:</dt> |
|
2529 <dd> |
|
2530 project hash as a hex string (string) |
|
2531 </dd> |
|
2532 </dl> |
|
2533 <a NAME="Project.getMainScript" ID="Project.getMainScript"></a> |
|
2534 <h4>Project.getMainScript</h4> |
|
2535 <b>getMainScript</b>(<i>normalized=False</i>) |
|
2536 |
|
2537 <p> |
|
2538 Public method to return the main script filename. |
|
2539 </p> |
|
2540 <dl> |
|
2541 |
|
2542 <dt><i>normalized</i></dt> |
|
2543 <dd> |
|
2544 flag indicating a normalized filename is wanted |
|
2545 (boolean) |
|
2546 </dd> |
|
2547 </dl> |
|
2548 <dl> |
|
2549 <dt>Return:</dt> |
|
2550 <dd> |
|
2551 filename of the projects main script (string) |
|
2552 </dd> |
|
2553 </dl> |
|
2554 <a NAME="Project.getMenu" ID="Project.getMenu"></a> |
|
2555 <h4>Project.getMenu</h4> |
|
2556 <b>getMenu</b>(<i>menuName</i>) |
|
2557 |
|
2558 <p> |
|
2559 Public method to get a reference to the main menu or a submenu. |
|
2560 </p> |
|
2561 <dl> |
|
2562 |
|
2563 <dt><i>menuName</i></dt> |
|
2564 <dd> |
|
2565 name of the menu (string) |
|
2566 </dd> |
|
2567 </dl> |
|
2568 <dl> |
|
2569 <dt>Return:</dt> |
|
2570 <dd> |
|
2571 reference to the requested menu (QMenu) or None |
|
2572 </dd> |
|
2573 </dl> |
|
2574 <a NAME="Project.getModel" ID="Project.getModel"></a> |
|
2575 <h4>Project.getModel</h4> |
|
2576 <b>getModel</b>(<i></i>) |
|
2577 |
|
2578 <p> |
|
2579 Public method to get a reference to the project browser model. |
|
2580 </p> |
|
2581 <dl> |
|
2582 <dt>Return:</dt> |
|
2583 <dd> |
|
2584 reference to the project browser model (ProjectBrowserModel) |
|
2585 </dd> |
|
2586 </dl> |
|
2587 <a NAME="Project.getMostRecent" ID="Project.getMostRecent"></a> |
|
2588 <h4>Project.getMostRecent</h4> |
|
2589 <b>getMostRecent</b>(<i></i>) |
|
2590 |
|
2591 <p> |
|
2592 Public method to get the most recently opened project. |
|
2593 </p> |
|
2594 <dl> |
|
2595 <dt>Return:</dt> |
|
2596 <dd> |
|
2597 path of the most recently opened project (string) |
|
2598 </dd> |
|
2599 </dl> |
|
2600 <a NAME="Project.getProgrammingLanguages" ID="Project.getProgrammingLanguages"></a> |
|
2601 <h4>Project.getProgrammingLanguages</h4> |
|
2602 <b>getProgrammingLanguages</b>(<i></i>) |
|
2603 |
|
2604 <p> |
|
2605 Public method to get the programming languages supported by project. |
|
2606 </p> |
|
2607 <dl> |
|
2608 <dt>Return:</dt> |
|
2609 <dd> |
|
2610 list of supported programming languages (list of string) |
|
2611 </dd> |
|
2612 </dl> |
|
2613 <a NAME="Project.getProjectAuthor" ID="Project.getProjectAuthor"></a> |
|
2614 <h4>Project.getProjectAuthor</h4> |
|
2615 <b>getProjectAuthor</b>(<i></i>) |
|
2616 |
|
2617 <p> |
|
2618 Public method to get the author of the project. |
|
2619 </p> |
|
2620 <dl> |
|
2621 <dt>Return:</dt> |
|
2622 <dd> |
|
2623 author name |
|
2624 </dd> |
|
2625 </dl> |
|
2626 <dl> |
|
2627 <dt>Return Type:</dt> |
|
2628 <dd> |
|
2629 str |
|
2630 </dd> |
|
2631 </dl> |
|
2632 <a NAME="Project.getProjectAuthorEmail" ID="Project.getProjectAuthorEmail"></a> |
|
2633 <h4>Project.getProjectAuthorEmail</h4> |
|
2634 <b>getProjectAuthorEmail</b>(<i></i>) |
|
2635 |
|
2636 <p> |
|
2637 Public method to get the email address of the project author. |
|
2638 </p> |
|
2639 <dl> |
|
2640 <dt>Return:</dt> |
|
2641 <dd> |
|
2642 project author email |
|
2643 </dd> |
|
2644 </dl> |
|
2645 <dl> |
|
2646 <dt>Return Type:</dt> |
|
2647 <dd> |
|
2648 str |
|
2649 </dd> |
|
2650 </dl> |
|
2651 <a NAME="Project.getProjectDescription" ID="Project.getProjectDescription"></a> |
|
2652 <h4>Project.getProjectDescription</h4> |
|
2653 <b>getProjectDescription</b>(<i></i>) |
|
2654 |
|
2655 <p> |
|
2656 Public method to get the description of the project. |
|
2657 </p> |
|
2658 <dl> |
|
2659 <dt>Return:</dt> |
|
2660 <dd> |
|
2661 project description |
|
2662 </dd> |
|
2663 </dl> |
|
2664 <dl> |
|
2665 <dt>Return Type:</dt> |
|
2666 <dd> |
|
2667 str |
|
2668 </dd> |
|
2669 </dl> |
|
2670 <a NAME="Project.getProjectDictionaries" ID="Project.getProjectDictionaries"></a> |
|
2671 <h4>Project.getProjectDictionaries</h4> |
|
2672 <b>getProjectDictionaries</b>(<i></i>) |
|
2673 |
|
2674 <p> |
|
2675 Public method to get the names of the project specific dictionaries. |
|
2676 </p> |
|
2677 <dl> |
|
2678 <dt>Return:</dt> |
|
2679 <dd> |
|
2680 tuple of two strings giving the absolute path names of the |
|
2681 project specific word and exclude list |
|
2682 </dd> |
|
2683 </dl> |
|
2684 <a NAME="Project.getProjectFile" ID="Project.getProjectFile"></a> |
|
2685 <h4>Project.getProjectFile</h4> |
|
2686 <b>getProjectFile</b>(<i></i>) |
|
2687 |
|
2688 <p> |
|
2689 Public method to get the path of the project file. |
|
2690 </p> |
|
2691 <dl> |
|
2692 <dt>Return:</dt> |
|
2693 <dd> |
|
2694 path of the project file (string) |
|
2695 </dd> |
|
2696 </dl> |
|
2697 <a NAME="Project.getProjectFiles" ID="Project.getProjectFiles"></a> |
|
2698 <h4>Project.getProjectFiles</h4> |
|
2699 <b>getProjectFiles</b>(<i>fileType, normalized=False</i>) |
|
2700 |
|
2701 <p> |
|
2702 Public method to get the file entries of the given type. |
|
2703 </p> |
|
2704 <dl> |
|
2705 |
|
2706 <dt><i>fileType</i> (str)</dt> |
|
2707 <dd> |
|
2708 project file type (one of SOURCES, FORMS, RESOURCES, |
|
2709 INTERFACES, PROTOCOLS, OTHERS, TRANSLATIONS) |
|
2710 </dd> |
|
2711 <dt><i>normalized</i> (boolean)</dt> |
|
2712 <dd> |
|
2713 flag indicating normalized file names are wanted |
|
2714 </dd> |
|
2715 </dl> |
|
2716 <dl> |
|
2717 <dt>Return:</dt> |
|
2718 <dd> |
|
2719 list of file names |
|
2720 </dd> |
|
2721 </dl> |
|
2722 <dl> |
|
2723 <dt>Return Type:</dt> |
|
2724 <dd> |
|
2725 list of str |
|
2726 </dd> |
|
2727 </dl> |
|
2728 <dl> |
|
2729 |
|
2730 <dt>Raises <b>ValueError</b>:</dt> |
|
2731 <dd> |
|
2732 raised when an unsupported file type is given |
|
2733 </dd> |
|
2734 </dl> |
|
2735 <a NAME="Project.getProjectLanguage" ID="Project.getProjectLanguage"></a> |
|
2736 <h4>Project.getProjectLanguage</h4> |
|
2737 <b>getProjectLanguage</b>(<i></i>) |
|
2738 |
|
2739 <p> |
|
2740 Public method to get the project's programming language. |
|
2741 </p> |
|
2742 <dl> |
|
2743 <dt>Return:</dt> |
|
2744 <dd> |
|
2745 programming language (string) |
|
2746 </dd> |
|
2747 </dl> |
|
2748 <a NAME="Project.getProjectManagementDir" ID="Project.getProjectManagementDir"></a> |
|
2749 <h4>Project.getProjectManagementDir</h4> |
|
2750 <b>getProjectManagementDir</b>(<i></i>) |
|
2751 |
|
2752 <p> |
|
2753 Public method to get the path of the management directory. |
|
2754 </p> |
|
2755 <dl> |
|
2756 <dt>Return:</dt> |
|
2757 <dd> |
|
2758 path of the management directory (string) |
|
2759 </dd> |
|
2760 </dl> |
|
2761 <a NAME="Project.getProjectName" ID="Project.getProjectName"></a> |
|
2762 <h4>Project.getProjectName</h4> |
|
2763 <b>getProjectName</b>(<i></i>) |
|
2764 |
|
2765 <p> |
|
2766 Public method to get the name of the project. |
|
2767 </p> |
|
2768 <p> |
|
2769 The project name is determined from the name of the project file. |
|
2770 </p> |
|
2771 <dl> |
|
2772 <dt>Return:</dt> |
|
2773 <dd> |
|
2774 name of the project (string) |
|
2775 </dd> |
|
2776 </dl> |
|
2777 <a NAME="Project.getProjectPath" ID="Project.getProjectPath"></a> |
|
2778 <h4>Project.getProjectPath</h4> |
|
2779 <b>getProjectPath</b>(<i></i>) |
|
2780 |
|
2781 <p> |
|
2782 Public method to get the project path. |
|
2783 </p> |
|
2784 <dl> |
|
2785 <dt>Return:</dt> |
|
2786 <dd> |
|
2787 project path (string) |
|
2788 </dd> |
|
2789 </dl> |
|
2790 <a NAME="Project.getProjectSpellLanguage" ID="Project.getProjectSpellLanguage"></a> |
|
2791 <h4>Project.getProjectSpellLanguage</h4> |
|
2792 <b>getProjectSpellLanguage</b>(<i></i>) |
|
2793 |
|
2794 <p> |
|
2795 Public method to get the project's programming language. |
|
2796 </p> |
|
2797 <dl> |
|
2798 <dt>Return:</dt> |
|
2799 <dd> |
|
2800 programming language (string) |
|
2801 </dd> |
|
2802 </dl> |
|
2803 <a NAME="Project.getProjectType" ID="Project.getProjectType"></a> |
|
2804 <h4>Project.getProjectType</h4> |
|
2805 <b>getProjectType</b>(<i></i>) |
|
2806 |
|
2807 <p> |
|
2808 Public method to get the type of the project. |
|
2809 </p> |
|
2810 <dl> |
|
2811 <dt>Return:</dt> |
|
2812 <dd> |
|
2813 UI type of the project (string) |
|
2814 </dd> |
|
2815 </dl> |
|
2816 <a NAME="Project.getProjectTypes" ID="Project.getProjectTypes"></a> |
|
2817 <h4>Project.getProjectTypes</h4> |
|
2818 <b>getProjectTypes</b>(<i>progLanguage=""</i>) |
|
2819 |
|
2820 <p> |
|
2821 Public method to get the list of supported project types. |
|
2822 </p> |
|
2823 <dl> |
|
2824 |
|
2825 <dt><i>progLanguage</i></dt> |
|
2826 <dd> |
|
2827 programming language to get project types for |
|
2828 (string) |
|
2829 </dd> |
|
2830 </dl> |
|
2831 <dl> |
|
2832 <dt>Return:</dt> |
|
2833 <dd> |
|
2834 reference to the dictionary of project types. |
|
2835 </dd> |
|
2836 </dl> |
|
2837 <a NAME="Project.getProjectVersion" ID="Project.getProjectVersion"></a> |
|
2838 <h4>Project.getProjectVersion</h4> |
|
2839 <b>getProjectVersion</b>(<i></i>) |
|
2840 |
|
2841 <p> |
|
2842 Public mehod to get the version number of the project. |
|
2843 </p> |
|
2844 <dl> |
|
2845 <dt>Return:</dt> |
|
2846 <dd> |
|
2847 version number |
|
2848 </dd> |
|
2849 </dl> |
|
2850 <dl> |
|
2851 <dt>Return Type:</dt> |
|
2852 <dd> |
|
2853 str |
|
2854 </dd> |
|
2855 </dl> |
|
2856 <a NAME="Project.getRelativePath" ID="Project.getRelativePath"></a> |
|
2857 <h4>Project.getRelativePath</h4> |
|
2858 <b>getRelativePath</b>(<i>path</i>) |
|
2859 |
|
2860 <p> |
|
2861 Public method to convert a file path to a project relative |
|
2862 file path. |
|
2863 </p> |
|
2864 <dl> |
|
2865 |
|
2866 <dt><i>path</i></dt> |
|
2867 <dd> |
|
2868 file or directory name to convert (string) |
|
2869 </dd> |
|
2870 </dl> |
|
2871 <dl> |
|
2872 <dt>Return:</dt> |
|
2873 <dd> |
|
2874 project relative path or unchanged path, if path doesn't |
|
2875 belong to the project (string) |
|
2876 </dd> |
|
2877 </dl> |
|
2878 <a NAME="Project.getRelativeUniversalPath" ID="Project.getRelativeUniversalPath"></a> |
|
2879 <h4>Project.getRelativeUniversalPath</h4> |
|
2880 <b>getRelativeUniversalPath</b>(<i>path</i>) |
|
2881 |
|
2882 <p> |
|
2883 Public method to convert a file path to a project relative |
|
2884 file path with universal separators. |
|
2885 </p> |
|
2886 <dl> |
|
2887 |
|
2888 <dt><i>path</i></dt> |
|
2889 <dd> |
|
2890 file or directory name to convert (string) |
|
2891 </dd> |
|
2892 </dl> |
|
2893 <dl> |
|
2894 <dt>Return:</dt> |
|
2895 <dd> |
|
2896 project relative path or unchanged path, if path doesn't |
|
2897 belong to the project (string) |
|
2898 </dd> |
|
2899 </dl> |
|
2900 <a NAME="Project.getSources" ID="Project.getSources"></a> |
|
2901 <h4>Project.getSources</h4> |
|
2902 <b>getSources</b>(<i>normalized=False</i>) |
|
2903 |
|
2904 <p> |
|
2905 Public method to return the source script files. |
|
2906 </p> |
|
2907 <dl> |
|
2908 |
|
2909 <dt><i>normalized</i></dt> |
|
2910 <dd> |
|
2911 flag indicating a normalized filename is wanted |
|
2912 (boolean) |
|
2913 </dd> |
|
2914 </dl> |
|
2915 <dl> |
|
2916 <dt>Return:</dt> |
|
2917 <dd> |
|
2918 list of the projects scripts (list of string) |
|
2919 </dd> |
|
2920 </dl> |
|
2921 <a NAME="Project.getStatusMonitorAutoUpdate" ID="Project.getStatusMonitorAutoUpdate"></a> |
|
2922 <h4>Project.getStatusMonitorAutoUpdate</h4> |
|
2923 <b>getStatusMonitorAutoUpdate</b>(<i></i>) |
|
2924 |
|
2925 <p> |
|
2926 Public method to retrieve the status of the auto update function. |
|
2927 </p> |
|
2928 <dl> |
|
2929 <dt>Return:</dt> |
|
2930 <dd> |
|
2931 status of the auto update function (boolean) |
|
2932 </dd> |
|
2933 </dl> |
|
2934 <a NAME="Project.getStatusMonitorInterval" ID="Project.getStatusMonitorInterval"></a> |
|
2935 <h4>Project.getStatusMonitorInterval</h4> |
|
2936 <b>getStatusMonitorInterval</b>(<i></i>) |
|
2937 |
|
2938 <p> |
|
2939 Public method to get the monitor interval. |
|
2940 </p> |
|
2941 <dl> |
|
2942 <dt>Return:</dt> |
|
2943 <dd> |
|
2944 interval in seconds (integer) |
|
2945 </dd> |
|
2946 </dl> |
|
2947 <a NAME="Project.getTranslationPattern" ID="Project.getTranslationPattern"></a> |
|
2948 <h4>Project.getTranslationPattern</h4> |
|
2949 <b>getTranslationPattern</b>(<i></i>) |
|
2950 |
|
2951 <p> |
|
2952 Public method to get the translation pattern. |
|
2953 </p> |
|
2954 <dl> |
|
2955 <dt>Return:</dt> |
|
2956 <dd> |
|
2957 translation pattern (string) |
|
2958 </dd> |
|
2959 </dl> |
|
2960 <a NAME="Project.getUicParameter" ID="Project.getUicParameter"></a> |
|
2961 <h4>Project.getUicParameter</h4> |
|
2962 <b>getUicParameter</b>(<i>name</i>) |
|
2963 |
|
2964 <p> |
|
2965 Public method to get a named uic related parameter. |
|
2966 </p> |
|
2967 <dl> |
|
2968 |
|
2969 <dt><i>name</i> (str)</dt> |
|
2970 <dd> |
|
2971 name of the parameter |
|
2972 </dd> |
|
2973 </dl> |
|
2974 <dl> |
|
2975 <dt>Return:</dt> |
|
2976 <dd> |
|
2977 value of the given parameter |
|
2978 </dd> |
|
2979 </dl> |
|
2980 <dl> |
|
2981 <dt>Return Type:</dt> |
|
2982 <dd> |
|
2983 any, None in case on non-existence |
|
2984 </dd> |
|
2985 </dl> |
|
2986 <a NAME="Project.getVcs" ID="Project.getVcs"></a> |
|
2987 <h4>Project.getVcs</h4> |
|
2988 <b>getVcs</b>(<i></i>) |
|
2989 |
|
2990 <p> |
|
2991 Public method to get a reference to the VCS object. |
|
2992 </p> |
|
2993 <dl> |
|
2994 <dt>Return:</dt> |
|
2995 <dd> |
|
2996 reference to the VCS object |
|
2997 </dd> |
|
2998 </dl> |
|
2999 <a NAME="Project.handleApplicationDiagram" ID="Project.handleApplicationDiagram"></a> |
|
3000 <h4>Project.handleApplicationDiagram</h4> |
|
3001 <b>handleApplicationDiagram</b>(<i></i>) |
|
3002 |
|
3003 <p> |
|
3004 Public method to handle the application diagram context menu action. |
|
3005 </p> |
|
3006 <a NAME="Project.handlePreferencesChanged" ID="Project.handlePreferencesChanged"></a> |
|
3007 <h4>Project.handlePreferencesChanged</h4> |
|
3008 <b>handlePreferencesChanged</b>(<i></i>) |
|
3009 |
|
3010 <p> |
|
3011 Public slot used to handle the preferencesChanged signal. |
|
3012 </p> |
|
3013 <a NAME="Project.hasDefaultDocstringParameter" ID="Project.hasDefaultDocstringParameter"></a> |
|
3014 <h4>Project.hasDefaultDocstringParameter</h4> |
|
3015 <b>hasDefaultDocstringParameter</b>(<i></i>) |
|
3016 |
|
3017 <p> |
|
3018 Public method to test, if the project contains the default docstring |
|
3019 parameter. |
|
3020 </p> |
|
3021 <dl> |
|
3022 <dt>Return:</dt> |
|
3023 <dd> |
|
3024 flag indicating default parameter |
|
3025 </dd> |
|
3026 </dl> |
|
3027 <dl> |
|
3028 <dt>Return Type:</dt> |
|
3029 <dd> |
|
3030 bool |
|
3031 </dd> |
|
3032 </dl> |
|
3033 <a NAME="Project.hasDefaultIdlCompilerParameters" ID="Project.hasDefaultIdlCompilerParameters"></a> |
|
3034 <h4>Project.hasDefaultIdlCompilerParameters</h4> |
|
3035 <b>hasDefaultIdlCompilerParameters</b>(<i></i>) |
|
3036 |
|
3037 <p> |
|
3038 Public method to test, if the project contains the default IDL compiler |
|
3039 parameters. |
|
3040 </p> |
|
3041 <dl> |
|
3042 <dt>Return:</dt> |
|
3043 <dd> |
|
3044 flag indicating default parameter set |
|
3045 </dd> |
|
3046 </dl> |
|
3047 <dl> |
|
3048 <dt>Return Type:</dt> |
|
3049 <dd> |
|
3050 bool |
|
3051 </dd> |
|
3052 </dl> |
|
3053 <a NAME="Project.hasDefaultMakeParameters" ID="Project.hasDefaultMakeParameters"></a> |
|
3054 <h4>Project.hasDefaultMakeParameters</h4> |
|
3055 <b>hasDefaultMakeParameters</b>(<i></i>) |
|
3056 |
|
3057 <p> |
|
3058 Public method to test, if the project contains the default make |
|
3059 parameters. |
|
3060 </p> |
|
3061 <dl> |
|
3062 <dt>Return:</dt> |
|
3063 <dd> |
|
3064 flag indicating default parameter set |
|
3065 </dd> |
|
3066 </dl> |
|
3067 <dl> |
|
3068 <dt>Return Type:</dt> |
|
3069 <dd> |
|
3070 bool |
|
3071 </dd> |
|
3072 </dl> |
|
3073 <a NAME="Project.hasDefaultRccCompilerParameters" ID="Project.hasDefaultRccCompilerParameters"></a> |
|
3074 <h4>Project.hasDefaultRccCompilerParameters</h4> |
|
3075 <b>hasDefaultRccCompilerParameters</b>(<i></i>) |
|
3076 |
|
3077 <p> |
|
3078 Public method to test, if the project contains the default rcc compiler |
|
3079 parameters. |
|
3080 </p> |
|
3081 <dl> |
|
3082 <dt>Return:</dt> |
|
3083 <dd> |
|
3084 flag indicating default parameter set |
|
3085 </dd> |
|
3086 </dl> |
|
3087 <dl> |
|
3088 <dt>Return Type:</dt> |
|
3089 <dd> |
|
3090 bool |
|
3091 </dd> |
|
3092 </dl> |
|
3093 <a NAME="Project.hasDefaultUicCompilerParameters" ID="Project.hasDefaultUicCompilerParameters"></a> |
|
3094 <h4>Project.hasDefaultUicCompilerParameters</h4> |
|
3095 <b>hasDefaultUicCompilerParameters</b>(<i></i>) |
|
3096 |
|
3097 <p> |
|
3098 Public method to test, if the project contains the default uic compiler |
|
3099 parameters. |
|
3100 </p> |
|
3101 <dl> |
|
3102 <dt>Return:</dt> |
|
3103 <dd> |
|
3104 flag indicating default parameter set |
|
3105 </dd> |
|
3106 </dl> |
|
3107 <dl> |
|
3108 <dt>Return Type:</dt> |
|
3109 <dd> |
|
3110 bool |
|
3111 </dd> |
|
3112 </dl> |
|
3113 <a NAME="Project.hasEntry" ID="Project.hasEntry"></a> |
|
3114 <h4>Project.hasEntry</h4> |
|
3115 <b>hasEntry</b>(<i>fn</i>) |
|
3116 |
|
3117 <p> |
|
3118 Public method to check the project for a file. |
|
3119 </p> |
|
3120 <dl> |
|
3121 |
|
3122 <dt><i>fn</i></dt> |
|
3123 <dd> |
|
3124 filename to be checked (string) |
|
3125 </dd> |
|
3126 </dl> |
|
3127 <dl> |
|
3128 <dt>Return:</dt> |
|
3129 <dd> |
|
3130 flag indicating, if the project contains the file (boolean) |
|
3131 </dd> |
|
3132 </dl> |
|
3133 <a NAME="Project.hasProjectType" ID="Project.hasProjectType"></a> |
|
3134 <h4>Project.hasProjectType</h4> |
|
3135 <b>hasProjectType</b>(<i>type_, progLanguage=""</i>) |
|
3136 |
|
3137 <p> |
|
3138 Public method to check, if a project type is already registered. |
|
3139 </p> |
|
3140 <dl> |
|
3141 |
|
3142 <dt><i>type_</i></dt> |
|
3143 <dd> |
|
3144 internal type designator (string) |
|
3145 </dd> |
|
3146 <dt><i>progLanguage</i></dt> |
|
3147 <dd> |
|
3148 programming language of the project type (string) |
|
3149 </dd> |
|
3150 </dl> |
|
3151 <dl> |
|
3152 <dt>Return:</dt> |
|
3153 <dd> |
|
3154 flag indicating presence of the project type (boolean) |
|
3155 </dd> |
|
3156 </dl> |
|
3157 <a NAME="Project.initActions" ID="Project.initActions"></a> |
|
3158 <h4>Project.initActions</h4> |
|
3159 <b>initActions</b>(<i></i>) |
|
3160 |
|
3161 <p> |
|
3162 Public slot to initialize the project related actions. |
|
3163 </p> |
|
3164 <a NAME="Project.initFileTypes" ID="Project.initFileTypes"></a> |
|
3165 <h4>Project.initFileTypes</h4> |
|
3166 <b>initFileTypes</b>(<i></i>) |
|
3167 |
|
3168 <p> |
|
3169 Public method to initialize the filetype associations with default |
|
3170 values. |
|
3171 </p> |
|
3172 <a NAME="Project.initMenus" ID="Project.initMenus"></a> |
|
3173 <h4>Project.initMenus</h4> |
|
3174 <b>initMenus</b>(<i></i>) |
|
3175 |
|
3176 <p> |
|
3177 Public slot to initialize the project menus. |
|
3178 </p> |
|
3179 <dl> |
|
3180 <dt>Return:</dt> |
|
3181 <dd> |
|
3182 tuple of generated menus |
|
3183 </dd> |
|
3184 </dl> |
|
3185 <dl> |
|
3186 <dt>Return Type:</dt> |
|
3187 <dd> |
|
3188 tuple of (QMenu, QMenu) |
|
3189 </dd> |
|
3190 </dl> |
|
3191 <a NAME="Project.initToolbars" ID="Project.initToolbars"></a> |
|
3192 <h4>Project.initToolbars</h4> |
|
3193 <b>initToolbars</b>(<i>toolbarManager</i>) |
|
3194 |
|
3195 <p> |
|
3196 Public slot to initialize the project toolbar and the basic VCS |
|
3197 toolbar. |
|
3198 </p> |
|
3199 <dl> |
|
3200 |
|
3201 <dt><i>toolbarManager</i></dt> |
|
3202 <dd> |
|
3203 reference to a toolbar manager object |
|
3204 (EricToolBarManager) |
|
3205 </dd> |
|
3206 </dl> |
|
3207 <dl> |
|
3208 <dt>Return:</dt> |
|
3209 <dd> |
|
3210 tuple of the generated toolbars (tuple of two QToolBar) |
|
3211 </dd> |
|
3212 </dl> |
|
3213 <a NAME="Project.initVCS" ID="Project.initVCS"></a> |
|
3214 <h4>Project.initVCS</h4> |
|
3215 <b>initVCS</b>(<i>vcsSystem=None, nooverride=False</i>) |
|
3216 |
|
3217 <p> |
|
3218 Public method used to instantiate a vcs system. |
|
3219 </p> |
|
3220 <dl> |
|
3221 |
|
3222 <dt><i>vcsSystem</i></dt> |
|
3223 <dd> |
|
3224 type of VCS to be used (string) |
|
3225 </dd> |
|
3226 <dt><i>nooverride</i></dt> |
|
3227 <dd> |
|
3228 flag indicating to ignore an override request |
|
3229 (boolean) |
|
3230 </dd> |
|
3231 </dl> |
|
3232 <dl> |
|
3233 <dt>Return:</dt> |
|
3234 <dd> |
|
3235 a reference to the vcs object |
|
3236 </dd> |
|
3237 </dl> |
|
3238 <a NAME="Project.isDebugPropertiesLoaded" ID="Project.isDebugPropertiesLoaded"></a> |
|
3239 <h4>Project.isDebugPropertiesLoaded</h4> |
|
3240 <b>isDebugPropertiesLoaded</b>(<i></i>) |
|
3241 |
|
3242 <p> |
|
3243 Public method to return the status of the debug properties. |
|
3244 </p> |
|
3245 <dl> |
|
3246 <dt>Return:</dt> |
|
3247 <dd> |
|
3248 load status of debug properties (boolean) |
|
3249 </dd> |
|
3250 </dl> |
|
3251 <a NAME="Project.isDirty" ID="Project.isDirty"></a> |
|
3252 <h4>Project.isDirty</h4> |
|
3253 <b>isDirty</b>(<i></i>) |
|
3254 |
|
3255 <p> |
|
3256 Public method to return the dirty state. |
|
3257 </p> |
|
3258 <dl> |
|
3259 <dt>Return:</dt> |
|
3260 <dd> |
|
3261 dirty state (boolean) |
|
3262 </dd> |
|
3263 </dl> |
|
3264 <a NAME="Project.isJavaScriptProject" ID="Project.isJavaScriptProject"></a> |
|
3265 <h4>Project.isJavaScriptProject</h4> |
|
3266 <b>isJavaScriptProject</b>(<i></i>) |
|
3267 |
|
3268 <p> |
|
3269 Public method to check, if this project is a JavaScript project. |
|
3270 </p> |
|
3271 <dl> |
|
3272 <dt>Return:</dt> |
|
3273 <dd> |
|
3274 flag indicating a JavaScript project (boolean) |
|
3275 </dd> |
|
3276 </dl> |
|
3277 <a NAME="Project.isMakeEnabled" ID="Project.isMakeEnabled"></a> |
|
3278 <h4>Project.isMakeEnabled</h4> |
|
3279 <b>isMakeEnabled</b>(<i></i>) |
|
3280 |
|
3281 <p> |
|
3282 Public method to test, if make is enabled for the project. |
|
3283 </p> |
|
3284 <dl> |
|
3285 <dt>Return:</dt> |
|
3286 <dd> |
|
3287 flag indicating enabled make support |
|
3288 </dd> |
|
3289 </dl> |
|
3290 <dl> |
|
3291 <dt>Return Type:</dt> |
|
3292 <dd> |
|
3293 bool |
|
3294 </dd> |
|
3295 </dl> |
|
3296 <a NAME="Project.isMicroPythonProject" ID="Project.isMicroPythonProject"></a> |
|
3297 <h4>Project.isMicroPythonProject</h4> |
|
3298 <b>isMicroPythonProject</b>(<i></i>) |
|
3299 |
|
3300 <p> |
|
3301 Public method to check, if this project is a MicroPython project. |
|
3302 </p> |
|
3303 <dl> |
|
3304 <dt>Return:</dt> |
|
3305 <dd> |
|
3306 flag indicating a MicroPython project |
|
3307 </dd> |
|
3308 </dl> |
|
3309 <dl> |
|
3310 <dt>Return Type:</dt> |
|
3311 <dd> |
|
3312 bool |
|
3313 </dd> |
|
3314 </dl> |
|
3315 <a NAME="Project.isMixedLanguageProject" ID="Project.isMixedLanguageProject"></a> |
|
3316 <h4>Project.isMixedLanguageProject</h4> |
|
3317 <b>isMixedLanguageProject</b>(<i></i>) |
|
3318 |
|
3319 <p> |
|
3320 Public method to check, if this is a mixed language project. |
|
3321 </p> |
|
3322 <dl> |
|
3323 <dt>Return:</dt> |
|
3324 <dd> |
|
3325 flag indicating a mixed language project |
|
3326 </dd> |
|
3327 </dl> |
|
3328 <dl> |
|
3329 <dt>Return Type:</dt> |
|
3330 <dd> |
|
3331 bool |
|
3332 </dd> |
|
3333 </dl> |
|
3334 <a NAME="Project.isOpen" ID="Project.isOpen"></a> |
|
3335 <h4>Project.isOpen</h4> |
|
3336 <b>isOpen</b>(<i></i>) |
|
3337 |
|
3338 <p> |
|
3339 Public method to return the opened state. |
|
3340 </p> |
|
3341 <dl> |
|
3342 <dt>Return:</dt> |
|
3343 <dd> |
|
3344 open state (boolean) |
|
3345 </dd> |
|
3346 </dl> |
|
3347 <a NAME="Project.isProjectFile" ID="Project.isProjectFile"></a> |
|
3348 <h4>Project.isProjectFile</h4> |
|
3349 <b>isProjectFile</b>(<i>fn</i>) |
|
3350 |
|
3351 <p> |
|
3352 Public method used to check, if the passed in filename belongs to the |
|
3353 project. |
|
3354 </p> |
|
3355 <dl> |
|
3356 |
|
3357 <dt><i>fn</i></dt> |
|
3358 <dd> |
|
3359 filename to be checked (string) |
|
3360 </dd> |
|
3361 </dl> |
|
3362 <dl> |
|
3363 <dt>Return:</dt> |
|
3364 <dd> |
|
3365 flag indicating membership (boolean) |
|
3366 </dd> |
|
3367 </dl> |
|
3368 <a NAME="Project.isProjectForm" ID="Project.isProjectForm"></a> |
|
3369 <h4>Project.isProjectForm</h4> |
|
3370 <b>isProjectForm</b>(<i>fn</i>) |
|
3371 |
|
3372 <p> |
|
3373 Public method used to check, if the passed in filename belongs to the |
|
3374 project forms. |
|
3375 </p> |
|
3376 <dl> |
|
3377 |
|
3378 <dt><i>fn</i></dt> |
|
3379 <dd> |
|
3380 filename to be checked (string) |
|
3381 </dd> |
|
3382 </dl> |
|
3383 <dl> |
|
3384 <dt>Return:</dt> |
|
3385 <dd> |
|
3386 flag indicating membership (boolean) |
|
3387 </dd> |
|
3388 </dl> |
|
3389 <a NAME="Project.isProjectInterface" ID="Project.isProjectInterface"></a> |
|
3390 <h4>Project.isProjectInterface</h4> |
|
3391 <b>isProjectInterface</b>(<i>fn</i>) |
|
3392 |
|
3393 <p> |
|
3394 Public method used to check, if the passed in filename belongs to the |
|
3395 project interfaces. |
|
3396 </p> |
|
3397 <dl> |
|
3398 |
|
3399 <dt><i>fn</i></dt> |
|
3400 <dd> |
|
3401 filename to be checked (string) |
|
3402 </dd> |
|
3403 </dl> |
|
3404 <dl> |
|
3405 <dt>Return:</dt> |
|
3406 <dd> |
|
3407 flag indicating membership (boolean) |
|
3408 </dd> |
|
3409 </dl> |
|
3410 <a NAME="Project.isProjectProtocol" ID="Project.isProjectProtocol"></a> |
|
3411 <h4>Project.isProjectProtocol</h4> |
|
3412 <b>isProjectProtocol</b>(<i>fn</i>) |
|
3413 |
|
3414 <p> |
|
3415 Public method used to check, if the passed in filename belongs to the |
|
3416 project protocols. |
|
3417 </p> |
|
3418 <dl> |
|
3419 |
|
3420 <dt><i>fn</i> (str)</dt> |
|
3421 <dd> |
|
3422 filename to be checked |
|
3423 </dd> |
|
3424 </dl> |
|
3425 <dl> |
|
3426 <dt>Return:</dt> |
|
3427 <dd> |
|
3428 flag indicating membership |
|
3429 </dd> |
|
3430 </dl> |
|
3431 <dl> |
|
3432 <dt>Return Type:</dt> |
|
3433 <dd> |
|
3434 bool |
|
3435 </dd> |
|
3436 </dl> |
|
3437 <a NAME="Project.isProjectResource" ID="Project.isProjectResource"></a> |
|
3438 <h4>Project.isProjectResource</h4> |
|
3439 <b>isProjectResource</b>(<i>fn</i>) |
|
3440 |
|
3441 <p> |
|
3442 Public method used to check, if the passed in filename belongs to the |
|
3443 project resources. |
|
3444 </p> |
|
3445 <dl> |
|
3446 |
|
3447 <dt><i>fn</i></dt> |
|
3448 <dd> |
|
3449 filename to be checked (string) |
|
3450 </dd> |
|
3451 </dl> |
|
3452 <dl> |
|
3453 <dt>Return:</dt> |
|
3454 <dd> |
|
3455 flag indicating membership (boolean) |
|
3456 </dd> |
|
3457 </dl> |
|
3458 <a NAME="Project.isProjectSource" ID="Project.isProjectSource"></a> |
|
3459 <h4>Project.isProjectSource</h4> |
|
3460 <b>isProjectSource</b>(<i>fn</i>) |
|
3461 |
|
3462 <p> |
|
3463 Public method used to check, if the passed in filename belongs to the |
|
3464 project sources. |
|
3465 </p> |
|
3466 <dl> |
|
3467 |
|
3468 <dt><i>fn</i></dt> |
|
3469 <dd> |
|
3470 filename to be checked (string) |
|
3471 </dd> |
|
3472 </dl> |
|
3473 <dl> |
|
3474 <dt>Return:</dt> |
|
3475 <dd> |
|
3476 flag indicating membership (boolean) |
|
3477 </dd> |
|
3478 </dl> |
|
3479 <a NAME="Project.isPy3Project" ID="Project.isPy3Project"></a> |
|
3480 <h4>Project.isPy3Project</h4> |
|
3481 <b>isPy3Project</b>(<i></i>) |
|
3482 |
|
3483 <p> |
|
3484 Public method to check, if this project is a Python3 project. |
|
3485 </p> |
|
3486 <dl> |
|
3487 <dt>Return:</dt> |
|
3488 <dd> |
|
3489 flag indicating a Python3 project (boolean) |
|
3490 </dd> |
|
3491 </dl> |
|
3492 <a NAME="Project.isPythonProject" ID="Project.isPythonProject"></a> |
|
3493 <h4>Project.isPythonProject</h4> |
|
3494 <b>isPythonProject</b>(<i></i>) |
|
3495 |
|
3496 <p> |
|
3497 Public method to check, if this project is a Python3 or MicroPython |
|
3498 project. |
|
3499 </p> |
|
3500 <dl> |
|
3501 <dt>Return:</dt> |
|
3502 <dd> |
|
3503 flag indicating a Python project (boolean) |
|
3504 </dd> |
|
3505 </dl> |
|
3506 <a NAME="Project.isRubyProject" ID="Project.isRubyProject"></a> |
|
3507 <h4>Project.isRubyProject</h4> |
|
3508 <b>isRubyProject</b>(<i></i>) |
|
3509 |
|
3510 <p> |
|
3511 Public method to check, if this project is a Ruby project. |
|
3512 </p> |
|
3513 <dl> |
|
3514 <dt>Return:</dt> |
|
3515 <dd> |
|
3516 flag indicating a Ruby project (boolean) |
|
3517 </dd> |
|
3518 </dl> |
|
3519 <a NAME="Project.moveDirectory" ID="Project.moveDirectory"></a> |
|
3520 <h4>Project.moveDirectory</h4> |
|
3521 <b>moveDirectory</b>(<i>olddn, newdn</i>) |
|
3522 |
|
3523 <p> |
|
3524 Public slot to move a directory. |
|
3525 </p> |
|
3526 <dl> |
|
3527 |
|
3528 <dt><i>olddn</i></dt> |
|
3529 <dd> |
|
3530 old directory name (string) |
|
3531 </dd> |
|
3532 <dt><i>newdn</i></dt> |
|
3533 <dd> |
|
3534 new directory name (string) |
|
3535 </dd> |
|
3536 </dl> |
|
3537 <a NAME="Project.newProjectAddFiles" ID="Project.newProjectAddFiles"></a> |
|
3538 <h4>Project.newProjectAddFiles</h4> |
|
3539 <b>newProjectAddFiles</b>(<i>mainscript</i>) |
|
3540 |
|
3541 <p> |
|
3542 Public method to add files to a new project. |
|
3543 </p> |
|
3544 <dl> |
|
3545 |
|
3546 <dt><i>mainscript</i></dt> |
|
3547 <dd> |
|
3548 name of the mainscript (string) |
|
3549 </dd> |
|
3550 </dl> |
|
3551 <a NAME="Project.openProject" ID="Project.openProject"></a> |
|
3552 <h4>Project.openProject</h4> |
|
3553 <b>openProject</b>(<i>fn=None, restoreSession=True, reopen=False</i>) |
|
3554 |
|
3555 <p> |
|
3556 Public slot to open a project. |
|
3557 </p> |
|
3558 <dl> |
|
3559 |
|
3560 <dt><i>fn</i></dt> |
|
3561 <dd> |
|
3562 optional filename of the project file to be read |
|
3563 </dd> |
|
3564 <dt><i>restoreSession</i></dt> |
|
3565 <dd> |
|
3566 flag indicating to restore the project |
|
3567 session (boolean) |
|
3568 </dd> |
|
3569 <dt><i>reopen</i></dt> |
|
3570 <dd> |
|
3571 flag indicating a reopening of the project (boolean) |
|
3572 </dd> |
|
3573 </dl> |
|
3574 <a NAME="Project.othersAdded" ID="Project.othersAdded"></a> |
|
3575 <h4>Project.othersAdded</h4> |
|
3576 <b>othersAdded</b>(<i>fn, updateModel=True</i>) |
|
3577 |
|
3578 <p> |
|
3579 Public slot to be called, if something was added to the OTHERS project |
|
3580 data area. |
|
3581 </p> |
|
3582 <dl> |
|
3583 |
|
3584 <dt><i>fn</i></dt> |
|
3585 <dd> |
|
3586 filename or directory name added (string) |
|
3587 </dd> |
|
3588 <dt><i>updateModel</i></dt> |
|
3589 <dd> |
|
3590 flag indicating an update of the model is requested |
|
3591 (boolean) |
|
3592 </dd> |
|
3593 </dl> |
|
3594 <a NAME="Project.registerProjectType" ID="Project.registerProjectType"></a> |
|
3595 <h4>Project.registerProjectType</h4> |
|
3596 <b>registerProjectType</b>(<i>type_, description, fileTypeCallback=None, binaryTranslationsCallback=None, lexerAssociationCallback=None, progLanguages=None</i>) |
|
3597 |
|
3598 <p> |
|
3599 Public method to register a project type. |
|
3600 </p> |
|
3601 <dl> |
|
3602 |
|
3603 <dt><i>type_</i></dt> |
|
3604 <dd> |
|
3605 internal type designator to be registered (string) |
|
3606 </dd> |
|
3607 <dt><i>description</i></dt> |
|
3608 <dd> |
|
3609 more verbose type name (display string) (string) |
|
3610 </dd> |
|
3611 <dt><i>fileTypeCallback</i></dt> |
|
3612 <dd> |
|
3613 reference to a method returning a dictionary |
|
3614 of filetype associations. |
|
3615 </dd> |
|
3616 <dt><i>binaryTranslationsCallback</i></dt> |
|
3617 <dd> |
|
3618 reference to a method returning |
|
3619 the name of the binary translation file given the name of the raw |
|
3620 translation file |
|
3621 </dd> |
|
3622 <dt><i>lexerAssociationCallback</i></dt> |
|
3623 <dd> |
|
3624 reference to a method returning the |
|
3625 lexer type to be used for syntax highlighting given the name of |
|
3626 a file |
|
3627 </dd> |
|
3628 <dt><i>progLanguages</i></dt> |
|
3629 <dd> |
|
3630 programming languages supported by the |
|
3631 project type (list of string) |
|
3632 </dd> |
|
3633 </dl> |
|
3634 <a NAME="Project.removeDirectory" ID="Project.removeDirectory"></a> |
|
3635 <h4>Project.removeDirectory</h4> |
|
3636 <b>removeDirectory</b>(<i>dn</i>) |
|
3637 |
|
3638 <p> |
|
3639 Public method to remove a directory from the project. |
|
3640 </p> |
|
3641 <p> |
|
3642 The directory is not deleted from the project directory. |
|
3643 </p> |
|
3644 <dl> |
|
3645 |
|
3646 <dt><i>dn</i></dt> |
|
3647 <dd> |
|
3648 directory name to be removed from the project |
|
3649 </dd> |
|
3650 </dl> |
|
3651 <a NAME="Project.removeEricActions" ID="Project.removeEricActions"></a> |
|
3652 <h4>Project.removeEricActions</h4> |
|
3653 <b>removeEricActions</b>(<i>actions</i>) |
|
3654 |
|
3655 <p> |
|
3656 Public method to remove actions from the list of actions. |
|
3657 </p> |
|
3658 <dl> |
|
3659 |
|
3660 <dt><i>actions</i></dt> |
|
3661 <dd> |
|
3662 list of actions (list of EricAction) |
|
3663 </dd> |
|
3664 </dl> |
|
3665 <a NAME="Project.removeFile" ID="Project.removeFile"></a> |
|
3666 <h4>Project.removeFile</h4> |
|
3667 <b>removeFile</b>(<i>fn, updateModel=True</i>) |
|
3668 |
|
3669 <p> |
|
3670 Public slot to remove a file from the project. |
|
3671 </p> |
|
3672 <p> |
|
3673 The file is not deleted from the project directory. |
|
3674 </p> |
|
3675 <dl> |
|
3676 |
|
3677 <dt><i>fn</i></dt> |
|
3678 <dd> |
|
3679 filename to be removed from the project |
|
3680 </dd> |
|
3681 <dt><i>updateModel</i></dt> |
|
3682 <dd> |
|
3683 flag indicating an update of the model is |
|
3684 requested (boolean) |
|
3685 </dd> |
|
3686 </dl> |
|
3687 <a NAME="Project.removeLanguageFile" ID="Project.removeLanguageFile"></a> |
|
3688 <h4>Project.removeLanguageFile</h4> |
|
3689 <b>removeLanguageFile</b>(<i>langFile</i>) |
|
3690 |
|
3691 <p> |
|
3692 Public slot to remove a translation from the project. |
|
3693 </p> |
|
3694 <p> |
|
3695 The translation file is not deleted from the project directory. |
|
3696 </p> |
|
3697 <dl> |
|
3698 |
|
3699 <dt><i>langFile</i></dt> |
|
3700 <dd> |
|
3701 the translation file to be removed (string) |
|
3702 </dd> |
|
3703 </dl> |
|
3704 <a NAME="Project.renameFile" ID="Project.renameFile"></a> |
|
3705 <h4>Project.renameFile</h4> |
|
3706 <b>renameFile</b>(<i>oldfn, newfn=None</i>) |
|
3707 |
|
3708 <p> |
|
3709 Public slot to rename a file of the project. |
|
3710 </p> |
|
3711 <dl> |
|
3712 |
|
3713 <dt><i>oldfn</i></dt> |
|
3714 <dd> |
|
3715 old filename of the file (string) |
|
3716 </dd> |
|
3717 <dt><i>newfn</i></dt> |
|
3718 <dd> |
|
3719 new filename of the file (string) |
|
3720 </dd> |
|
3721 </dl> |
|
3722 <dl> |
|
3723 <dt>Return:</dt> |
|
3724 <dd> |
|
3725 flag indicating success |
|
3726 </dd> |
|
3727 </dl> |
|
3728 <a NAME="Project.renameFileInPdata" ID="Project.renameFileInPdata"></a> |
|
3729 <h4>Project.renameFileInPdata</h4> |
|
3730 <b>renameFileInPdata</b>(<i>oldname, newname, isSourceFile=False</i>) |
|
3731 |
|
3732 <p> |
|
3733 Public method to rename a file in the pdata structure. |
|
3734 </p> |
|
3735 <dl> |
|
3736 |
|
3737 <dt><i>oldname</i></dt> |
|
3738 <dd> |
|
3739 old filename (string) |
|
3740 </dd> |
|
3741 <dt><i>newname</i></dt> |
|
3742 <dd> |
|
3743 new filename (string) |
|
3744 </dd> |
|
3745 <dt><i>isSourceFile</i></dt> |
|
3746 <dd> |
|
3747 flag indicating that this is a source file |
|
3748 even if it doesn't have the source extension (boolean) |
|
3749 </dd> |
|
3750 </dl> |
|
3751 <a NAME="Project.renameMainScript" ID="Project.renameMainScript"></a> |
|
3752 <h4>Project.renameMainScript</h4> |
|
3753 <b>renameMainScript</b>(<i>oldfn, newfn</i>) |
|
3754 |
|
3755 <p> |
|
3756 Public method to rename the main script. |
|
3757 </p> |
|
3758 <dl> |
|
3759 |
|
3760 <dt><i>oldfn</i></dt> |
|
3761 <dd> |
|
3762 old filename (string) |
|
3763 </dd> |
|
3764 <dt><i>newfn</i></dt> |
|
3765 <dd> |
|
3766 new filename of the main script (string) |
|
3767 </dd> |
|
3768 </dl> |
|
3769 <a NAME="Project.reopenProject" ID="Project.reopenProject"></a> |
|
3770 <h4>Project.reopenProject</h4> |
|
3771 <b>reopenProject</b>(<i></i>) |
|
3772 |
|
3773 <p> |
|
3774 Public slot to reopen the current project. |
|
3775 </p> |
|
3776 <a NAME="Project.repopulateItem" ID="Project.repopulateItem"></a> |
|
3777 <h4>Project.repopulateItem</h4> |
|
3778 <b>repopulateItem</b>(<i>fullname</i>) |
|
3779 |
|
3780 <p> |
|
3781 Public slot to repopulate a named item. |
|
3782 </p> |
|
3783 <dl> |
|
3784 |
|
3785 <dt><i>fullname</i></dt> |
|
3786 <dd> |
|
3787 full name of the item to repopulate (string) |
|
3788 </dd> |
|
3789 </dl> |
|
3790 <a NAME="Project.resetVCS" ID="Project.resetVCS"></a> |
|
3791 <h4>Project.resetVCS</h4> |
|
3792 <b>resetVCS</b>(<i></i>) |
|
3793 |
|
3794 <p> |
|
3795 Public method to reset the VCS. |
|
3796 </p> |
|
3797 <a NAME="Project.saveAllScripts" ID="Project.saveAllScripts"></a> |
|
3798 <h4>Project.saveAllScripts</h4> |
|
3799 <b>saveAllScripts</b>(<i>reportSyntaxErrors=False</i>) |
|
3800 |
|
3801 <p> |
|
3802 Public method to save all scripts belonging to the project. |
|
3803 </p> |
|
3804 <dl> |
|
3805 |
|
3806 <dt><i>reportSyntaxErrors</i></dt> |
|
3807 <dd> |
|
3808 flag indicating special reporting |
|
3809 for syntax errors (boolean) |
|
3810 </dd> |
|
3811 </dl> |
|
3812 <dl> |
|
3813 <dt>Return:</dt> |
|
3814 <dd> |
|
3815 flag indicating success (boolean) |
|
3816 </dd> |
|
3817 </dl> |
|
3818 <a NAME="Project.saveProject" ID="Project.saveProject"></a> |
|
3819 <h4>Project.saveProject</h4> |
|
3820 <b>saveProject</b>(<i></i>) |
|
3821 |
|
3822 <p> |
|
3823 Public slot to save the current project. |
|
3824 </p> |
|
3825 <dl> |
|
3826 <dt>Return:</dt> |
|
3827 <dd> |
|
3828 flag indicating success |
|
3829 </dd> |
|
3830 </dl> |
|
3831 <a NAME="Project.saveProjectAs" ID="Project.saveProjectAs"></a> |
|
3832 <h4>Project.saveProjectAs</h4> |
|
3833 <b>saveProjectAs</b>(<i></i>) |
|
3834 |
|
3835 <p> |
|
3836 Public slot to save the current project to a different file. |
|
3837 </p> |
|
3838 <dl> |
|
3839 <dt>Return:</dt> |
|
3840 <dd> |
|
3841 flag indicating success (boolean) |
|
3842 </dd> |
|
3843 </dl> |
|
3844 <a NAME="Project.setData" ID="Project.setData"></a> |
|
3845 <h4>Project.setData</h4> |
|
3846 <b>setData</b>(<i>category, key, data</i>) |
|
3847 |
|
3848 <p> |
|
3849 Public method to store data in the project data store. |
|
3850 </p> |
|
3851 <dl> |
|
3852 |
|
3853 <dt><i>category</i></dt> |
|
3854 <dd> |
|
3855 category of the data to get (string, one of |
|
3856 PROJECTTYPESPECIFICDATA, CHECKERSPARMS, PACKAGERSPARMS, |
|
3857 DOCUMENTATIONPARMS or OTHERTOOLSPARMS) |
|
3858 </dd> |
|
3859 <dt><i>key</i></dt> |
|
3860 <dd> |
|
3861 key of the data entry to get (string). |
|
3862 </dd> |
|
3863 <dt><i>data</i></dt> |
|
3864 <dd> |
|
3865 data to be stored |
|
3866 </dd> |
|
3867 </dl> |
|
3868 <dl> |
|
3869 <dt>Return:</dt> |
|
3870 <dd> |
|
3871 flag indicating success (boolean) |
|
3872 </dd> |
|
3873 </dl> |
|
3874 <a NAME="Project.setDbgInfo" ID="Project.setDbgInfo"></a> |
|
3875 <h4>Project.setDbgInfo</h4> |
|
3876 <b>setDbgInfo</b>(<i>venvName, argv, wd, env, excReporting, excList, excIgnoreList, autoClearShell, tracePython=None, autoContinue=None, enableMultiprocess=None, multiprocessNoDebug=None, configOverride=None</i>) |
|
3877 |
|
3878 <p> |
|
3879 Public method to set the debugging information. |
|
3880 </p> |
|
3881 <dl> |
|
3882 |
|
3883 <dt><i>venvName</i> (str)</dt> |
|
3884 <dd> |
|
3885 name of the virtual environment used |
|
3886 </dd> |
|
3887 <dt><i>argv</i> (str)</dt> |
|
3888 <dd> |
|
3889 command line arguments to be used |
|
3890 </dd> |
|
3891 <dt><i>wd</i> (str)</dt> |
|
3892 <dd> |
|
3893 working directory |
|
3894 </dd> |
|
3895 <dt><i>env</i> (str)</dt> |
|
3896 <dd> |
|
3897 environment setting |
|
3898 </dd> |
|
3899 <dt><i>excReporting</i> (bool)</dt> |
|
3900 <dd> |
|
3901 flag indicating the highlighting of exceptions |
|
3902 </dd> |
|
3903 <dt><i>excList</i> (list of str)</dt> |
|
3904 <dd> |
|
3905 list of exceptions to be highlighted |
|
3906 </dd> |
|
3907 <dt><i>excIgnoreList</i> (list of str)</dt> |
|
3908 <dd> |
|
3909 list of exceptions to be ignored |
|
3910 </dd> |
|
3911 <dt><i>autoClearShell</i> (bool)</dt> |
|
3912 <dd> |
|
3913 flag indicating, that the interpreter window |
|
3914 should be cleared |
|
3915 </dd> |
|
3916 <dt><i>tracePython</i> (bool)</dt> |
|
3917 <dd> |
|
3918 flag to indicate if the Python library should be |
|
3919 traced as well |
|
3920 </dd> |
|
3921 <dt><i>autoContinue</i> (bool)</dt> |
|
3922 <dd> |
|
3923 flag indicating, that the debugger should not |
|
3924 stop at the first executable line |
|
3925 </dd> |
|
3926 <dt><i>enableMultiprocess</i> (bool)</dt> |
|
3927 <dd> |
|
3928 flag indicating, that the debugger should |
|
3929 run in multi process mode |
|
3930 </dd> |
|
3931 <dt><i>multiprocessNoDebug</i> (str)</dt> |
|
3932 <dd> |
|
3933 list of programs not to be debugged in |
|
3934 multi process mode |
|
3935 </dd> |
|
3936 <dt><i>configOverride</i> (dict)</dt> |
|
3937 <dd> |
|
3938 dictionary containing the global config override |
|
3939 data |
|
3940 </dd> |
|
3941 </dl> |
|
3942 <a NAME="Project.setDirty" ID="Project.setDirty"></a> |
|
3943 <h4>Project.setDirty</h4> |
|
3944 <b>setDirty</b>(<i>dirty</i>) |
|
3945 |
|
3946 <p> |
|
3947 Public method to set the dirty state. |
|
3948 </p> |
|
3949 <p> |
|
3950 It emits the signal dirty(bool). |
|
3951 </p> |
|
3952 <dl> |
|
3953 |
|
3954 <dt><i>dirty</i> (bool)</dt> |
|
3955 <dd> |
|
3956 dirty state |
|
3957 </dd> |
|
3958 </dl> |
|
3959 <a NAME="Project.setStatusMonitorAutoUpdate" ID="Project.setStatusMonitorAutoUpdate"></a> |
|
3960 <h4>Project.setStatusMonitorAutoUpdate</h4> |
|
3961 <b>setStatusMonitorAutoUpdate</b>(<i>auto</i>) |
|
3962 |
|
3963 <p> |
|
3964 Public method to enable the auto update function. |
|
3965 </p> |
|
3966 <dl> |
|
3967 |
|
3968 <dt><i>auto</i></dt> |
|
3969 <dd> |
|
3970 status of the auto update function (boolean) |
|
3971 </dd> |
|
3972 </dl> |
|
3973 <a NAME="Project.setStatusMonitorInterval" ID="Project.setStatusMonitorInterval"></a> |
|
3974 <h4>Project.setStatusMonitorInterval</h4> |
|
3975 <b>setStatusMonitorInterval</b>(<i>interval</i>) |
|
3976 |
|
3977 <p> |
|
3978 Public method to se the interval of the VCS status monitor thread. |
|
3979 </p> |
|
3980 <dl> |
|
3981 |
|
3982 <dt><i>interval</i></dt> |
|
3983 <dd> |
|
3984 status monitor interval in seconds (integer) |
|
3985 </dd> |
|
3986 </dl> |
|
3987 <a NAME="Project.setTranslationPattern" ID="Project.setTranslationPattern"></a> |
|
3988 <h4>Project.setTranslationPattern</h4> |
|
3989 <b>setTranslationPattern</b>(<i>pattern</i>) |
|
3990 |
|
3991 <p> |
|
3992 Public method to set the translation pattern. |
|
3993 </p> |
|
3994 <dl> |
|
3995 |
|
3996 <dt><i>pattern</i> (str)</dt> |
|
3997 <dd> |
|
3998 translation pattern |
|
3999 </dd> |
|
4000 </dl> |
|
4001 <a NAME="Project.startFileSystemMonitoring" ID="Project.startFileSystemMonitoring"></a> |
|
4002 <h4>Project.startFileSystemMonitoring</h4> |
|
4003 <b>startFileSystemMonitoring</b>(<i></i>) |
|
4004 |
|
4005 <p> |
|
4006 Public method to (re)start monitoring the project file system. |
|
4007 </p> |
|
4008 <a NAME="Project.startStatusMonitor" ID="Project.startStatusMonitor"></a> |
|
4009 <h4>Project.startStatusMonitor</h4> |
|
4010 <b>startStatusMonitor</b>(<i></i>) |
|
4011 |
|
4012 <p> |
|
4013 Public method to start the VCS status monitor thread. |
|
4014 </p> |
|
4015 <a NAME="Project.startswithProjectPath" ID="Project.startswithProjectPath"></a> |
|
4016 <h4>Project.startswithProjectPath</h4> |
|
4017 <b>startswithProjectPath</b>(<i>path</i>) |
|
4018 |
|
4019 <p> |
|
4020 Public method to check, if a path starts with the project path. |
|
4021 </p> |
|
4022 <dl> |
|
4023 |
|
4024 <dt><i>path</i> (str)</dt> |
|
4025 <dd> |
|
4026 path to be checked |
|
4027 </dd> |
|
4028 </dl> |
|
4029 <dl> |
|
4030 <dt>Return:</dt> |
|
4031 <dd> |
|
4032 flag indicating that the path starts with the project path |
|
4033 </dd> |
|
4034 </dl> |
|
4035 <dl> |
|
4036 <dt>Return Type:</dt> |
|
4037 <dd> |
|
4038 bool |
|
4039 </dd> |
|
4040 </dl> |
|
4041 <a NAME="Project.stopFileSystemMonitoring" ID="Project.stopFileSystemMonitoring"></a> |
|
4042 <h4>Project.stopFileSystemMonitoring</h4> |
|
4043 <b>stopFileSystemMonitoring</b>(<i></i>) |
|
4044 |
|
4045 <p> |
|
4046 Public method to stop monitoring the project file system. |
|
4047 </p> |
|
4048 <a NAME="Project.stopStatusMonitor" ID="Project.stopStatusMonitor"></a> |
|
4049 <h4>Project.stopStatusMonitor</h4> |
|
4050 <b>stopStatusMonitor</b>(<i></i>) |
|
4051 |
|
4052 <p> |
|
4053 Public method to stop the VCS status monitor thread. |
|
4054 </p> |
|
4055 <a NAME="Project.unregisterProjectType" ID="Project.unregisterProjectType"></a> |
|
4056 <h4>Project.unregisterProjectType</h4> |
|
4057 <b>unregisterProjectType</b>(<i>type_</i>) |
|
4058 |
|
4059 <p> |
|
4060 Public method to unregister a project type. |
|
4061 </p> |
|
4062 <dl> |
|
4063 |
|
4064 <dt><i>type_</i></dt> |
|
4065 <dd> |
|
4066 internal type designator to be unregistered (string) |
|
4067 </dd> |
|
4068 </dl> |
|
4069 <a NAME="Project.updateFileTypes" ID="Project.updateFileTypes"></a> |
|
4070 <h4>Project.updateFileTypes</h4> |
|
4071 <b>updateFileTypes</b>(<i></i>) |
|
4072 |
|
4073 <p> |
|
4074 Public method to update the filetype associations with new default |
|
4075 values. |
|
4076 </p> |
|
4077 <a NAME="Project.useSystemEol" ID="Project.useSystemEol"></a> |
|
4078 <h4>Project.useSystemEol</h4> |
|
4079 <b>useSystemEol</b>(<i></i>) |
|
4080 |
|
4081 <p> |
|
4082 Public method to check, if the project uses the system eol setting. |
|
4083 </p> |
|
4084 <dl> |
|
4085 <dt>Return:</dt> |
|
4086 <dd> |
|
4087 flag indicating the usage of system eol (boolean) |
|
4088 </dd> |
|
4089 </dl> |
|
4090 <a NAME="Project.vcsSoftwareAvailable" ID="Project.vcsSoftwareAvailable"></a> |
|
4091 <h4>Project.vcsSoftwareAvailable</h4> |
|
4092 <b>vcsSoftwareAvailable</b>(<i></i>) |
|
4093 |
|
4094 <p> |
|
4095 Public method to check, if some supported VCS software is available |
|
4096 to the IDE. |
|
4097 </p> |
|
4098 <dl> |
|
4099 <dt>Return:</dt> |
|
4100 <dd> |
|
4101 flag indicating availability of VCS software (boolean) |
|
4102 </dd> |
|
4103 </dl> |
|
4104 <a NAME="Project.writeTasks" ID="Project.writeTasks"></a> |
|
4105 <h4>Project.writeTasks</h4> |
|
4106 <b>writeTasks</b>(<i></i>) |
|
4107 |
|
4108 <p> |
|
4109 Public method to write the tasks data to a JSON file (.etj). |
|
4110 </p> |
|
4111 <div align="right"><a href="#top">Up</a></div> |
|
4112 <hr /> |
|
4113 </body></html> |