fix:添加niceGui库美化页面

This commit is contained in:
2025-12-13 21:13:25 +08:00
parent 93d1e8687a
commit 3a4a9df751
14 changed files with 1555 additions and 41 deletions

13
ui/core/state.py Normal file
View File

@@ -0,0 +1,13 @@
import threading
class AppState:
def __init__(self):
self.stop_event = threading.Event()
self.is_running = False
# 这些 UI 元素的引用将在 UI 初始化时被赋值
self.progress_bar = None
self.progress_label = None
self.log_element = None
# 创建全局单例
app_state = AppState()