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.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to