setWindowIcon(QtGui.QIcon("rattle.png")). Every PyQt5 file requires this next line which takes sys.argv as an argument. application = QApplication(sys.argv).
確定! 回上一頁