Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
hi-res zoom in pixmap in qproxywidget
schollii last edited by
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.