20 #ifndef QGSSERVERSETTINGS_H    21 #define QGSSERVERSETTINGS_H    27 #include "qgis_server.h"    69       QGIS_SERVER_API_WFS3_MAX_LIMIT 
   109     bool load( 
const QString &envVarName );
   114     void logSummary() 
const;
   120     QString iniFile() 
const;
   126     bool parallelRendering() 
const;
   132     int maxThreads() 
const;
   138     int maxCacheLayers() 
const;
   150     QString projectFile() 
const;
   156     QString logFile() 
const;
   163     bool logStderr() 
const;
   169     qint64 cacheSize() 
const;
   175     QString cacheDirectory() 
const;
   182     QString overrideSystemLocale() 
const;
   189     bool showGroupSeparator() 
const;
   213     QString apiResourcesDirectory() 
const;
   223     qlonglong apiWfs3MaxLimit() 
const;
   228     QMap<QgsServerSettingsEnv::EnvVar, QString> getEnv() 
const;
   229     void loadQSettings( 
const QString &envOptPath ) 
const;
   230     void prioritize( 
const QMap<QgsServerSettingsEnv::EnvVar, QString> &env );
   232     QMap< QgsServerSettingsEnv::EnvVar, Setting > mSettings;
 
SERVER_EXPORT int wmsMaxWidth(const QgsProject &project)
Returns the maximum width for WMS images defined in a QGIS project. 
Source
Source of the parameter used in the configuration. 
Maximum width for a WMS request. The most conservative between this and the project one is used (sinc...
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...
Override system locale (since QGIS 3.8) 
Maximum height for a WMS request. The most conservative between this and the project one is used (sin...
Provides some enum describing the environment currently supported for configuration. 
QgsServerSettingsEnv::EnvVar envVar
QgsServerSettingsEnv::Source src
EnvVar
Environment variables to configure the server. 
SERVER_EXPORT int wmsMaxHeight(const QgsProject &project)
Returns the maximum height for WMS images defined in a QGIS project.