mirror of
https://github.com/hyb-oyqq/FRAISEMOE-Addons-Installer-NEXT.git
synced 2026-01-01 11:40:45 +00:00
feat(core): 优化UI管理器,增强组件初始化和菜单构建
- 移除不再使用的UI组件和方法,简化代码结构。 - 引入新的UI组件管理类,提升UI组件的初始化和菜单构建逻辑。 - 更新加载对话框和消息框的创建逻辑,确保使用统一的对话框工厂方法。 - 保留向后兼容性,添加委托方法以支持旧功能,提升用户体验。
This commit is contained in:
16
source/ui/components/__init__.py
Normal file
16
source/ui/components/__init__.py
Normal file
@@ -0,0 +1,16 @@
|
||||
"""
|
||||
UI组件模块
|
||||
提供各种UI组件类用于构建应用程序界面
|
||||
"""
|
||||
|
||||
from .font_style_manager import FontStyleManager
|
||||
from .dialog_factory import DialogFactory
|
||||
from .external_links_handler import ExternalLinksHandler
|
||||
from .menu_builder import MenuBuilder
|
||||
|
||||
__all__ = [
|
||||
'FontStyleManager',
|
||||
'DialogFactory',
|
||||
'ExternalLinksHandler',
|
||||
'MenuBuilder'
|
||||
]
|
||||
Reference in New Issue
Block a user