20 from .ProjectBrowserModel import ProjectBrowserFileItem, \ |
20 from .ProjectBrowserModel import ProjectBrowserFileItem, \ |
21 ProjectBrowserSimpleDirectoryItem, ProjectBrowserDirectoryItem, \ |
21 ProjectBrowserSimpleDirectoryItem, ProjectBrowserDirectoryItem, \ |
22 ProjectBrowserFormType |
22 ProjectBrowserFormType |
23 from .ProjectBaseBrowser import ProjectBaseBrowser |
23 from .ProjectBaseBrowser import ProjectBaseBrowser |
24 |
24 |
25 from UI.DeleteFilesConfirmationDialog import DeleteFilesConfirmationDialog |
|
26 import UI.PixmapCache |
25 import UI.PixmapCache |
27 |
26 |
28 import Preferences |
27 import Preferences |
29 import Utilities |
28 import Utilities |
30 |
29 |
547 fn2 = itm.fileName() |
546 fn2 = itm.fileName() |
548 fullNames.append(fn2) |
547 fullNames.append(fn2) |
549 fn = self.project.getRelativePath(fn2) |
548 fn = self.project.getRelativePath(fn2) |
550 files.append(fn) |
549 files.append(fn) |
551 |
550 |
|
551 from UI.DeleteFilesConfirmationDialog import DeleteFilesConfirmationDialog |
552 dlg = DeleteFilesConfirmationDialog(self.parent(), |
552 dlg = DeleteFilesConfirmationDialog(self.parent(), |
553 self.trUtf8("Delete forms"), |
553 self.trUtf8("Delete forms"), |
554 self.trUtf8("Do you really want to delete these forms from the project?"), |
554 self.trUtf8("Do you really want to delete these forms from the project?"), |
555 files) |
555 files) |
556 |
556 |