[Interest] High-dpi fixing for Qt 5.5

Nikos Chantziaras realnc at gmail.com
Fri Mar 2 15:54:41 CET 2018


On 02/03/18 16:37, Elvis Stansvik wrote:
> [...]
> How can I (as application developer) get notified of screen changes of
> non-QWindow-backed widgets?

There seems to be two ways to do this. One is using one of the QScreen 
signals:

   http://doc.qt.io/qt-5/qscreen.html

However, another one seems to be using QDesktopWidget signals:

   http://doc.qt.io/qt-5/qdesktopwidget.html

QApplication has static functions to get the current QDesktopWidget, the 
current QScreen primary screen and all screens. It also has signals to 
get notified of screen changes.




More information about the Interest mailing list