src/eric7/Documentation/Source/eric7.Project.ProjectSourcesBrowser.html

branch
eric7
changeset 10479
856476537696
parent 10430
e440aaf179ce
child 10784
521fd465b048
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.Project.ProjectSourcesBrowser</h1> 9 <h1>eric7.Project.ProjectSourcesBrowser</h1>
10
11 <p> 10 <p>
12 Module implementing a class used to display the Sources part of the project. 11 Module implementing a class used to display the Sources part of the project.
13 </p> 12 </p>
13
14 <h3>Global Attributes</h3> 14 <h3>Global Attributes</h3>
15
16 <table> 15 <table>
17 <tr><td>None</td></tr> 16 <tr><td>None</td></tr>
18 </table> 17 </table>
18
19 <h3>Classes</h3> 19 <h3>Classes</h3>
20 20 <table>
21 <table>
22
23 <tr> 21 <tr>
24 <td><a href="#ProjectSourcesBrowser">ProjectSourcesBrowser</a></td> 22 <td><a href="#ProjectSourcesBrowser">ProjectSourcesBrowser</a></td>
25 <td>A class used to display the Sources part of the project.</td> 23 <td>A class used to display the Sources part of the project.</td>
26 </tr> 24 </tr>
27 </table> 25 </table>
26
28 <h3>Functions</h3> 27 <h3>Functions</h3>
29
30 <table> 28 <table>
31 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
32 </table> 30 </table>
31
33 <hr /> 32 <hr />
34 <hr /> 33 <hr />
35 <a NAME="ProjectSourcesBrowser" ID="ProjectSourcesBrowser"></a> 34 <a NAME="ProjectSourcesBrowser" ID="ProjectSourcesBrowser"></a>
36 <h2>ProjectSourcesBrowser</h2> 35 <h2>ProjectSourcesBrowser</h2>
37
38 <p> 36 <p>
39 A class used to display the Sources part of the project. 37 A class used to display the Sources part of the project.
40 </p> 38 </p>
39
41 <h3>Signals</h3> 40 <h3>Signals</h3>
42 <dl> 41 <dl>
43 42
44 <dt>showMenu(str, QMenu)</dt> 43 <dt>showMenu(str, QMenu)</dt>
45 <dd> 44 <dd>
48 </dd> 47 </dd>
49 </dl> 48 </dl>
50 <h3>Derived from</h3> 49 <h3>Derived from</h3>
51 ProjectBaseBrowser 50 ProjectBaseBrowser
52 <h3>Class Attributes</h3> 51 <h3>Class Attributes</h3>
53
54 <table> 52 <table>
55 <tr><td>None</td></tr> 53 <tr><td>None</td></tr>
56 </table> 54 </table>
55
57 <h3>Class Methods</h3> 56 <h3>Class Methods</h3>
58
59 <table> 57 <table>
60 <tr><td>None</td></tr> 58 <tr><td>None</td></tr>
61 </table> 59 </table>
60
62 <h3>Methods</h3> 61 <h3>Methods</h3>
63 62 <table>
64 <table>
65
66 <tr> 63 <tr>
67 <td><a href="#ProjectSourcesBrowser.__init__">ProjectSourcesBrowser</a></td> 64 <td><a href="#ProjectSourcesBrowser.__init__">ProjectSourcesBrowser</a></td>
68 <td>Constructor</td> 65 <td>Constructor</td>
69 </tr> 66 </tr>
70 <tr> 67 <tr>
214 <tr> 211 <tr>
215 <td><a href="#ProjectSourcesBrowser.getIcon">getIcon</a></td> 212 <td><a href="#ProjectSourcesBrowser.getIcon">getIcon</a></td>
216 <td>Public method to get an icon for the project browser.</td> 213 <td>Public method to get an icon for the project browser.</td>
217 </tr> 214 </tr>
218 </table> 215 </table>
216
219 <h3>Static Methods</h3> 217 <h3>Static Methods</h3>
220
221 <table> 218 <table>
222 <tr><td>None</td></tr> 219 <tr><td>None</td></tr>
223 </table> 220 </table>
221
224 222
225 <a NAME="ProjectSourcesBrowser.__init__" ID="ProjectSourcesBrowser.__init__"></a> 223 <a NAME="ProjectSourcesBrowser.__init__" ID="ProjectSourcesBrowser.__init__"></a>
226 <h4>ProjectSourcesBrowser (Constructor)</h4> 224 <h4>ProjectSourcesBrowser (Constructor)</h4>
227 <b>ProjectSourcesBrowser</b>(<i>project, projectBrowser, parent=None</i>) 225 <b>ProjectSourcesBrowser</b>(<i>project, projectBrowser, parent=None</i>)
228
229 <p> 226 <p>
230 Constructor 227 Constructor
231 </p> 228 </p>
229
232 <dl> 230 <dl>
233 231
234 <dt><i>project</i> (Project)</dt> 232 <dt><i>project</i> (Project)</dt>
235 <dd> 233 <dd>
236 reference to the project object 234 reference to the project object
245 </dd> 243 </dd>
246 </dl> 244 </dl>
247 <a NAME="ProjectSourcesBrowser.__addNewPackage" ID="ProjectSourcesBrowser.__addNewPackage"></a> 245 <a NAME="ProjectSourcesBrowser.__addNewPackage" ID="ProjectSourcesBrowser.__addNewPackage"></a>
248 <h4>ProjectSourcesBrowser.__addNewPackage</h4> 246 <h4>ProjectSourcesBrowser.__addNewPackage</h4>
249 <b>__addNewPackage</b>(<i></i>) 247 <b>__addNewPackage</b>(<i></i>)
250
251 <p> 248 <p>
252 Private method to add a new package to the project. 249 Private method to add a new package to the project.
253 </p> 250 </p>
251
254 <a NAME="ProjectSourcesBrowser.__addNewSourceFile" ID="ProjectSourcesBrowser.__addNewSourceFile"></a> 252 <a NAME="ProjectSourcesBrowser.__addNewSourceFile" ID="ProjectSourcesBrowser.__addNewSourceFile"></a>
255 <h4>ProjectSourcesBrowser.__addNewSourceFile</h4> 253 <h4>ProjectSourcesBrowser.__addNewSourceFile</h4>
256 <b>__addNewSourceFile</b>(<i></i>) 254 <b>__addNewSourceFile</b>(<i></i>)
257
258 <p> 255 <p>
259 Private method to add a new source file to the project. 256 Private method to add a new source file to the project.
260 </p> 257 </p>
258
261 <a NAME="ProjectSourcesBrowser.__addSourceDirectory" ID="ProjectSourcesBrowser.__addSourceDirectory"></a> 259 <a NAME="ProjectSourcesBrowser.__addSourceDirectory" ID="ProjectSourcesBrowser.__addSourceDirectory"></a>
262 <h4>ProjectSourcesBrowser.__addSourceDirectory</h4> 260 <h4>ProjectSourcesBrowser.__addSourceDirectory</h4>
263 <b>__addSourceDirectory</b>(<i></i>) 261 <b>__addSourceDirectory</b>(<i></i>)
264
265 <p> 262 <p>
266 Private method to add source files of a directory to the project. 263 Private method to add source files of a directory to the project.
267 </p> 264 </p>
265
268 <a NAME="ProjectSourcesBrowser.__addSourceFiles" ID="ProjectSourcesBrowser.__addSourceFiles"></a> 266 <a NAME="ProjectSourcesBrowser.__addSourceFiles" ID="ProjectSourcesBrowser.__addSourceFiles"></a>
269 <h4>ProjectSourcesBrowser.__addSourceFiles</h4> 267 <h4>ProjectSourcesBrowser.__addSourceFiles</h4>
270 <b>__addSourceFiles</b>(<i></i>) 268 <b>__addSourceFiles</b>(<i></i>)
271
272 <p> 269 <p>
273 Private method to add a source file to the project. 270 Private method to add a source file to the project.
274 </p> 271 </p>
272
275 <a NAME="ProjectSourcesBrowser.__closeAllWindows" ID="ProjectSourcesBrowser.__closeAllWindows"></a> 273 <a NAME="ProjectSourcesBrowser.__closeAllWindows" ID="ProjectSourcesBrowser.__closeAllWindows"></a>
276 <h4>ProjectSourcesBrowser.__closeAllWindows</h4> 274 <h4>ProjectSourcesBrowser.__closeAllWindows</h4>
277 <b>__closeAllWindows</b>(<i></i>) 275 <b>__closeAllWindows</b>(<i></i>)
278
279 <p> 276 <p>
280 Private method to close all project related windows. 277 Private method to close all project related windows.
281 </p> 278 </p>
279
282 <a NAME="ProjectSourcesBrowser.__contextMenuCoverageScript" ID="ProjectSourcesBrowser.__contextMenuCoverageScript"></a> 280 <a NAME="ProjectSourcesBrowser.__contextMenuCoverageScript" ID="ProjectSourcesBrowser.__contextMenuCoverageScript"></a>
283 <h4>ProjectSourcesBrowser.__contextMenuCoverageScript</h4> 281 <h4>ProjectSourcesBrowser.__contextMenuCoverageScript</h4>
284 <b>__contextMenuCoverageScript</b>(<i></i>) 282 <b>__contextMenuCoverageScript</b>(<i></i>)
285
286 <p> 283 <p>
287 Private method to run a coverage test of the editor script. 284 Private method to run a coverage test of the editor script.
288 </p> 285 </p>
286
289 <a NAME="ProjectSourcesBrowser.__contextMenuDebugScript" ID="ProjectSourcesBrowser.__contextMenuDebugScript"></a> 287 <a NAME="ProjectSourcesBrowser.__contextMenuDebugScript" ID="ProjectSourcesBrowser.__contextMenuDebugScript"></a>
290 <h4>ProjectSourcesBrowser.__contextMenuDebugScript</h4> 288 <h4>ProjectSourcesBrowser.__contextMenuDebugScript</h4>
291 <b>__contextMenuDebugScript</b>(<i></i>) 289 <b>__contextMenuDebugScript</b>(<i></i>)
292
293 <p> 290 <p>
294 Private method to debug the editor script. 291 Private method to debug the editor script.
295 </p> 292 </p>
293
296 <a NAME="ProjectSourcesBrowser.__contextMenuProfileScript" ID="ProjectSourcesBrowser.__contextMenuProfileScript"></a> 294 <a NAME="ProjectSourcesBrowser.__contextMenuProfileScript" ID="ProjectSourcesBrowser.__contextMenuProfileScript"></a>
297 <h4>ProjectSourcesBrowser.__contextMenuProfileScript</h4> 295 <h4>ProjectSourcesBrowser.__contextMenuProfileScript</h4>
298 <b>__contextMenuProfileScript</b>(<i></i>) 296 <b>__contextMenuProfileScript</b>(<i></i>)
299
300 <p> 297 <p>
301 Private method to profile the editor script. 298 Private method to profile the editor script.
302 </p> 299 </p>
300
303 <a NAME="ProjectSourcesBrowser.__contextMenuRunScript" ID="ProjectSourcesBrowser.__contextMenuRunScript"></a> 301 <a NAME="ProjectSourcesBrowser.__contextMenuRunScript" ID="ProjectSourcesBrowser.__contextMenuRunScript"></a>
304 <h4>ProjectSourcesBrowser.__contextMenuRunScript</h4> 302 <h4>ProjectSourcesBrowser.__contextMenuRunScript</h4>
305 <b>__contextMenuRunScript</b>(<i></i>) 303 <b>__contextMenuRunScript</b>(<i></i>)
306
307 <p> 304 <p>
308 Private method to run the editor script. 305 Private method to run the editor script.
309 </p> 306 </p>
307
310 <a NAME="ProjectSourcesBrowser.__createJavaScriptPopupMenus" ID="ProjectSourcesBrowser.__createJavaScriptPopupMenus"></a> 308 <a NAME="ProjectSourcesBrowser.__createJavaScriptPopupMenus" ID="ProjectSourcesBrowser.__createJavaScriptPopupMenus"></a>
311 <h4>ProjectSourcesBrowser.__createJavaScriptPopupMenus</h4> 309 <h4>ProjectSourcesBrowser.__createJavaScriptPopupMenus</h4>
312 <b>__createJavaScriptPopupMenus</b>(<i></i>) 310 <b>__createJavaScriptPopupMenus</b>(<i></i>)
313
314 <p> 311 <p>
315 Private method to generate the popup menus for a Python project. 312 Private method to generate the popup menus for a Python project.
316 </p> 313 </p>
314
317 <a NAME="ProjectSourcesBrowser.__createPythonPopupMenus" ID="ProjectSourcesBrowser.__createPythonPopupMenus"></a> 315 <a NAME="ProjectSourcesBrowser.__createPythonPopupMenus" ID="ProjectSourcesBrowser.__createPythonPopupMenus"></a>
318 <h4>ProjectSourcesBrowser.__createPythonPopupMenus</h4> 316 <h4>ProjectSourcesBrowser.__createPythonPopupMenus</h4>
319 <b>__createPythonPopupMenus</b>(<i></i>) 317 <b>__createPythonPopupMenus</b>(<i></i>)
320
321 <p> 318 <p>
322 Private method to generate the popup menus for a Python project. 319 Private method to generate the popup menus for a Python project.
323 </p> 320 </p>
321
324 <a NAME="ProjectSourcesBrowser.__createRubyPopupMenus" ID="ProjectSourcesBrowser.__createRubyPopupMenus"></a> 322 <a NAME="ProjectSourcesBrowser.__createRubyPopupMenus" ID="ProjectSourcesBrowser.__createRubyPopupMenus"></a>
325 <h4>ProjectSourcesBrowser.__createRubyPopupMenus</h4> 323 <h4>ProjectSourcesBrowser.__createRubyPopupMenus</h4>
326 <b>__createRubyPopupMenus</b>(<i></i>) 324 <b>__createRubyPopupMenus</b>(<i></i>)
327
328 <p> 325 <p>
329 Private method to generate the popup menus for a Ruby project. 326 Private method to generate the popup menus for a Ruby project.
330 </p> 327 </p>
328
331 <a NAME="ProjectSourcesBrowser.__deleteFile" ID="ProjectSourcesBrowser.__deleteFile"></a> 329 <a NAME="ProjectSourcesBrowser.__deleteFile" ID="ProjectSourcesBrowser.__deleteFile"></a>
332 <h4>ProjectSourcesBrowser.__deleteFile</h4> 330 <h4>ProjectSourcesBrowser.__deleteFile</h4>
333 <b>__deleteFile</b>(<i></i>) 331 <b>__deleteFile</b>(<i></i>)
334
335 <p> 332 <p>
336 Private method to delete files from the project. 333 Private method to delete files from the project.
337 </p> 334 </p>
335
338 <a NAME="ProjectSourcesBrowser.__loadDiagram" ID="ProjectSourcesBrowser.__loadDiagram"></a> 336 <a NAME="ProjectSourcesBrowser.__loadDiagram" ID="ProjectSourcesBrowser.__loadDiagram"></a>
339 <h4>ProjectSourcesBrowser.__loadDiagram</h4> 337 <h4>ProjectSourcesBrowser.__loadDiagram</h4>
340 <b>__loadDiagram</b>(<i></i>) 338 <b>__loadDiagram</b>(<i></i>)
341
342 <p> 339 <p>
343 Private slot to load a diagram from file. 340 Private slot to load a diagram from file.
344 </p> 341 </p>
342
345 <a NAME="ProjectSourcesBrowser.__performFormatWithBlack" ID="ProjectSourcesBrowser.__performFormatWithBlack"></a> 343 <a NAME="ProjectSourcesBrowser.__performFormatWithBlack" ID="ProjectSourcesBrowser.__performFormatWithBlack"></a>
346 <h4>ProjectSourcesBrowser.__performFormatWithBlack</h4> 344 <h4>ProjectSourcesBrowser.__performFormatWithBlack</h4>
347 <b>__performFormatWithBlack</b>(<i>action</i>) 345 <b>__performFormatWithBlack</b>(<i>action</i>)
348
349 <p> 346 <p>
350 Private method to format the selected project sources using the 'Black' tool. 347 Private method to format the selected project sources using the 'Black' tool.
351 </p> 348 </p>
352 <p> 349 <p>
353 Following actions are supported. 350 Following actions are supported.
357 is necessary</li> 354 is necessary</li>
358 <li>BlackFormattingAction.Diff - a unified diff of potential code formatting 355 <li>BlackFormattingAction.Diff - a unified diff of potential code formatting
359 changes is generated</li> 356 changes is generated</li>
360 </ul> 357 </ul>
361 </p> 358 </p>
359
362 <dl> 360 <dl>
363 361
364 <dt><i>action</i> (BlackFormattingAction)</dt> 362 <dt><i>action</i> (BlackFormattingAction)</dt>
365 <dd> 363 <dd>
366 formatting operation to be performed 364 formatting operation to be performed
367 </dd> 365 </dd>
368 </dl> 366 </dl>
369 <a NAME="ProjectSourcesBrowser.__performImportSortingWithIsort" ID="ProjectSourcesBrowser.__performImportSortingWithIsort"></a> 367 <a NAME="ProjectSourcesBrowser.__performImportSortingWithIsort" ID="ProjectSourcesBrowser.__performImportSortingWithIsort"></a>
370 <h4>ProjectSourcesBrowser.__performImportSortingWithIsort</h4> 368 <h4>ProjectSourcesBrowser.__performImportSortingWithIsort</h4>
371 <b>__performImportSortingWithIsort</b>(<i>action</i>) 369 <b>__performImportSortingWithIsort</b>(<i>action</i>)
372
373 <p> 370 <p>
374 Private method to sort the import statements of the selected project sources 371 Private method to sort the import statements of the selected project sources
375 using the 'isort' tool. 372 using the 'isort' tool.
376 </p> 373 </p>
377 <p> 374 <p>
382 resorting is necessary</li> 379 resorting is necessary</li>
383 <li>IsortFormattingAction.Diff - a unified diff of potential import statement 380 <li>IsortFormattingAction.Diff - a unified diff of potential import statement
384 changes is generated</li> 381 changes is generated</li>
385 </ul> 382 </ul>
386 </p> 383 </p>
384
387 <dl> 385 <dl>
388 386
389 <dt><i>action</i> (IsortFormattingAction)</dt> 387 <dt><i>action</i> (IsortFormattingAction)</dt>
390 <dd> 388 <dd>
391 sorting operation to be performed 389 sorting operation to be performed
392 </dd> 390 </dd>
393 </dl> 391 </dl>
394 <a NAME="ProjectSourcesBrowser.__showApplicationDiagram" ID="ProjectSourcesBrowser.__showApplicationDiagram"></a> 392 <a NAME="ProjectSourcesBrowser.__showApplicationDiagram" ID="ProjectSourcesBrowser.__showApplicationDiagram"></a>
395 <h4>ProjectSourcesBrowser.__showApplicationDiagram</h4> 393 <h4>ProjectSourcesBrowser.__showApplicationDiagram</h4>
396 <b>__showApplicationDiagram</b>(<i></i>) 394 <b>__showApplicationDiagram</b>(<i></i>)
397
398 <p> 395 <p>
399 Private method to handle the application diagram context menu action. 396 Private method to handle the application diagram context menu action.
400 </p> 397 </p>
398
401 <a NAME="ProjectSourcesBrowser.__showClassDiagram" ID="ProjectSourcesBrowser.__showClassDiagram"></a> 399 <a NAME="ProjectSourcesBrowser.__showClassDiagram" ID="ProjectSourcesBrowser.__showClassDiagram"></a>
402 <h4>ProjectSourcesBrowser.__showClassDiagram</h4> 400 <h4>ProjectSourcesBrowser.__showClassDiagram</h4>
403 <b>__showClassDiagram</b>(<i></i>) 401 <b>__showClassDiagram</b>(<i></i>)
404
405 <p> 402 <p>
406 Private method to handle the class diagram context menu action. 403 Private method to handle the class diagram context menu action.
407 </p> 404 </p>
405
408 <a NAME="ProjectSourcesBrowser.__showCodeCoverage" ID="ProjectSourcesBrowser.__showCodeCoverage"></a> 406 <a NAME="ProjectSourcesBrowser.__showCodeCoverage" ID="ProjectSourcesBrowser.__showCodeCoverage"></a>
409 <h4>ProjectSourcesBrowser.__showCodeCoverage</h4> 407 <h4>ProjectSourcesBrowser.__showCodeCoverage</h4>
410 <b>__showCodeCoverage</b>(<i></i>) 408 <b>__showCodeCoverage</b>(<i></i>)
411
412 <p> 409 <p>
413 Private method to handle the code coverage context menu action. 410 Private method to handle the code coverage context menu action.
414 </p> 411 </p>
412
415 <a NAME="ProjectSourcesBrowser.__showCodeMetrics" ID="ProjectSourcesBrowser.__showCodeMetrics"></a> 413 <a NAME="ProjectSourcesBrowser.__showCodeMetrics" ID="ProjectSourcesBrowser.__showCodeMetrics"></a>
416 <h4>ProjectSourcesBrowser.__showCodeMetrics</h4> 414 <h4>ProjectSourcesBrowser.__showCodeMetrics</h4>
417 <b>__showCodeMetrics</b>(<i></i>) 415 <b>__showCodeMetrics</b>(<i></i>)
418
419 <p> 416 <p>
420 Private method to handle the code metrics context menu action. 417 Private method to handle the code metrics context menu action.
421 </p> 418 </p>
419
422 <a NAME="ProjectSourcesBrowser.__showContextMenu" ID="ProjectSourcesBrowser.__showContextMenu"></a> 420 <a NAME="ProjectSourcesBrowser.__showContextMenu" ID="ProjectSourcesBrowser.__showContextMenu"></a>
423 <h4>ProjectSourcesBrowser.__showContextMenu</h4> 421 <h4>ProjectSourcesBrowser.__showContextMenu</h4>
424 <b>__showContextMenu</b>(<i></i>) 422 <b>__showContextMenu</b>(<i></i>)
425
426 <p> 423 <p>
427 Private slot called by the sourceMenu aboutToShow signal. 424 Private slot called by the sourceMenu aboutToShow signal.
428 </p> 425 </p>
426
429 <a NAME="ProjectSourcesBrowser.__showContextMenuBack" ID="ProjectSourcesBrowser.__showContextMenuBack"></a> 427 <a NAME="ProjectSourcesBrowser.__showContextMenuBack" ID="ProjectSourcesBrowser.__showContextMenuBack"></a>
430 <h4>ProjectSourcesBrowser.__showContextMenuBack</h4> 428 <h4>ProjectSourcesBrowser.__showContextMenuBack</h4>
431 <b>__showContextMenuBack</b>(<i></i>) 429 <b>__showContextMenuBack</b>(<i></i>)
432
433 <p> 430 <p>
434 Private slot called by the backMenu aboutToShow signal. 431 Private slot called by the backMenu aboutToShow signal.
435 </p> 432 </p>
433
436 <a NAME="ProjectSourcesBrowser.__showContextMenuCheck" ID="ProjectSourcesBrowser.__showContextMenuCheck"></a> 434 <a NAME="ProjectSourcesBrowser.__showContextMenuCheck" ID="ProjectSourcesBrowser.__showContextMenuCheck"></a>
437 <h4>ProjectSourcesBrowser.__showContextMenuCheck</h4> 435 <h4>ProjectSourcesBrowser.__showContextMenuCheck</h4>
438 <b>__showContextMenuCheck</b>(<i></i>) 436 <b>__showContextMenuCheck</b>(<i></i>)
439
440 <p> 437 <p>
441 Private slot called before the checks menu is shown. 438 Private slot called before the checks menu is shown.
442 </p> 439 </p>
440
443 <a NAME="ProjectSourcesBrowser.__showContextMenuDir" ID="ProjectSourcesBrowser.__showContextMenuDir"></a> 441 <a NAME="ProjectSourcesBrowser.__showContextMenuDir" ID="ProjectSourcesBrowser.__showContextMenuDir"></a>
444 <h4>ProjectSourcesBrowser.__showContextMenuDir</h4> 442 <h4>ProjectSourcesBrowser.__showContextMenuDir</h4>
445 <b>__showContextMenuDir</b>(<i></i>) 443 <b>__showContextMenuDir</b>(<i></i>)
446
447 <p> 444 <p>
448 Private slot called by the dirMenu aboutToShow signal. 445 Private slot called by the dirMenu aboutToShow signal.
449 </p> 446 </p>
447
450 <a NAME="ProjectSourcesBrowser.__showContextMenuDirMulti" ID="ProjectSourcesBrowser.__showContextMenuDirMulti"></a> 448 <a NAME="ProjectSourcesBrowser.__showContextMenuDirMulti" ID="ProjectSourcesBrowser.__showContextMenuDirMulti"></a>
451 <h4>ProjectSourcesBrowser.__showContextMenuDirMulti</h4> 449 <h4>ProjectSourcesBrowser.__showContextMenuDirMulti</h4>
452 <b>__showContextMenuDirMulti</b>(<i></i>) 450 <b>__showContextMenuDirMulti</b>(<i></i>)
453
454 <p> 451 <p>
455 Private slot called by the dirMultiMenu aboutToShow signal. 452 Private slot called by the dirMultiMenu aboutToShow signal.
456 </p> 453 </p>
454
457 <a NAME="ProjectSourcesBrowser.__showContextMenuFormatting" ID="ProjectSourcesBrowser.__showContextMenuFormatting"></a> 455 <a NAME="ProjectSourcesBrowser.__showContextMenuFormatting" ID="ProjectSourcesBrowser.__showContextMenuFormatting"></a>
458 <h4>ProjectSourcesBrowser.__showContextMenuFormatting</h4> 456 <h4>ProjectSourcesBrowser.__showContextMenuFormatting</h4>
459 <b>__showContextMenuFormatting</b>(<i></i>) 457 <b>__showContextMenuFormatting</b>(<i></i>)
460
461 <p> 458 <p>
462 Private slot called before the Code Formatting menu is shown. 459 Private slot called before the Code Formatting menu is shown.
463 </p> 460 </p>
461
464 <a NAME="ProjectSourcesBrowser.__showContextMenuGraphics" ID="ProjectSourcesBrowser.__showContextMenuGraphics"></a> 462 <a NAME="ProjectSourcesBrowser.__showContextMenuGraphics" ID="ProjectSourcesBrowser.__showContextMenuGraphics"></a>
465 <h4>ProjectSourcesBrowser.__showContextMenuGraphics</h4> 463 <h4>ProjectSourcesBrowser.__showContextMenuGraphics</h4>
466 <b>__showContextMenuGraphics</b>(<i></i>) 464 <b>__showContextMenuGraphics</b>(<i></i>)
467
468 <p> 465 <p>
469 Private slot called before the checks menu is shown. 466 Private slot called before the checks menu is shown.
470 </p> 467 </p>
468
471 <a NAME="ProjectSourcesBrowser.__showContextMenuMulti" ID="ProjectSourcesBrowser.__showContextMenuMulti"></a> 469 <a NAME="ProjectSourcesBrowser.__showContextMenuMulti" ID="ProjectSourcesBrowser.__showContextMenuMulti"></a>
472 <h4>ProjectSourcesBrowser.__showContextMenuMulti</h4> 470 <h4>ProjectSourcesBrowser.__showContextMenuMulti</h4>
473 <b>__showContextMenuMulti</b>(<i></i>) 471 <b>__showContextMenuMulti</b>(<i></i>)
474
475 <p> 472 <p>
476 Private slot called by the multiMenu aboutToShow signal. 473 Private slot called by the multiMenu aboutToShow signal.
477 </p> 474 </p>
475
478 <a NAME="ProjectSourcesBrowser.__showContextMenuShow" ID="ProjectSourcesBrowser.__showContextMenuShow"></a> 476 <a NAME="ProjectSourcesBrowser.__showContextMenuShow" ID="ProjectSourcesBrowser.__showContextMenuShow"></a>
479 <h4>ProjectSourcesBrowser.__showContextMenuShow</h4> 477 <h4>ProjectSourcesBrowser.__showContextMenuShow</h4>
480 <b>__showContextMenuShow</b>(<i></i>) 478 <b>__showContextMenuShow</b>(<i></i>)
481
482 <p> 479 <p>
483 Private slot called before the show menu is shown. 480 Private slot called before the show menu is shown.
484 </p> 481 </p>
482
485 <a NAME="ProjectSourcesBrowser.__showImportsDiagram" ID="ProjectSourcesBrowser.__showImportsDiagram"></a> 483 <a NAME="ProjectSourcesBrowser.__showImportsDiagram" ID="ProjectSourcesBrowser.__showImportsDiagram"></a>
486 <h4>ProjectSourcesBrowser.__showImportsDiagram</h4> 484 <h4>ProjectSourcesBrowser.__showImportsDiagram</h4>
487 <b>__showImportsDiagram</b>(<i></i>) 485 <b>__showImportsDiagram</b>(<i></i>)
488
489 <p> 486 <p>
490 Private method to handle the imports diagram context menu action. 487 Private method to handle the imports diagram context menu action.
491 </p> 488 </p>
489
492 <a NAME="ProjectSourcesBrowser.__showPackageDiagram" ID="ProjectSourcesBrowser.__showPackageDiagram"></a> 490 <a NAME="ProjectSourcesBrowser.__showPackageDiagram" ID="ProjectSourcesBrowser.__showPackageDiagram"></a>
493 <h4>ProjectSourcesBrowser.__showPackageDiagram</h4> 491 <h4>ProjectSourcesBrowser.__showPackageDiagram</h4>
494 <b>__showPackageDiagram</b>(<i></i>) 492 <b>__showPackageDiagram</b>(<i></i>)
495
496 <p> 493 <p>
497 Private method to handle the package diagram context menu action. 494 Private method to handle the package diagram context menu action.
498 </p> 495 </p>
496
499 <a NAME="ProjectSourcesBrowser.__showProfileData" ID="ProjectSourcesBrowser.__showProfileData"></a> 497 <a NAME="ProjectSourcesBrowser.__showProfileData" ID="ProjectSourcesBrowser.__showProfileData"></a>
500 <h4>ProjectSourcesBrowser.__showProfileData</h4> 498 <h4>ProjectSourcesBrowser.__showProfileData</h4>
501 <b>__showProfileData</b>(<i></i>) 499 <b>__showProfileData</b>(<i></i>)
502
503 <p> 500 <p>
504 Private method to handle the show profile data context menu action. 501 Private method to handle the show profile data context menu action.
505 </p> 502 </p>
503
506 <a NAME="ProjectSourcesBrowser._contextMenuRequested" ID="ProjectSourcesBrowser._contextMenuRequested"></a> 504 <a NAME="ProjectSourcesBrowser._contextMenuRequested" ID="ProjectSourcesBrowser._contextMenuRequested"></a>
507 <h4>ProjectSourcesBrowser._contextMenuRequested</h4> 505 <h4>ProjectSourcesBrowser._contextMenuRequested</h4>
508 <b>_contextMenuRequested</b>(<i>coord</i>) 506 <b>_contextMenuRequested</b>(<i>coord</i>)
509
510 <p> 507 <p>
511 Protected slot to show the context menu. 508 Protected slot to show the context menu.
512 </p> 509 </p>
510
513 <dl> 511 <dl>
514 512
515 <dt><i>coord</i> (QPoint)</dt> 513 <dt><i>coord</i> (QPoint)</dt>
516 <dd> 514 <dd>
517 the position of the mouse pointer 515 the position of the mouse pointer
518 </dd> 516 </dd>
519 </dl> 517 </dl>
520 <a NAME="ProjectSourcesBrowser._createPopupMenus" ID="ProjectSourcesBrowser._createPopupMenus"></a> 518 <a NAME="ProjectSourcesBrowser._createPopupMenus" ID="ProjectSourcesBrowser._createPopupMenus"></a>
521 <h4>ProjectSourcesBrowser._createPopupMenus</h4> 519 <h4>ProjectSourcesBrowser._createPopupMenus</h4>
522 <b>_createPopupMenus</b>(<i></i>) 520 <b>_createPopupMenus</b>(<i></i>)
523
524 <p> 521 <p>
525 Protected overloaded method to generate the popup menu. 522 Protected overloaded method to generate the popup menu.
526 </p> 523 </p>
524
527 <a NAME="ProjectSourcesBrowser._openItem" ID="ProjectSourcesBrowser._openItem"></a> 525 <a NAME="ProjectSourcesBrowser._openItem" ID="ProjectSourcesBrowser._openItem"></a>
528 <h4>ProjectSourcesBrowser._openItem</h4> 526 <h4>ProjectSourcesBrowser._openItem</h4>
529 <b>_openItem</b>(<i></i>) 527 <b>_openItem</b>(<i></i>)
530
531 <p> 528 <p>
532 Protected slot to handle the open popup menu entry. 529 Protected slot to handle the open popup menu entry.
533 </p> 530 </p>
531
534 <a NAME="ProjectSourcesBrowser._projectClosed" ID="ProjectSourcesBrowser._projectClosed"></a> 532 <a NAME="ProjectSourcesBrowser._projectClosed" ID="ProjectSourcesBrowser._projectClosed"></a>
535 <h4>ProjectSourcesBrowser._projectClosed</h4> 533 <h4>ProjectSourcesBrowser._projectClosed</h4>
536 <b>_projectClosed</b>(<i></i>) 534 <b>_projectClosed</b>(<i></i>)
537
538 <p> 535 <p>
539 Protected slot to handle the projectClosed signal. 536 Protected slot to handle the projectClosed signal.
540 </p> 537 </p>
538
541 <a NAME="ProjectSourcesBrowser.getIcon" ID="ProjectSourcesBrowser.getIcon"></a> 539 <a NAME="ProjectSourcesBrowser.getIcon" ID="ProjectSourcesBrowser.getIcon"></a>
542 <h4>ProjectSourcesBrowser.getIcon</h4> 540 <h4>ProjectSourcesBrowser.getIcon</h4>
543 <b>getIcon</b>(<i></i>) 541 <b>getIcon</b>(<i></i>)
544
545 <p> 542 <p>
546 Public method to get an icon for the project browser. 543 Public method to get an icon for the project browser.
547 </p> 544 </p>
545
548 <dl> 546 <dl>
549 <dt>Return:</dt> 547 <dt>Return:</dt>
550 <dd> 548 <dd>
551 icon for the browser 549 icon for the browser
552 </dd> 550 </dd>

eric ide

mercurial