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.
The only method that I can come up with is to generate a dummy QWidget class in other classes. But that could be low efficient. How do you think of that?