i add pushbutton to qtablewidget with this code:
Qt Code:
  1. ui->tableWidget->setCellWidget(currentRow,0,btn);
To copy to clipboard, switch view to plain text mode 
when i click the button how can i learn its row?
ui->tableWidget->row(btn) does not work. because btn is not qtablewidgetitem