pyqt pyside QPushButton 图标(icon)大小自适应设置img = QtGui.QImage(r'd:/test.png') pixmap = QtGui.QPixmap(img) fitPixmap = pixmap.scaled(64, 64, QtCore.
確定! 回上一頁