上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 74 下一页
摘要: ui.pushButton_2.clicked.connect(lambda:wenjian(xiaoxi_window)) def wenjian(win): from PyQt5.QtWidgets import QFileDialog files, filetype = QFileDialog 阅读全文
posted @ 2023-05-14 09:08 祥瑞哈哈哈 阅读(771) 评论(0) 推荐(0)
摘要: if __name__ == '__main__': app = QApplication(sys.argv) MainWindow = QMainWindow() ui = Ui_Form() ui.setupUi(MainWindow) MainWindow.show() stu_main=QM 阅读全文
posted @ 2023-05-13 11:23 祥瑞哈哈哈 阅读(128) 评论(0) 推荐(0)
摘要: tableWidge中插入控件并居中 label1234 = QtWidgets.QLabel() pixmap = QtGui.QPixmap("0.jpg") pixmap = pixmap.scaled( QtCore.QSize(100, 100), QtCore.Qt.KeepAspect 阅读全文
posted @ 2023-05-12 20:51 祥瑞哈哈哈 阅读(132) 评论(0) 推荐(0)
摘要: 阿里巴巴矢量库 阅读全文
posted @ 2023-05-11 16:30 祥瑞哈哈哈 阅读(16) 评论(0) 推荐(0)
摘要: "QMainWindow{\n" "border-image:url(end.png);\n" "}\n" background-image: 背景图,默认原图大小,窗口空余部分填充此背景图 border-image: 默认跟随窗口大小进行拉伸 image: 默认原图大小,窗口空余部分不补充 阅读全文
posted @ 2023-05-11 15:29 祥瑞哈哈哈 阅读(193) 评论(0) 推荐(0)
摘要: axis=QValueAxis()#创建坐标轴 axis.setRange(0, 75)#比较重要,没有这个不会出坐标轴,诙谐数值 #axis.setLabelFormat("%d") axis.setTickCount(4)#对应竖线 axis.setGridLineVisible(False)# 阅读全文
posted @ 2023-05-10 19:36 祥瑞哈哈哈 阅读(26) 评论(0) 推荐(0)
摘要: axisx.setGridLineVisible(True) 阅读全文
posted @ 2023-05-10 19:22 祥瑞哈哈哈 阅读(11) 评论(0) 推荐(0)
摘要: chartView = QChartView(chart,Form) chartView.setRenderHint(QPainter.Antialiasing) chartView.setGeometry(QtCore.QRect(400, 400, 771, 701))左上角的x,y值和宽高 阅读全文
posted @ 2023-05-10 17:54 祥瑞哈哈哈 阅读(71) 评论(0) 推荐(0)
摘要: 在按钮的样式表里输入以下代码 QPushButton{color: rgb(102, 131, 156); background-color: rgb(37, 43, 51); border-radius:10px; } QPushButton:hover{ background-color: rg 阅读全文
posted @ 2023-05-10 10:36 祥瑞哈哈哈 阅读(63) 评论(0) 推荐(0)
摘要: 在设计样式表中加入border: none; 阅读全文
posted @ 2023-05-10 08:46 祥瑞哈哈哈 阅读(17) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 74 下一页