Class: QgsLocalDefaultSettings

class qgis.core.QgsLocalDefaultSettings

Bases: sip.wrapper

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.

New in version 3.12:

Methods

bearingFormat

Returns the default bearing format, which controls how angular bearings are displayed.

setBearingFormat

Sets the default bearing format, which controls how angular bearings are displayed.

bearingFormat() QgsBearingNumericFormat

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.

Return type

QgsBearingNumericFormat

setBearingFormat(format: QgsBearingNumericFormat)

Sets the default bearing format, which controls how angular bearings are displayed.

See also

bearingFormat()

Parameters

format (QgsBearingNumericFormat) –