if it's QProgressDialog receiving that event (and stopping it), you can subclass QProgressDialog and override event(QEvent *event) method like this:
Qt Code:
  1. bool MyProgressDialog::event(QEvent *e)
  2. {
  3. if (e->type() == QEvent::MouseButtonRelease)
  4. {
  5. QApplication::sendEvent(parent, e);
  6. return true;
  7. }
  8. return QProgressDialog::event(e);
  9. }
To copy to clipboard, switch view to plain text mode 
where parent of your dialog is the object where you want that event to receive. If not, you can pass a pointer to object via constructor.