QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
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"
24
34{
35 public:
36
41
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
A boolean settings entry.
QgsSettingsRegistryGui is used for settings introspection and collects all QgsSettingsEntry instances...
QgsSettingsRegistry is used for settings introspection and collects a list of child QgsSettingsRegist...
static const char * PLUGINS
Definition: qgssettings.h:99
static const char * GUI_QGIS
Definition: qgssettings.h:96