設定視窗圖示 icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap("my.ico"),QtGui.QIcon.Normal, QtGui.QIcon.Off) mainWindow.setWindowIcon(icon)
確定! 回上一頁