hi-res zoom in pixmap in qproxywidget



  • I have a qgraphicsview with a scene that contains qgraphicsproxywidget. The widget currently shows some small images about 25x25 via QPixmap, as described http://stackoverflow.com/questions/35283940/how-to-support-high-res-pixmap-in-qgraphicsproxywidget-when-zooming.

    I'm looking for the proper approach to supporting zooming in on the widget, without deterioratign the pixmap resolution so much. I'm finding hints that it should be possible by overriding the paint method (ie derive from QPixmap then override paint method), or of having to QImage, or some configuration options (I have tried setSmoothRendering on the QGraphicsView but this only helps a little), but it's not clear if these techniques apply here or if they are only when the pixmap is not in a proxy widget.

    Any help on this would be really appreciated.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.