Thanks JPN, I was checking to make sure
Qt Code:
  1. if (e->type() ==QEvent::MouseButtonPress)
To copy to clipboard, switch view to plain text mode 

I just left it out to help simplify my problem for the reader. Good eye though