I'm trying to create a resolution independent UI for my QGraphicsScene base application. The main window consists of a QGraphicsView that is full screen, with no window border. I'm doing this by using a local coordinates system where the long dimension of the screen is always one. For example, resolutions such as 640x480, 102x768, etc would have a graphics scene size of 1.0x0.75. Resolutions such as 1280x768 would have a scene size of 1.0x0.56. The problem is that it usually scales very badly. Text and image look very grainy. I would have though that keeping the same aspect ratio would ensure a good looking scaled up image. Is this correct?
Is there a technique i can use to have a resolution independent coordinate system that looks good when scaled? I'm using a mixture of QWidgets, pixmaps, and painted items. I plan to use a QGLWidget as the view port for my graphics view, and enable anti aliasing. I haven't tried that yet though.
Bookmarks