15 |
15 |
16 from .ProjectBrowserModel import ProjectBrowserFileItem, \ |
16 from .ProjectBrowserModel import ProjectBrowserFileItem, \ |
17 ProjectBrowserSimpleDirectoryItem, ProjectBrowserDirectoryItem, \ |
17 ProjectBrowserSimpleDirectoryItem, ProjectBrowserDirectoryItem, \ |
18 ProjectBrowserOthersType |
18 ProjectBrowserOthersType |
19 from .ProjectBaseBrowser import ProjectBaseBrowser |
19 from .ProjectBaseBrowser import ProjectBaseBrowser |
20 |
|
21 from UI.DeleteFilesConfirmationDialog import DeleteFilesConfirmationDialog |
|
22 |
20 |
23 |
21 |
24 class ProjectOthersBrowser(ProjectBaseBrowser): |
22 class ProjectOthersBrowser(ProjectBaseBrowser): |
25 """ |
23 """ |
26 A class used to display the parts of the project, that don't fit the other categories. |
24 A class used to display the parts of the project, that don't fit the other categories. |
281 names.extend(dirNames) |
279 names.extend(dirNames) |
282 del itmList |
280 del itmList |
283 del dirFullNames |
281 del dirFullNames |
284 del dirNames |
282 del dirNames |
285 |
283 |
|
284 from UI.DeleteFilesConfirmationDialog import DeleteFilesConfirmationDialog |
286 dlg = DeleteFilesConfirmationDialog(self.parent(), |
285 dlg = DeleteFilesConfirmationDialog(self.parent(), |
287 self.trUtf8("Delete files/directories"), |
286 self.trUtf8("Delete files/directories"), |
288 self.trUtf8("Do you really want to delete these entries from the project?"), |
287 self.trUtf8("Do you really want to delete these entries from the project?"), |
289 names) |
288 names) |
290 |
289 |