Quote Originally Posted by saa7_go View Post
You can access selected indexes through QAbstractItemView::selectionModel().

Qt Code:
  1. tableView->selectionModel()->selectedIndexes();
To copy to clipboard, switch view to plain text mode 
Call the selectedIndexes() method after some event from MainWindow (that contains the tableView)?