Printing contents of entire QGraphicscene
I m using a subclass of QGraphicscene i.e class 'a' which has a public member QGraphicsview *view.
I want to print the entire scene and not the view.
if (QPrintDialog(&printer).exec() == QDialog::Accepted)
but it is printing blank page.
How do i go about this?Please help!