添加Pantone 认证摸底测试面板UI
This commit is contained in:
@@ -435,6 +435,24 @@ def create_test_type_frame(self):
|
||||
)
|
||||
self.ai_image_btn.pack(fill=tk.X, padx=0, pady=1)
|
||||
|
||||
self.single_step_btn = ttk.Button(
|
||||
self.sidebar_frame,
|
||||
text="单步调试",
|
||||
style="Sidebar.TButton",
|
||||
command=self.toggle_single_step_panel,
|
||||
takefocus=False,
|
||||
)
|
||||
self.single_step_btn.pack(fill=tk.X, padx=0, pady=1)
|
||||
|
||||
self.pantone_baseline_btn = ttk.Button(
|
||||
self.sidebar_frame,
|
||||
text="Pantone认证摸底测试",
|
||||
style="Sidebar.TButton",
|
||||
command=self.toggle_pantone_baseline_panel,
|
||||
takefocus=False,
|
||||
)
|
||||
self.pantone_baseline_btn.pack(fill=tk.X, padx=0, pady=1)
|
||||
|
||||
# 注册面板按钮
|
||||
if hasattr(self, "panels"):
|
||||
if "log" in self.panels:
|
||||
@@ -443,6 +461,10 @@ def create_test_type_frame(self):
|
||||
self.panels["local_dimming"]["button"] = self.local_dimming_btn
|
||||
if "ai_image" in self.panels:
|
||||
self.panels["ai_image"]["button"] = self.ai_image_btn
|
||||
if "single_step" in self.panels:
|
||||
self.panels["single_step"]["button"] = self.single_step_btn
|
||||
if "pantone_baseline" in self.panels:
|
||||
self.panels["pantone_baseline"]["button"] = self.pantone_baseline_btn
|
||||
|
||||
|
||||
def update_config_info_display(self):
|
||||
|
||||
Reference in New Issue
Block a user