Files
model_team_tools/core/tools/tool_card.py
T
2026-06-12 16:01:53 +08:00

16 lines
448 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
from PySide6.QtWidgets import QFrame
from .tool_card_ui import Ui_FrameToolCard
class ToolCard(QFrame, Ui_FrameToolCard):
"""工具卡片类
继承自 QFrameQt 帧基类)和 Ui_FrameToolCardQt Designer 生成的 UI 界面)
负责显示工具的卡片界面,包含工具的图标、名称和描述。
"""
def __init__(self, parent = None) -> None:
super().__init__(parent)
self.setupUi(self)