[Qt-interest] adding a magnifying glass effect to QGraphicsView
Andy Brice
andy at oryxdigital.com
Wed Dec 16 15:00:15 CET 2009
I want to add a magnifying glass effect to a QGraphicsView, similar to this:
http://labs.trolltech.com/blogs/2009/10/07/magnifying-glass/
It seems I can use a similar approach, using QGraphicsScene::render() to
draw a x2 scaled pixmap into a msak on top of the QGraphicsView. Is that
the best approach, or is there a simpler/better one?
I note the 'deform' example uses a different approach via QPainterPath.
Would that work with a QGraphicsView?
best regards
Andy Brice
http://www.perfecttableplan.com
http://www.successfulsoftware.net
More information about the Qt-interest-old
mailing list