QGIS API Documentation
3.28.0-Firenze (ed3ad0430f)
src
gui
settings
qgssettingsregistrygui.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgssettingsregistrygui.h
3
--------------------------------------
4
Date : July 2021
5
Copyright : (C) 2021 by Damiano Lombardi
6
Email : damiano at opengis dot ch
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
16
17
#ifndef QGSSETTINGSREGISTRYGUI_H
18
#define QGSSETTINGSREGISTRYGUI_H
19
20
#include "qgis_gui.h"
21
#include "
qgis_sip.h
"
22
#include "
qgssettingsregistry.h
"
23
#include "
qgssettingsentryimpl.h
"
24
33
class
GUI_EXPORT
QgsSettingsRegistryGui
:
public
QgsSettingsRegistry
34
{
35
public
:
36
40
QgsSettingsRegistryGui
();
41
45
virtual
~QgsSettingsRegistryGui
();
46
47
#ifndef SIP_RUN
49
static
const
inline
QgsSettingsEntryBool
settingsRespectScreenDPI =
QgsSettingsEntryBool
( QStringLiteral(
"respect_screen_dpi"
),
QgsSettings::Prefix::GUI_QGIS
,
false
);
50
52
static
const
inline
QgsSettingsEntryBool
settingsAutomaticallyCheckForPluginUpdates =
QgsSettingsEntryBool
( QStringLiteral(
"automatically-check-for-updates"
),
QgsSettings::Prefix::PLUGINS
,
true
, QStringLiteral(
"Automatically check for plugin updates on startup"
) );
53
54
#endif
55
56
};
57
58
#endif
// QGSSETTINGSREGISTRYGUI_H
QgsSettingsEntryBool
A boolean settings entry.
Definition:
qgssettingsentryimpl.h:242
QgsSettingsRegistryGui
QgsSettingsRegistryGui is used for settings introspection and collects all QgsSettingsEntry instances...
Definition:
qgssettingsregistrygui.h:34
QgsSettingsRegistry
QgsSettingsRegistry is used for settings introspection and collects a list of child QgsSettingsRegist...
Definition:
qgssettingsregistry.h:35
QgsSettings::Prefix::PLUGINS
static const char * PLUGINS
Definition:
qgssettings.h:99
QgsSettings::Prefix::GUI_QGIS
static const char * GUI_QGIS
Definition:
qgssettings.h:96
qgis_sip.h
qgssettingsentryimpl.h
qgssettingsregistry.h
Generated on Sat Oct 22 2022 16:10:47 for QGIS API Documentation by
1.9.4