Hi,

You can try to do something like

Qt Code:
  1. // Principal widget
  2. void ChildWidget::myFunc(QPainter* painter)
  3. {
  4. painter->begin(parentWidget());
  5. // Drawing
  6. painter->end();
  7. }
To copy to clipboard, switch view to plain text mode 

PS. If you use Qt 4.1 you can print to a PDF file directly using

Qt Code:
  1. printer.setPrinterMode(QPrinter::HighResolution);
  2. printer.setOutputFormat(QPrinter::PdfFormat);
To copy to clipboard, switch view to plain text mode 

PPS. Sorry for my very bad English.

PPPS. For vratojr: I'm italian like you. If you like you can write me in private post in Italian