I wrote a control for entering and displaying angles. This is mainly for
the location map, but we might find other uses for it too. I intend to
replace the existing angle spin boxes in the location form, since this
version allows more flexibility.
http://porpoisehead.net/misc/angleSpinBoxTest.tar.gz
To build:
qmake -project
qmake
make
To enter new values, you can type them in. recognised input formats include
abbreviated versions of the DMS and HMS formats, as well as decimal values,
e.g.
12d
-34d 7m
4h
-4.3
In checking this I just found a small bug with entering values like
6h 3m, but I will fix this shortly.
Unless anyone lodges any objections in the next day or two, I will integrate
this into the location dialog.
Matthew
|