462 self.tr("Delete interfaces"), |
462 self.tr("Delete interfaces"), |
463 self.tr("Do you really want to delete these interfaces from" |
463 self.tr("Do you really want to delete these interfaces from" |
464 " the project?"), |
464 " the project?"), |
465 files) |
465 files) |
466 |
466 |
467 if dlg.exec_() == QDialog.Accepted: |
467 if dlg.exec() == QDialog.Accepted: |
468 for fn2, fn in zip(fullNames, files): |
468 for fn2, fn in zip(fullNames, files): |
469 self.closeSourceWindow.emit(fn2) |
469 self.closeSourceWindow.emit(fn2) |
470 self.project.deleteFile(fn) |
470 self.project.deleteFile(fn) |
471 |
471 |
472 ########################################################################### |
472 ########################################################################### |
691 |
691 |
692 from .IdlCompilerOptionsDialog import IdlCompilerOptionsDialog |
692 from .IdlCompilerOptionsDialog import IdlCompilerOptionsDialog |
693 dlg = IdlCompilerOptionsDialog( |
693 dlg = IdlCompilerOptionsDialog( |
694 params["IncludeDirs"][:], params["DefinedNames"][:], |
694 params["IncludeDirs"][:], params["DefinedNames"][:], |
695 params["UndefinedNames"][:], self.project, self) |
695 params["UndefinedNames"][:], self.project, self) |
696 if dlg.exec_() == QDialog.Accepted: |
696 if dlg.exec() == QDialog.Accepted: |
697 include, defined, undefined = dlg.getData() |
697 include, defined, undefined = dlg.getData() |
698 if include != params["IncludeDirs"]: |
698 if include != params["IncludeDirs"]: |
699 params["IncludeDirs"] = include[:] |
699 params["IncludeDirs"] = include[:] |
700 self.project.setDirty(True) |
700 self.project.setDirty(True) |
701 if defined != params["DefinedNames"]: |
701 if defined != params["DefinedNames"]: |