Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Is there some event sent when the devicePixelRatio for a widget changes?
gvanvoor last edited by
I'm using different images for hi res and low res screens, and in order to be able to use the correct one when moving a toplevel widget from a hi res screen to a low res screen, I'ld like to know if some event is sent to widgets when their devicePixelRatio changes?
I'm currently monitoring the moveEvent of the top level widget in the relevant children but it would be handier if every widget was sent an event (currently (in Qt 5.3.1) they don't even get a paintEvent).
Thanks in advance.
there is screenChanged(QScreen*)