QRadioButton ("button 3") for i in range(1,4): buttonname = "radio" + str(i) if buttonname.isChecked(): print buttonname + "is Checked".
確定! 回上一頁