修改色域画图及重绘方式

This commit is contained in:
xinzhu.yin
2026-05-18 15:57:11 +08:00
parent 9371defb6e
commit d7495734a5
9 changed files with 900 additions and 540 deletions

View File

@@ -1168,20 +1168,6 @@ def on_test_completed(self):
except Exception as e:
self.log_gui.log(f"显示色度重新计算按钮失败: {str(e)}", level="error")
if "gamut" in selected_items:
try:
if test_type == "screen_module" and hasattr(self, "recalc_gamut_btn"):
self.recalc_gamut_btn.grid()
self.log_gui.log("屏模组色域参考调整按钮已启用", level="success")
elif test_type == "sdr_movie" and hasattr(self, "sdr_recalc_gamut_btn"):
self.sdr_recalc_gamut_btn.grid()
self.log_gui.log("SDR 色域参考调整按钮已启用", level="success")
elif test_type == "hdr_movie" and hasattr(self, "hdr_recalc_gamut_btn"):
self.hdr_recalc_gamut_btn.grid()
self.log_gui.log("HDR 色域参考调整按钮已启用", level="success")
except Exception as e:
self.log_gui.log(f"显示色域重新计算按钮失败: {str(e)}", level="error")
messagebox.showinfo("完成", "测试已完成!")