20 #ifndef QGSSERVERSETTINGS_H 21 #define QGSSERVERSETTINGS_H 27 #include "qgis_server.h" 105 bool load(
const QString &envVarName );
110 void logSummary()
const;
116 QString iniFile()
const;
122 bool parallelRendering()
const;
128 int maxThreads()
const;
134 int maxCacheLayers()
const;
146 QString projectFile()
const;
152 QString logFile()
const;
159 bool logStderr()
const;
165 qint64 cacheSize()
const;
171 QString cacheDirectory()
const;
178 QString overrideSystemLocale()
const;
185 bool showGroupSeparator()
const;
190 QMap<QgsServerSettingsEnv::EnvVar, QString> getEnv()
const;
191 void loadQSettings(
const QString &envOptPath )
const;
192 void prioritize(
const QMap<QgsServerSettingsEnv::EnvVar, QString> &env );
194 QMap< QgsServerSettingsEnv::EnvVar, Setting > mSettings;
Source
Source of the parameter used in the configuration.
Provides a way to retrieve settings by prioritizing according to environment variables, ini file and default values.
MessageLevel
Level for messages This will be used both for message log and message bar in application.
Show group (thousands) separator when formatting numeric values, defaults to FALSE (since QGIS 3...
Provides some enum describing the environment currently supported for configuration.
QgsServerSettingsEnv::EnvVar envVar
QgsServerSettingsEnv::Source src
EnvVar
Environment variables to configure the server.