Building off of your code, you can add button1 and button2 to a QButtonGroup with the exclusive property set to True .
確定! 回上一頁