QGIS API Documentation  3.11.0-Master (68611307d7)
Static Public Member Functions | List of all members
QgsLocalDefaultSettings Class Reference

Contains local default settings which should be respected when creating new objects such as QgsProjects. More...

#include <qgslocaldefaultsettings.h>

Static Public Member Functions

static QgsBearingNumericFormatbearingFormat ()
 Returns the default bearing format, which controls how angular bearings are displayed. More...
 
static void setBearingFormat (const QgsBearingNumericFormat *format)
 Sets the default bearing format, which controls how angular bearings are displayed. More...
 

Detailed Description

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.

Since
QGIS 3.12

Definition at line 39 of file qgslocaldefaultsettings.h.

Member Function Documentation

◆ bearingFormat()

QgsBearingNumericFormat * QgsLocalDefaultSettings::bearingFormat ( )
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.

See also
setBearingFormat()

Definition at line 39 of file qgslocaldefaultsettings.cpp.

◆ setBearingFormat()

void QgsLocalDefaultSettings::setBearingFormat ( const QgsBearingNumericFormat format)
static

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

See also
bearingFormat()

Definition at line 26 of file qgslocaldefaultsettings.cpp.


The documentation for this class was generated from the following files: