30 |
30 |
31 class ProjectSourcesBrowser(ProjectBaseBrowser): |
31 class ProjectSourcesBrowser(ProjectBaseBrowser): |
32 """ |
32 """ |
33 A class used to display the Sources part of the project. |
33 A class used to display the Sources part of the project. |
34 |
34 |
35 @signal closeSourceWindow(str) emitted after a file has been |
|
36 removed/deleted from the project |
|
37 @signal showMenu(str, QMenu) emitted when a menu is about to be shown. |
35 @signal showMenu(str, QMenu) emitted when a menu is about to be shown. |
38 The name of the menu and a reference to the menu are given. |
36 The name of the menu and a reference to the menu are given. |
39 @signal sourceFile(str) emitted to open the given file. |
|
40 @signal sourceFile(str, int) emitted to open the given file at the given |
|
41 line. |
|
42 @signal sourceFile(str, int, str) emitted to open the given file as the |
|
43 given type at the given line. |
|
44 @signal sourceFile(str, list) emitted to open a Python file giving a list |
|
45 of lines |
|
46 """ |
37 """ |
47 showMenu = pyqtSignal(str, QMenu) |
38 showMenu = pyqtSignal(str, QMenu) |
48 |
39 |
49 def __init__(self, project, parent=None): |
40 def __init__(self, project, parent=None): |
50 """ |
41 """ |