Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
4.7.4
-
None
-
Windows 7 Ultimate x64
Mac OS X Lion 10.7.1
Ubuntu 11.04 64-bit
Qt SDK 1.1.3 (excluding Qt 4.8 beta)
Qt 4.7.4
Description
1) Create a QLineEdit.
2) Put it in a QGraphicsProxyWidget and include the proxy in a QGraphicsScene, or just call addWidget from the QGraphicsScene instance.
3) Create a QGraphicsView and set its scene to be the scene you have just created.
4) Now scale the view using: QGraphicsView::setScale(qreal sx, qreal sy).
5) Notice that on Windows and Linux the text looks good, but on Mac OS X it is displayed pixelated.
Windows and Linux:
===========
text: scaled (rasterized at actual resolution)
QLineEdit's border: magnified (pixelated)
—————————-
Mac OS X:
===========
text: magnified (pixelated)
QLineEdit's border: magnified (pixelated)
—————————-
A sample project is provided.