QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
Contains local default settings which should be respected when creating new objects such as QgsProjects. More...
#include <qgslocaldefaultsettings.h>
Static Public Member Functions | |
static QgsBearingNumericFormat * | bearingFormat () |
Returns the default bearing format, which controls how angular bearings are displayed. | |
static QgsGeographicCoordinateNumericFormat * | geographicCoordinateFormat () |
Returns the default geographic coordinate format, which controls how geographic coordinates are displayed. | |
static void | setBearingFormat (const QgsBearingNumericFormat *format) |
Sets the default bearing format, which controls how angular bearings are displayed. | |
static void | setGeographicCoordinateFormat (const QgsGeographicCoordinateNumericFormat *format) |
Sets the default geographic coordinate format, which controls how geographic coordinates are displayed. | |
Contains local default settings which should be respected when creating new objects such as QgsProjects.
This class contains a variety of default setting values. These values are local, profile specific settings which may have been configured or tweaked by the user (as opposed to global, fixed default settings).
The values encapsulated here should be inherited when creating new objects such as new QGIS projects.
Typically, the QgsSettings backend is used to store and retrieve these local settings.
Definition at line 40 of file qgslocaldefaultsettings.h.
|
static |
Returns the default bearing format, which controls how angular bearings are displayed.
This method returns a new object and the caller takes ownership of the returned value.
Definition at line 38 of file qgslocaldefaultsettings.cpp.
|
static |
Returns the default geographic coordinate format, which controls how geographic coordinates are displayed.
This method returns a new object and the caller takes ownership of the returned value.
Definition at line 69 of file qgslocaldefaultsettings.cpp.
|
static |
Sets the default bearing format, which controls how angular bearings are displayed.
Definition at line 25 of file qgslocaldefaultsettings.cpp.
|
static |
Sets the default geographic coordinate format, which controls how geographic coordinates are displayed.
Definition at line 56 of file qgslocaldefaultsettings.cpp.