1013 """ |
1013 """ |
1014 from .RccCompilerOptionsDialog import RccCompilerOptionsDialog |
1014 from .RccCompilerOptionsDialog import RccCompilerOptionsDialog |
1015 |
1015 |
1016 params = self.project.getProjectData(dataKey="RCCPARAMS") |
1016 params = self.project.getProjectData(dataKey="RCCPARAMS") |
1017 |
1017 |
1018 dlg = RccCompilerOptionsDialog(params) |
1018 dlg = RccCompilerOptionsDialog(params, parent=self) |
1019 if dlg.exec() == QDialog.DialogCode.Accepted: |
1019 if dlg.exec() == QDialog.DialogCode.Accepted: |
1020 threshold, compression, noCompression, root = dlg.getData() |
1020 threshold, compression, noCompression, root = dlg.getData() |
1021 if threshold != params["CompressionThreshold"]: |
1021 if threshold != params["CompressionThreshold"]: |
1022 params["CompressionThreshold"] = threshold |
1022 params["CompressionThreshold"] = threshold |
1023 self.project.setDirty(True) |
1023 self.project.setDirty(True) |