15#ifndef QGSPROJECTDISPLAYSETTINGS_H
16#define QGSPROJECTDISPLAYSETTINGS_H
47 Q_PROPERTY(
Qgis::CoordinateOrder coordinateAxisOrder READ coordinateAxisOrder WRITE setCoordinateAxisOrder NOTIFY coordinateAxisOrderChanged )
48 Q_PROPERTY(
QgsCoordinateReferenceSystem coordinateCustomCrs READ coordinateCustomCrs WRITE setCoordinateCustomCrs NOTIFY coordinateCustomCrsChanged )
106 Qgis::CoordinateDisplayType coordinateType()
const {
return mCoordinateType; }
220 void updateCoordinateCrs();
222 std::unique_ptr< QgsBearingNumericFormat > mBearingFormat;
223 std::unique_ptr< QgsGeographicCoordinateNumericFormat > mGeographicCoordinateFormat;
The Qgis class provides global constants for use throughout the application.
CoordinateDisplayType
Formats for displaying coordinates.
CoordinateOrder
Order of coordinates.
@ Default
Respect the default axis ordering for the CRS, as defined in the CRS's parameters.
This class represents a coordinate reference system (CRS).
Contains settings and properties relating to how a QgsProject should display values such as map coord...
void geographicCoordinateFormatChanged()
Emitted when the geographic coordinate format changes.
void coordinateAxisOrderChanged()
Emitted when the default coordinate axis order changes.
void bearingFormatChanged()
Emitted when the bearing format changes.
QgsCoordinateReferenceSystem coordinateCrs() const
Returns the coordinate display CRS used derived from the coordinate type.
void coordinateCrsChanged()
Emitted when the coordinate CRS changes.
void coordinateTypeChanged()
Emitted when the default coordinate format changes.
void coordinateCustomCrsChanged()
Emitted when the coordinate custom CRS changes.
QgsCoordinateReferenceSystem coordinateCustomCrs() const
Returns the coordinate custom CRS used when the project coordinate type is set to Qgis....
Qgis::CoordinateOrder coordinateAxisOrder() const
Returns default coordinate axis order to use when displaying coordinates for the project.
The class is used as a container of context for various read/write operations on other objects.
const QgsCoordinateReferenceSystem & crs