24 BrowserClassAttributeItem, |
24 BrowserClassAttributeItem, |
25 BrowserClassItem, |
25 BrowserClassItem, |
26 BrowserFileItem, |
26 BrowserFileItem, |
27 BrowserMethodItem, |
27 BrowserMethodItem, |
28 ) |
28 ) |
|
29 from eric7.UI.DeleteFilesConfirmationDialog import DeleteFilesConfirmationDialog |
29 from eric7.UI.NotificationWidget import NotificationTypes |
30 from eric7.UI.NotificationWidget import NotificationTypes |
30 |
31 |
31 from .ProjectBaseBrowser import ProjectBaseBrowser |
32 from .ProjectBaseBrowser import ProjectBaseBrowser |
32 from .ProjectBrowserModel import ( |
33 from .ProjectBrowserModel import ( |
33 ProjectBrowserDirectoryItem, |
34 ProjectBrowserDirectoryItem, |
454 fn2 = itm.fileName() |
455 fn2 = itm.fileName() |
455 fullNames.append(fn2) |
456 fullNames.append(fn2) |
456 fn = self.project.getRelativePath(fn2) |
457 fn = self.project.getRelativePath(fn2) |
457 files.append(fn) |
458 files.append(fn) |
458 |
459 |
459 from eric7.UI.DeleteFilesConfirmationDialog import DeleteFilesConfirmationDialog |
|
460 |
|
461 dlg = DeleteFilesConfirmationDialog( |
460 dlg = DeleteFilesConfirmationDialog( |
462 self.parent(), |
461 self.parent(), |
463 self.tr("Delete interfaces"), |
462 self.tr("Delete interfaces"), |
464 self.tr( |
463 self.tr( |
465 "Do you really want to delete these interfaces from" " the project?" |
464 "Do you really want to delete these interfaces from" " the project?" |
675 def __configureIdlCompiler(self): |
674 def __configureIdlCompiler(self): |
676 """ |
675 """ |
677 Private method to show a dialog to configure some options for the |
676 Private method to show a dialog to configure some options for the |
678 IDL compiler. |
677 IDL compiler. |
679 """ |
678 """ |
|
679 from .IdlCompilerOptionsDialog import IdlCompilerOptionsDialog |
|
680 |
680 params = self.project.pdata["IDLPARAMS"] |
681 params = self.project.pdata["IDLPARAMS"] |
681 |
|
682 from .IdlCompilerOptionsDialog import IdlCompilerOptionsDialog |
|
683 |
682 |
684 dlg = IdlCompilerOptionsDialog( |
683 dlg = IdlCompilerOptionsDialog( |
685 params["IncludeDirs"][:], |
684 params["IncludeDirs"][:], |
686 params["DefinedNames"][:], |
685 params["DefinedNames"][:], |
687 params["UndefinedNames"][:], |
686 params["UndefinedNames"][:], |