currentItem();tableWidget->搜搭: ui->tableWidget_itemClicked(QTableWidgetItem *item)这斗漏春里空耐的item就是单击的项还有获取当前项