修改部分UI、修改module中心点设定、添加单独连接

This commit is contained in:
xinzhu.yin
2026-06-08 11:03:10 +08:00
parent e9a591bf6e
commit febbb28a4c
8 changed files with 201 additions and 24 deletions

View File

@@ -74,6 +74,10 @@ def create_cct_params_frame(self: "PQAutomationApp"):
entry = ttk.Entry(self.cct_params_frame, textvariable=var, width=15)
entry.grid(row=i, column=1, sticky=tk.W, padx=5, pady=3)
# 屏模组中心由实测 100% 点自动决定,避免手动误改。
if key in ("x_ideal", "y_ideal"):
entry.configure(state="readonly")
# 绑定失去焦点事件
default_val = screen_default_cct_params[key]
entry.bind(