pushButton.setCheckable(True) self.pushButton.setAutoExclusive(True). 然後在QT designer中右鍵按鈕,改變樣式表,寫入以下代碼
確定! 回上一頁