[PyQt] QGraphicsView problems with RenderHints - SmoothPixmapTransform has no effect
michael.held at bc.biol.ethz.ch
Thu Nov 4 16:02:51 GMT 2010
I am drawing a QPixmap in QGraphicsScene. The QPixmap looks not very nice after scaling to a smaller size.
Setting the render hints seems to have no effect at all. I checked the values and they are changed successfully.
image_viewer.setRenderHints(QPainter.Antialiasing | QPainter.SmoothPixmapTransform)
Any ideas why the pixmap transform such as scale is not smoothed? It works for QLabel.
I am using Qt 4.7.0 (Cocoa 64bit), SIP 4.11.2, PyQt 4.8.1, MacOS 10.6.4, Python 2.7
More information about the PyQt