Open xujunjiex opened 1 month ago
`
修改 QAction 导入 from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtWidgets import QFileDialog, QMenu, QAction # Import QAction from QtWidgets
将所有 QtGui.QAction 替换为 QtWidgets.QAction self.actionAuthor_color_sky = QtWidgets.QAction(MainWindow) # 改为 QtWidgets.QAction
`
修改 QAction 导入 from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtWidgets import QFileDialog, QMenu, QAction # Import QAction from QtWidgets
将所有 QtGui.QAction 替换为 QtWidgets.QAction self.actionAuthor_color_sky = QtWidgets.QAction(MainWindow) # 改为 QtWidgets.QAction
`