摘要: #1. 导入PyQt5包中的几个模块 2 import sys 3 from PyQt5 import QtCore, QtGui, QtWidgets 4 5 #2. 创建App,用QApplication类 6 app = QtWidgets.QApplication(sys.argv) 7 8 阅读全文
posted @ 2022-04-15 18:18 代码改变世界11 阅读(148) 评论(0) 推荐(0) 编辑
摘要: <switch color="#3def9" checked="led" bindchange="onledchange"></switch> 解析: 定义一个开关: <switch></switch> 设置颜色: color="#3def9" 是否选中:默认为false 这里设置等于led 如果该 阅读全文
posted @ 2022-04-15 02:31 代码改变世界11 阅读(1467) 评论(0) 推荐(0) 编辑