You can update the data e.g. via
Qt Code:
  1. QTableWidget *tw = /*...*/
  2. tw->item(0,0)->setText("foo");
To copy to clipboard, switch view to plain text mode