PyQt5 - WindowIcon設置(運行界面左上角圖標)

【Qt-Designer】python 【Coding】ui icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap("xxx.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) MainWindow.setWindowIcon(icon)
相關文章
相關標籤/搜索