Related #576 High/Low DPI Adapting

The Qt UI would change the size according to the logical DPI of the computer
Only Windows and Linux have been tested. (Should also work on Mac but have not tested).
The function is unfinished.
I don't think the performance drop is significant enough to worry about in this case, would be more of a concern in something like a tight loop. Can always measure it if you're very concerned.