Hi, I'm using a QPrinter to print my docs.

QPrinter printer;
Qt Code:
  1. printer.setFullPage(true);
  2. printer.setPageSize(QPrinter::A4);
  3. QPrintDialog dlg( &printer );
  4. if( dlg.exec() != QDialog::Accepted ) return;
To copy to clipboard, switch view to plain text mode 

I'ld like to make a preview?
The only idea as I have is print to PDF, but it is not elegant