Hi,
I am trying to make a screenshot/Pixmap out of certain graphicItems on a QGraphicsScene object like this:
foreach(QPointer<ListOfItems> item, itemsToPrint.list())
{
itemGroup->addToGroup(item);
}
QRectF selectionRect
= itemGroup
->boundingRect
();
QPixmap image
(selectionRect.
width(), selectionRect.
height());
QGraphicsItemGroup* itemGroup = new QGraphicsItemGroup(0);
foreach(QPointer<ListOfItems> item, itemsToPrint.list())
{
itemGroup->addToGroup(item);
}
QRectF selectionRect = itemGroup->boundingRect();
QPixmap image(selectionRect.width(), selectionRect.height());
To copy to clipboard, switch view to plain text mode
Then render the image and I hoped that it will render/print in the screenshot only the items I need to. But instead of that, the screnshot that is created is fuzzy (nothing visible is shown properly), and the items from the main scene disappear 
How can I make screenshot of part of the scene over the boundingRect of items that match some criteria? any example on this?
thanks
Bookmarks