PDA

View Full Version : Print preview on QGraphicsItem



lni
13th April 2012, 06:25
Hi,

I have a root QGraphicsItem with many child iems, I just want to print preview this root item along with all its child items down the path, without using QGraphicsScene::render().

Is there a way to print preview a particular QGraphicsItem and all its child items? I use QGraphicsItem::paint() but it doesn't traverse down its child items...

Thanks!