答案 0 :(得分:0)
...
self.content.pushButton.clicked.connect(self.get_values)
def get_values(self):
self.content.tableWidget.cellClicked.connect(self.eject_values)
def eject_values(self,row,col):
a = self.content.tableWidget.item(row, col).text()
self.content.lineEdit.setText(a)
self.content.tableWidget.cellClicked.disconnect()
...