You could use QGraphicsView::scale to mirror the view and then mirror back all items, like:
// ...
view->scale(-1, 0);
{
item->scale(-1, 0);
item->translate(-item->boundingRect().width(), 0);
}
QGraphicsView* view;
// ...
view->scale(-1, 0);
foreach (QGraphicsItem* item, view->items)
{
item->scale(-1, 0);
item->translate(-item->boundingRect().width(), 0);
}
To copy to clipboard, switch view to plain text mode
This works quite well in one of my applications. Depending on how you use the scene's and items' coordinates (e.g. mouse events), you will need to make other changes too.
Bookmarks