https://amin-ahmadi.com/2015/12/14/how-to-get-position-and-size-of-another-program-window-in-qt/
How to get position and size of another program's window in Qt?