[Qt-interest] Moving viewport of QGraphicsView from cornerWidget
Arvin Schnell
aschnell at suse.de
Mon Jan 19 21:10:40 CET 2009
Hi,
I would like to place a cornerWidget in a QGraphicsView that,
when pressed, shows a small window containing the demagnified
content of the QGraphicsScene. Moving the mouse should then move
the viewport of the QGraphicsView. Gimp has this nice feature.
Does anybody know of a Qt implementation for this?
It shouldn't be so difficult: The QGraphicsScene can be rendered
into a QPixmap. Anyway, I don't want to reimplementing the wheel.
Thanks,
Arvin
--
Arvin Schnell, <aschnell at suse.de>
Software Engineer, Research & Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
More information about the Qt-interest-old
mailing list