15#ifndef QGSPROJECTDISPLAYSETTINGS_H
16#define QGSPROJECTDISPLAYSETTINGS_H
221 void updateCoordinateCrs();
223 std::unique_ptr< QgsBearingNumericFormat > mBearingFormat;
224 std::unique_ptr< QgsGeographicCoordinateNumericFormat > mGeographicCoordinateFormat;
Provides global constants and enumerations 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.
Represents a coordinate reference system (CRS).
const QgsGeographicCoordinateNumericFormat * geographicCoordinateFormat() const
Returns the project's geographic coordinate format, which controls how geographic coordinates associa...
void geographicCoordinateFormatChanged()
Emitted when the geographic coordinate format changes.
void setCoordinateAxisOrder(Qgis::CoordinateOrder order)
Sets the default coordinate axis order to use when displaying coordinates for the project.
void setCoordinateCustomCrs(const QgsCoordinateReferenceSystem &crs)
Sets the coordinate custom CRS used when the project coordinate type is set to Qgis....
void coordinateAxisOrderChanged()
Emitted when the default coordinate axis order changes.
QgsCoordinateReferenceSystem coordinateCustomCrs
void reset()
Resets the settings to a default state.
const QgsBearingNumericFormat * bearingFormat() const
Returns the project bearing's format, which controls how bearings associated with the project are dis...
void bearingFormatChanged()
Emitted when the bearing format changes.
Qgis::CoordinateOrder coordinateAxisOrder
Qgis::CoordinateDisplayType coordinateType
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.
QgsCoordinateReferenceSystem coordinateCrs
QgsProjectDisplaySettings(QObject *parent=nullptr)
Constructor for QgsProjectDisplaySettings with the specified parent object.
void coordinateCustomCrsChanged()
Emitted when the coordinate custom CRS changes.
void setCoordinateType(Qgis::CoordinateDisplayType type)
Sets the default coordinate type for the project.
void setGeographicCoordinateFormat(QgsGeographicCoordinateNumericFormat *format)
Sets the project geographic coordinate format, which controls how geographic coordinates associated w...
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.
void setBearingFormat(QgsBearingNumericFormat *format)
Sets the project bearing format, which controls how bearings associated with the project are displaye...
A container for the context for various read/write operations on objects.