QGIS API Documentation 3.39.0-Master (699c004a5df)
Loading...
Searching...
No Matches
qgslocaldefaultsettings.h
Go to the documentation of this file.
1/***************************************************************************
2 qgslocaldefaultsettings.h
3 ---------------------------
4 begin : January 2020
5 copyright : (C) 2020 by Nyall Dawson
6 email : nyall dot dawson at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15#ifndef QGSLOCALDEFAULTSETTINGS_H
16#define QGSLOCALDEFAULTSETTINGS_H
17
18#include "qgis_core.h"
19#include "qgis_sip.h"
20
23
40class CORE_EXPORT QgsLocalDefaultSettings
41{
42
43 public:
44
50 static void setBearingFormat( const QgsBearingNumericFormat *format );
51
59 static QgsBearingNumericFormat *bearingFormat() SIP_FACTORY;
60
68 static void setGeographicCoordinateFormat( const QgsGeographicCoordinateNumericFormat *format );
69
79 static QgsGeographicCoordinateNumericFormat *geographicCoordinateFormat() SIP_FACTORY;
80
81};
82
83#endif // QGSLOCALDEFAULTSETTINGS_H
A numeric formatter which returns a text representation of a direction/bearing.
A numeric formatter which returns a text representation of a geographic coordinate (latitude or longi...
Contains local default settings which should be respected when creating new objects such as QgsProjec...
#define SIP_FACTORY
Definition qgis_sip.h:76