Skip to content

Commit

Permalink
Merge pull request #471 from niuhuan/dev-export-tips
Browse files Browse the repository at this point in the history
增加一些账号管理的提示
  • Loading branch information
moesnow authored Feb 20, 2025
2 parents fbb566d + debda24 commit ba81e65
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/sub_interfaces/accounts_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from qfluentwidgets import SettingCard, SettingCardGroup, ListWidget, FluentIconBase, CardWidget, FluentStyleSheet
from PyQt5.QtCore import Qt
from PyQt5.QtGui import QIcon
from PyQt5.QtWidgets import QPushButton, QListWidgetItem, QVBoxLayout, QMessageBox, QInputDialog, QLineEdit
from PyQt5.QtWidgets import QPushButton, QListWidgetItem, QVBoxLayout, QMessageBox, QInputDialog, QLineEdit, QLabel
from PyQt5.QtWidgets import QHBoxLayout, QGridLayout, QFrame
from qfluentwidgets import FluentIcon as FIF
from PyQt5.QtGui import QPalette
Expand All @@ -27,6 +27,11 @@ def __init__(self, icon: Union[str, QIcon, FluentIconBase], title, content=None,
#
self.buttons = QVBoxLayout()
self.buttons.setContentsMargins(10, 3, 10, 3)
self.tipsText = QLabel("重要: 请完全进入游戏(看到角色)后再进行导出,否则会读取前一个账号的UID,导致文件和账号不对应")
self.tipsText.setWordWrap(True)
self.tipsText.setStyleSheet('color: red')
self.buttons.addWidget(self.tipsText)
self.tipsText.setFixedHeight(50)
self.addAccountButton = QPushButton("导出当前游戏账户", self)
self.importAccountButton = QPushButton("导入选中的账户", self)
self.deleteAccountButton = QPushButton("删除账户", self)
Expand Down

0 comments on commit ba81e65

Please sign in to comment.