setText ( str ( self.a ) ) #點擊時執行 showNum 方法#每次執行讓 self.a 增加 1 #更新 QLabel 內容 name app = main QtWidgets.QApplication ( sys.argv ) Form ...
確定! 回上一頁