Fixes #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 unit test for the new file is also added.
:memo: Improve docstrings

Make them more readable and informative.
Also fix punctuation, spelling, and grammar mistakes.

Related to #640