摘要:
1 import sys 2 from PyQt5 import QtWidgets,QtCore 3 from PyQt5.QtCore import Qt 4 from PyQt5.uic.properties import QtGui 5 6 key_list=['Qt.ControlModi 阅读全文
posted @ 2021-02-06 17:43
写BUG的猪
阅读(129)
评论(0)
推荐(0)
摘要:
1 import sys 2 import typing 3 4 from PyQt5 import QtWidgets, QtGui, QtCore 5 import random 6 7 class Mywindow(QtWidgets.QWidget): 8 def __init__(self 阅读全文
posted @ 2021-02-06 14:19
写BUG的猪
阅读(219)
评论(0)
推荐(0)
摘要:
1 信号与槽的设置中,槽函数不用写括号: btn.clicked.connect(cao()) def cao(): ******** 会报错:argument 1 has unexpected type 'NoneType' 应写成: btn.clicked.connect(cao) 2 重写类继 阅读全文
posted @ 2021-02-06 14:15
写BUG的猪
阅读(276)
评论(1)
推荐(0)

浙公网安备 33010602011771号