Try this:
Qt Code:
  1. connect(view->selectionModel(), SIGNAL(selectionChanged(const QItemSelection &, const QItemSelection &)), this, SLOT(yourSlotGoesHere()));
To copy to clipboard, switch view to plain text mode 
Just make sure clicking outside any item clears the selection.