Qt 6.11 is out! See what's new in the release
blog
Zoom - what is the best way to do this?
General and Desktop
11
Posts
3
Posters
3.8k
Views
1
Watching
-
You could place your whole UI in a QGraphicsView and use "QGraphicsProxyWidget":http://qt-project.org/doc/qt-4.8/qgraphicsproxywidget.html#details to embed QWidgets there. Then zooming should be as easy as calling scale on the graphicsview/scene.
-
[quote author="qxoz" date="1338807631"]Or you can zoom by changing font size[/quote]
Since this would only work on controls with text on them, I'm not sure it's a good idea for increasing accessibility for partially sight-disabled. You'd need to take care of all other controls with individual hacks (tool-buttons, controls with custom paint event, labels that show images, etc.).