优化UI加载速度

This commit is contained in:
xinzhu.yin
2026-06-22 10:40:39 +08:00
parent 22f8b12690
commit 92cba114a9
9 changed files with 239 additions and 108 deletions

View File

@@ -15,7 +15,7 @@ if TYPE_CHECKING:
def create_log_panel(self: "PQAutomationApp"):
"""创建日志面板"""
self.log_frame = ttk.Frame(self.content_frame)
self.log_frame = ttk.Frame(self.view_stack)
self.log_gui = PQLogGUI(self.log_frame)
self.log_gui.pack(fill=tk.BOTH, expand=True, padx=10, pady=10)
@@ -30,7 +30,7 @@ def create_log_panel(self: "PQAutomationApp"):
def create_local_dimming_panel(self: "PQAutomationApp"):
"""创建 Local Dimming 测试面板。"""
self.local_dimming_frame = ttk.Frame(self.content_frame)
self.local_dimming_frame = ttk.Frame(self.main_view)
# 主容器
main_container = ttk.Frame(self.local_dimming_frame, padding=10)