https://forum.qt.io/topic/124559/qpaintdevice-height-how-to-get-max-height-of-screen
QPaintDevice::height(): how to get max. height of screen? | Qt Forum
Mar 9, 2021 - QPaintDevice::height() returns the height of the application window, not the height of monitor screen. Ex: Assume a monitor screen that is 1920 pixels wide a...
how to getheightmaxscreenqt