You have to use:
Qt Code:
  1. int QTableView::sizeHintForColumn ( int column ) const
To copy to clipboard, switch view to plain text mode 
This will give you the size for the column, then put that number in for your column width.