Closed raffmont closed 2 years ago
Generally looks fine for me. Good job!
One behavior comment is: mUseMetersForSmallDistance I think make sense to apply only for meter unit and ignore for all other units (if we not plan to apply yards or something like this).
Also before merge I will apply some formatting changes and other changes to follow project style.
PR merged with fixes:
Thanks for good job!
The Scale widget has been enhanced with three distance units: kilometers, nautical, and miles. For each distance unit, it is possible to choose if using meters for small distances (less than 1km, less than one nautical mile, less than 1 mile). The CMakeLists.txt files in the demo and lib have been changed, enabling the developer to choose the QT version manually.