The first thing that comes to my mind if you don't want to use your QLineEdit pointer, is that you can connect to the cell widget signals by using:
Qt Code:
  1. connect(pTableWidget->cellWidget(row,col),SIGNAL(someSignal()),pObj,SLOT(someSlot()));
To copy to clipboard, switch view to plain text mode 

but you can also just use the pointer to your QLineEdit.