From the user interface in QGIS, I can change the coordinate display (unit) for a project by going to:
Project > Properties... > General (tab) and under the
Coordinate Display section can change the setting for
Display coordinates using to
How do I do this with pyqgis?
Things tried so far:
Searching the results of
QSettings().allKeys()but there are 748 - so I may have missed it.
QSettings().setValue('QgsCollapsibleGroupBox/QgsProjectPropertiesBase/mCoordinateDisplayGroup/collapsed', True)allows me to collapse and expand the group box that contains the setting - useless, but so close!
QSettings().value('qgis/measure/displayunits'), but making changes in the GUI doesn't seem to change the value of this, nor does guessing with
Also tried setting the destination CRS to one that uses decimal degrees, as per AWGIS's suggestion, but again it's made no difference:
Bonus points if you can point me to a reference where I could have looked this up myself!
setDestinationCrs(), but without any success.