def checkBoxClicked(self, a):
try:
if a == 2:
row_index = self.tableWidget.currentIndex().row()
s = self.sender()
print(row_index)
print(s)
except Exception as e:
print("异常是", e)
# 这是那个复选框的点击事件,当状态发生改变后选中当前行内容