更新版本
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
|
||||
from PySide6.QtWidgets import QFrame
|
||||
from .tool_card_ui import Ui_FrameToolCard
|
||||
|
||||
|
||||
class ToolCard(QFrame, Ui_FrameToolCard):
|
||||
"""工具卡片类
|
||||
|
||||
继承自 QFrame(Qt 帧基类)和 Ui_FrameToolCard(Qt Designer 生成的 UI 界面)
|
||||
负责显示工具的卡片界面,包含工具的图标、名称和描述。
|
||||
"""
|
||||
def __init__(self, parent = None) -> None:
|
||||
super().__init__(parent)
|
||||
self.setupUi(self)
|
||||
|
||||
Reference in New Issue
Block a user