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.
+1

You should always be as precise as possible when catching exceptions. Catching all exceptions is a bad idea because you will be incorrectly handling most exceptions and will make it harder for people to troubleshoot in the future should a different unexpected exception occurs.