mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			59 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			59 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/qgslocaldefaultsettings.h                                   *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsLocalDefaultSettings
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
Contains local default settings which should be respected when creating new objects
 | 
						|
such as :py:class:`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 :py:class:`QgsSettings` backend is used to store and retrieve these local settings.
 | 
						|
 | 
						|
.. versionadded:: 3.12
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgslocaldefaultsettings.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
 | 
						|
    static void setBearingFormat( const QgsBearingNumericFormat *format );
 | 
						|
%Docstring
 | 
						|
Sets the default bearing ``format``, which controls how angular bearings are displayed.
 | 
						|
 | 
						|
.. seealso:: :py:func:`bearingFormat`
 | 
						|
%End
 | 
						|
 | 
						|
    static QgsBearingNumericFormat *bearingFormat() /Factory/;
 | 
						|
%Docstring
 | 
						|
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.
 | 
						|
 | 
						|
.. seealso:: :py:func:`setBearingFormat`
 | 
						|
%End
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/qgslocaldefaultsettings.h                                   *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 |