I am writing a screen simulator of an embedded device (which contains custom widgets on top of the main QWidget), and although the native screen size is 800x600, I want to be able to scale it up and down by dragging the corner of the window. Without permission with grid layouts and stretchers (which will not scale fonts up / down), how can I do this kind of scaling? I think part of the solution could be to create a QTransform and somehow embed it in a QWidget for the whole application or its QPaintDevice or QPaintEngine. I would like to do this without putting QTransform in every custom widget, just the “main window” of QWidget.
Scott source
share