536 self.tr( |
536 self.tr( |
537 "Do you really want to delete these resources from the" |
537 "Do you really want to delete these resources from the" |
538 " project?"), |
538 " project?"), |
539 files) |
539 files) |
540 |
540 |
541 if dlg.exec_() == QDialog.Accepted: |
541 if dlg.exec() == QDialog.Accepted: |
542 for fn2, fn in zip(fullNames, files): |
542 for fn2, fn in zip(fullNames, files): |
543 self.closeSourceWindow.emit(fn2) |
543 self.closeSourceWindow.emit(fn2) |
544 self.project.deleteFile(fn) |
544 self.project.deleteFile(fn) |
545 |
545 |
546 ########################################################################### |
546 ########################################################################### |
926 from .RccCompilerOptionsDialog import RccCompilerOptionsDialog |
926 from .RccCompilerOptionsDialog import RccCompilerOptionsDialog |
927 |
927 |
928 params = self.project.pdata["RCCPARAMS"] |
928 params = self.project.pdata["RCCPARAMS"] |
929 |
929 |
930 dlg = RccCompilerOptionsDialog(params) |
930 dlg = RccCompilerOptionsDialog(params) |
931 if dlg.exec_() == QDialog.Accepted: |
931 if dlg.exec() == QDialog.Accepted: |
932 threshold, compression, noCompression, root = dlg.getData() |
932 threshold, compression, noCompression, root = dlg.getData() |
933 if threshold != params["CompressionThreshold"]: |
933 if threshold != params["CompressionThreshold"]: |
934 params["CompressionThreshold"] = threshold |
934 params["CompressionThreshold"] = threshold |
935 self.project.setDirty(True) |
935 self.project.setDirty(True) |
936 if compression != params["CompressLevel"]: |
936 if compression != params["CompressLevel"]: |