- Add BaseTab base class for common tab initialization and logging - Add constants module for shared GUI constants - Move CheckboxTreeview to separate widget file - Add admin_only and require_session decorators to utils.py - Refactor DataExtractionTab and MaterialValidationTab to inherit BaseTab - Remove duplicate _update_log method from tab classes Co-Authored-By: Claude (glm-5) <noreply@anthropic.com>
22 lines
482 B
Python
22 lines
482 B
Python
"""
|
|
GUI 自定义组件模块
|
|
|
|
提供可复用的 UI 组件。
|
|
"""
|
|
|
|
from .file_selector import FileSelector
|
|
from .log_text import LogText
|
|
from .production_id_input import ProductionIdInput
|
|
from .log_handler import GuiTextHandler
|
|
from .delete_progress_window import DeleteProgressWindow
|
|
from .checkbox_treeview import CheckboxTreeview
|
|
|
|
__all__ = [
|
|
'FileSelector',
|
|
'LogText',
|
|
'ProductionIdInput',
|
|
'GuiTextHandler',
|
|
'DeleteProgressWindow',
|
|
'CheckboxTreeview'
|
|
]
|