修改界面

This commit is contained in:
cantyonion committed 2025-05-20 02:59:58 +08:00
1 parent 83b3790e8b
commit 9ca61d5092
13 files changed
+394 -499

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
from PySide6.QtWidgets import QFrame
class Widget(QFrame):
def __init__(self, key: str, parent=None):
super().__init__(parent=parent)
# 必须给子界面设置全局唯一的对象名
self.setObjectName(key.replace(' ', '-'))