QGIS API Documentation 3.43.0-Master (1896cf2247d)
qgsapplication.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsapplication.h - Accessors for application-wide data
3 --------------------------------------
4 Date : 02-Jan-2006
5 Copyright : (C) 2006 by Tom Elwertowski
6 Email : telwertowski at users dot sourceforge dot net
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 QGSAPPLICATION_H
16#define QGSAPPLICATION_H
17
18#include "qgis_core.h"
19#include <QApplication>
20#include <QEvent>
21#include <QStringList>
22#include <QColor>
23
24#include <memory>
25#include "qgis_sip.h"
26#include "qgsconfig.h"
29
36class QgsTaskManager;
45class QgsSvgCache;
46class QgsImageCache;
47class QgsSourceCache;
55class QgsMessageLog;
57class QgsAnnotationRegistry;
58class QgsUserProfile;
62class QgsAuthManager;
65class QTranslator;
68class QgsStyleModel;
79class QgsFontManager;
83
98class CORE_EXPORT QgsApplication : public QApplication
99{
100
101#ifdef SIP_RUN
102 % TypeCode
103 // Convert a Python argv list to a conventional C argc count and argv array.
104 static char **qtgui_ArgvToC( PyObject *argvlist, int &argc )
105 {
106 char **argv;
107
108 argc = PyList_GET_SIZE( argvlist );
109
110 // Allocate space for two copies of the argument pointers, plus the
111 // terminating NULL.
112 if ( ( argv = ( char ** )sipMalloc( 2 * ( argc + 1 ) * sizeof( char * ) ) ) == NULL )
113 return NULL;
114
115 // Convert the list.
116 for ( int a = 0; a < argc; ++a )
117 {
118 char *arg;
119 // Get the argument and allocate memory for it.
120 if ( ( arg = PyBytes_AsString( PyList_GET_ITEM( argvlist, a ) ) ) == NULL ||
121 ( argv[a] = ( char * )sipMalloc( strlen( arg ) + 1 ) ) == NULL )
122 return NULL;
123 // Copy the argument and save a pointer to it.
124 strcpy( argv[a], arg );
125 argv[a + argc + 1] = argv[a];
126 }
127
128 argv[argc + argc + 1] = argv[argc] = NULL;
129
130 return argv;
131 }
132
133 // Remove arguments from the Python argv list that have been removed from the
134 // C argv array.
135 static void qtgui_UpdatePyArgv( PyObject *argvlist, int argc, char **argv )
136 {
137 for ( int a = 0, na = 0; a < argc; ++a )
138 {
139 // See if it was removed.
140 if ( argv[na] == argv[a + argc + 1] )
141 ++na;
142 else
143 PyList_SetSlice( argvlist, na, na + 1, NULL );
144 }
145 }
146 % End
147#endif
148
149 Q_OBJECT
150
151 public:
152
166
167 static const char *QGIS_ORGANIZATION_NAME;
168 static const char *QGIS_ORGANIZATION_DOMAIN;
169 static const char *QGIS_APPLICATION_NAME;
170#ifndef SIP_RUN
171
181 QgsApplication( int &argc, char **argv, bool GUIenabled, const QString &profileFolder = QString(), const QString &platformName = "external" );
182#else
183
192 QgsApplication( SIP_PYLIST argv, bool GUIenabled, QString profileFolder = QString(), QString platformName = "external" ) / PostHook = __pyQtQAppHook__ / [( int &argc, char **argv, bool GUIenabled, const QString &profileFolder = QString(), const QString &platformName = "desktop" )];
193 % MethodCode
194 // The Python interface is a list of argument strings that is modified.
195
196 int argc;
197 char **argv;
198
199 // Convert the list.
200 if ( ( argv = qtgui_ArgvToC( a0, argc ) ) == NULL )
201 sipIsErr = 1;
202 else
203 {
204 // Create it now the arguments are right.
205 static int nargc = argc;
206
207 sipCpp = new sipQgsApplication( nargc, argv, a1, *a2, *a3 );
208
209 // Now modify the original list.
210 qtgui_UpdatePyArgv( a0, argc, argv );
211 }
212 % End
213#endif
214
215 ~QgsApplication() override;
216
221 static QgsApplication *instance();
222
230 static void init( QString profileFolder = QString() ) SIP_SKIP;
231
233 bool event( QEvent *event ) override;
234
236 bool notify( QObject *receiver, QEvent *event ) override;
237
239 static void setFileOpenEventReceiver( QObject *receiver );
240
251 static void setThemeName( const QString &themeName );
252
257 static QString resolvePkgPath();
258
266 static QString themeName();
267
275 static void setUITheme( const QString &themeName );
276
283 static QHash<QString, QString> uiThemes();
284
286 static QString authorsFilePath();
287
293 static QString contributorsFilePath();
294
300 static QString developersMapFilePath();
301
303 static QString sponsorsFilePath();
304
306 static QString donorsFilePath();
307
309 static QString serverResourcesPath();
310
314 static QString translatorsFilePath();
315
319 static QString licenceFilePath();
320
322 static QString i18nPath();
323
327 static QString metadataPath();
328
330 static QString qgisMasterDatabaseFilePath();
331
333 static QString qgisSettingsDirPath();
334
336 static QString qgisUserDatabaseFilePath();
337
342 Q_DECL_DEPRECATED static QString qgisAuthDatabaseFilePath() SIP_DEPRECATED;
343
351 static QString qgisAuthDatabaseUri();
352
354 static QString splashPath();
355
357 static QString iconsPath();
358
360 static QString srsDatabaseFilePath();
361
367 static void setSvgPaths( const QStringList &svgPaths );
368
370 static QStringList svgPaths();
371
375 static QStringList layoutTemplatePaths();
376
378 static QMap<QString, QString> systemEnvVars();
379
381 static QString prefixPath();
382
384 static QString pluginPath();
385
387 static QString pkgDataPath();
388
390 static QString activeThemePath();
391
393 static QString defaultThemePath();
394
399 static QString iconPath( const QString &iconFile );
400
408 static QIcon getThemeIcon( const QString &name, const QColor &fillColor = QColor(), const QColor &strokeColor = QColor() );
409
424
431 static QCursor getThemeCursor( Cursor cursor );
432
441 static QPixmap getThemePixmap( const QString &name, const QColor &foreColor = QColor(), const QColor &backColor = QColor(), int size = 16 );
442
444 static QString userStylePath();
445
451 static QRegularExpression shortNameRegularExpression();
452
457 static QString userLoginName();
458
463 static QString userFullName();
464
469 static QString osName();
470
478 static int systemMemorySizeMb();
479
484 static QString platform();
485
486
498 static QString applicationFullName();
499
503 static QString locale();
504
511 static void setLocale( const QLocale &locale );
512
514 static QString userThemesFolder();
515
517 static QString defaultStylePath();
518
520 static QString defaultThemesFolder();
521
523 static QString libraryPath();
524
526 static QString libexecPath();
527
534 static QString qmlImportPath();
535
537 static void setPrefixPath( const QString &prefixPath, bool useDefaultPaths = false );
538
540 static void setPluginPath( const QString &pluginPath );
541
543 static void setPkgDataPath( const QString &pkgDataPath );
544
546 static void setDefaultSvgPaths( const QStringList &pathList );
547
549 static void setAuthDatabaseDirPath( const QString &authDbDirPath );
550
552 static void initQgis();
553
555 static bool createDatabase( QString *errorMessage = nullptr );
556
558 static bool createThemeFolder();
559
561 static void exitQgis();
562
564 static QString appIconPath();
565
568 {
569 XDR = 0, // network, or big-endian, byte order
570 NDR = 1 // little-endian byte order
571 };
572
574 static endian_t endian();
575
594 static QString reportStyleSheet( QgsApplication::StyleSheetType styleSheetType = QgsApplication::StyleSheetType::Qt );
595
600 static QString showSettings();
601
609 static void registerOgrDrivers();
610
612 static QString absolutePathToRelativePath( const QString &apath, const QString &targetPath );
614 static QString relativePathToAbsolutePath( const QString &rpath, const QString &targetPath );
615
617 static bool isRunningFromBuildDir() { return ABISYM( mRunningFromBuildDir ); }
618#if defined(_MSC_VER) && !defined(USING_NMAKE) && !defined(USING_NINJA)
619 static QString cfgIntDir() SIP_SKIP;
620#endif
622 static QString buildSourcePath();
624 static QString buildOutputPath();
625
631 static void skipGdalDriver( const QString &driver );
632
638 static void restoreGdalDriver( const QString &driver );
639
644 static QStringList skippedGdalDrivers();
645
652 static void applyGdalSkippedDrivers();
653
658 static void registerGdalDriversFromSettings();
659
666 static QStringList deferredSkippedGdalDrivers();
667
674 static void setSkippedGdalDrivers( const QStringList &skippedGdalDrivers,
675 const QStringList &deferredSkippedGdalDrivers );
676
680 static int maxThreads();
681
686 static void setMaxThreads( int maxThreads );
687
692 static QgsTaskManager *taskManager();
693
699 Q_DECL_DEPRECATED static QgsSettingsRegistryCore *settingsRegistryCore() SIP_KEEPREFERENCE SIP_DEPRECATED;
700
704 static QgsColorSchemeRegistry *colorSchemeRegistry() SIP_KEEPREFERENCE;
705
709 static QgsPaintEffectRegistry *paintEffectRegistry() SIP_KEEPREFERENCE;
710
714 static QgsRendererRegistry *rendererRegistry() SIP_KEEPREFERENCE;
715
720 static QgsRasterRendererRegistry *rasterRendererRegistry() SIP_SKIP;
721
726 static QgsPointCloudRendererRegistry *pointCloudRendererRegistry() SIP_KEEPREFERENCE;
727
732 static QgsTiledSceneRendererRegistry *tiledSceneRendererRegistry() SIP_KEEPREFERENCE;
733
738 static QgsDataItemProviderRegistry *dataItemProviderRegistry() SIP_KEEPREFERENCE;
739
746 static QgsCoordinateReferenceSystemRegistry *coordinateReferenceSystemRegistry() SIP_KEEPREFERENCE;
747
754 static QgsSvgCache *svgCache();
755
762 static QgsImageCache *imageCache();
763
769 static QgsSourceCache *sourceCache();
770
775 static QgsNetworkContentFetcherRegistry *networkContentFetcherRegistry() SIP_KEEPREFERENCE;
776
781 static QgsValidityCheckRegistry *validityCheckRegistry() SIP_KEEPREFERENCE;
782
786 static QgsSymbolLayerRegistry *symbolLayerRegistry() SIP_KEEPREFERENCE;
787
792 static QgsCalloutRegistry *calloutRegistry() SIP_KEEPREFERENCE;
793
797 static QgsLayoutItemRegistry *layoutItemRegistry() SIP_KEEPREFERENCE;
798
803 static QgsAnnotationItemRegistry *annotationItemRegistry() SIP_KEEPREFERENCE;
804
808 static QgsGpsConnectionRegistry *gpsConnectionRegistry() SIP_KEEPREFERENCE;
809
814 static QgsBabelFormatRegistry *gpsBabelFormatRegistry() SIP_KEEPREFERENCE;
815
819 static QgsPluginLayerRegistry *pluginLayerRegistry() SIP_KEEPREFERENCE;
820
825 static QgsClassificationMethodRegistry *classificationMethodRegistry() SIP_KEEPREFERENCE;
826
831 static QgsBookmarkManager *bookmarkManager();
832
838 static QgsTileDownloadManager *tileDownloadManager() SIP_SKIP;
839
844 static QgsRecentStyleHandler *recentStyleHandler() SIP_KEEPREFERENCE;
845
851 static QgsDatabaseQueryLog *databaseQueryLog() SIP_KEEPREFERENCE;
852
860 static QgsStyleModel *defaultStyleModel();
861
867 static QgsFontManager *fontManager() SIP_KEEPREFERENCE;
868
873 static QgsSensorRegistry *sensorRegistry() SIP_KEEPREFERENCE;
874
878 static QgsMessageLog *messageLog();
879
885 static QgsAuthManager *authManager();
886
891 static QgsAuthConfigurationStorageRegistry *authConfigurationStorageRegistry();
892
897 static QgsProcessingRegistry *processingRegistry();
898
902 static QgsPageSizeRegistry *pageSizeRegistry() SIP_KEEPREFERENCE;
903
908 static QgsAnnotationRegistry *annotationRegistry() SIP_SKIP;
909
914 static QgsActionScopeRegistry *actionScopeRegistry() SIP_KEEPREFERENCE;
915
920 static QgsConnectionRegistry *connectionRegistry();
921
925 static QgsRuntimeProfiler *profiler();
926
932 static QgsNumericFormatRegistry *numericFormatRegistry() SIP_KEEPREFERENCE;
933
937 static QgsFieldFormatterRegistry *fieldFormatterRegistry() SIP_KEEPREFERENCE;
938
942 static Qgs3DRendererRegistry *renderer3DRegistry() SIP_KEEPREFERENCE;
943
948 static Qgs3DSymbolRegistry *symbol3DRegistry() SIP_KEEPREFERENCE;
949
955 static QgsScaleBarRendererRegistry *scaleBarRendererRegistry() SIP_KEEPREFERENCE;
956
962 static QgsLabelingEngineRuleRegistry *labelingEngineRuleRegistry() SIP_KEEPREFERENCE;
963
968 static QgsProjectStorageRegistry *projectStorageRegistry() SIP_KEEPREFERENCE;
969
974 static QgsLayerMetadataProviderRegistry *layerMetadataProviderRegistry() SIP_KEEPREFERENCE;
975
980 static QgsExternalStorageRegistry *externalStorageRegistry() SIP_KEEPREFERENCE;
981
986 static QgsProfileSourceRegistry *profileSourceRegistry() SIP_KEEPREFERENCE;
987
995 static QgsLocalizedDataPathRegistry *localizedDataPathRegistry() SIP_KEEPREFERENCE;
996
1007 static QString nullRepresentation();
1008
1019 static void setNullRepresentation( const QString &nullRepresentation );
1020
1027 static QVariantMap customVariables();
1028
1035 static void setCustomVariables( const QVariantMap &customVariables );
1036
1041 static void setCustomVariable( const QString &name, const QVariant &value );
1042
1052 static int scaleIconSize( int standardSize, bool applyDevicePixelRatio = false );
1053
1062 int maxConcurrentConnectionsPerPool() const;
1063
1069 static void setTranslation( const QString &translation );
1070
1076 QString translation() const;
1077
1083 void collectTranslatableObjects( QgsTranslationContext *translationContext );
1084
1085
1086#ifndef SIP_RUN
1099#endif
1100
1101#ifdef SIP_RUN
1102 SIP_IF_FEATURE( ANDROID )
1103 //dummy method to workaround sip generation issue
1104 bool x11EventFilter( XEvent *event );
1105 SIP_END
1106#endif
1107
1108 signals:
1110 void preNotify( QObject *receiver, QEvent *event, bool *done ) SIP_SKIP;
1111
1116
1124
1132
1133
1140
1141
1142 private:
1143
1144 static void copyPath( const QString &src, const QString &dst );
1145 static QObject *ABISYM( mFileOpenEventReceiver );
1146
1147 static bool ABISYM( mInitialized );
1148
1150 static bool ABISYM( mRunningFromBuildDir );
1151
1154 static int ABISYM( sMaxThreads );
1155
1156 QMap<QString, QIcon> mIconCache;
1157 QMap<Cursor, QCursor> mCursorCache;
1158
1159 QTranslator *mQgisTranslator = nullptr;
1160 QTranslator *mQtTranslator = nullptr;
1161 QTranslator *mQtBaseTranslator = nullptr;
1162
1163 QgsDataItemProviderRegistry *mDataItemProviderRegistry = nullptr;
1164 QgsAuthManager *mAuthManager = nullptr;
1165
1166 struct ApplicationMembers
1167 {
1168 QgsSettingsRegistryCore *mSettingsRegistryCore = nullptr;
1169 QgsCoordinateReferenceSystemRegistry *mCrsRegistry = nullptr;
1170 Qgs3DRendererRegistry *m3DRendererRegistry = nullptr;
1171 Qgs3DSymbolRegistry *m3DSymbolRegistry = nullptr;
1172 QgsActionScopeRegistry *mActionScopeRegistry = nullptr;
1173 QgsAnnotationRegistry *mAnnotationRegistry = nullptr;
1174 QgsColorSchemeRegistry *mColorSchemeRegistry = nullptr;
1175 QgsLocalizedDataPathRegistry *mLocalizedDataPathRegistry = nullptr;
1176 QgsNumericFormatRegistry *mNumericFormatRegistry = nullptr;
1177 QgsFieldFormatterRegistry *mFieldFormatterRegistry = nullptr;
1178 QgsGpsConnectionRegistry *mGpsConnectionRegistry = nullptr;
1179 QgsBabelFormatRegistry *mGpsBabelFormatRegistry = nullptr;
1180 QgsNetworkContentFetcherRegistry *mNetworkContentFetcherRegistry = nullptr;
1181 QgsScaleBarRendererRegistry *mScaleBarRendererRegistry = nullptr;
1182 QgsLabelingEngineRuleRegistry *mLabelingEngineRuleRegistry = nullptr;
1183 QgsValidityCheckRegistry *mValidityCheckRegistry = nullptr;
1184 QgsMessageLog *mMessageLog = nullptr;
1185 QgsPaintEffectRegistry *mPaintEffectRegistry = nullptr;
1186 QgsPluginLayerRegistry *mPluginLayerRegistry = nullptr;
1187 QgsClassificationMethodRegistry *mClassificationMethodRegistry = nullptr;
1188 QgsProcessingRegistry *mProcessingRegistry = nullptr;
1189 QgsConnectionRegistry *mConnectionRegistry = nullptr;
1190 QgsProjectStorageRegistry *mProjectStorageRegistry = nullptr;
1191 QgsLayerMetadataProviderRegistry *mLayerMetadataProviderRegistry = nullptr;
1192 QgsExternalStorageRegistry *mExternalStorageRegistry = nullptr;
1193 QgsProfileSourceRegistry *mProfileSourceRegistry = nullptr;
1194 QgsPageSizeRegistry *mPageSizeRegistry = nullptr;
1195 QgsRasterRendererRegistry *mRasterRendererRegistry = nullptr;
1196 QgsRendererRegistry *mRendererRegistry = nullptr;
1197 QgsPointCloudRendererRegistry *mPointCloudRendererRegistry = nullptr;
1198 QgsTiledSceneRendererRegistry *mTiledSceneRendererRegistry = nullptr;
1199 QgsSvgCache *mSvgCache = nullptr;
1200 QgsImageCache *mImageCache = nullptr;
1201 QgsSourceCache *mSourceCache = nullptr;
1202 QgsSymbolLayerRegistry *mSymbolLayerRegistry = nullptr;
1203 QgsCalloutRegistry *mCalloutRegistry = nullptr;
1204 QgsTaskManager *mTaskManager = nullptr;
1205 QgsLayoutItemRegistry *mLayoutItemRegistry = nullptr;
1206 QgsAnnotationItemRegistry *mAnnotationItemRegistry = nullptr;
1207 QgsSensorRegistry *mSensorRegistry = nullptr;
1208 QgsUserProfileManager *mUserConfigManager = nullptr;
1209 QgsBookmarkManager *mBookmarkManager = nullptr;
1210 QgsTileDownloadManager *mTileDownloadManager = nullptr;
1211 QgsStyleModel *mStyleModel = nullptr;
1212 QgsRecentStyleHandler *mRecentStyleHandler = nullptr;
1213 QgsDatabaseQueryLog *mQueryLogger = nullptr;
1214 QgsFontManager *mFontManager;
1215 QString mNullRepresentation;
1216 QStringList mSvgPathCache;
1217 bool mSvgPathCacheValid = false;
1218
1219 ApplicationMembers();
1220 ~ApplicationMembers();
1221 };
1222
1223 // Applications members which belong to an instance of QgsApplication
1224 ApplicationMembers *mApplicationMembers = nullptr;
1225 // ... but in case QgsApplication is never instantiated (eg with custom designer widgets), we fall back to static members
1226 static ApplicationMembers *sApplicationMembers;
1227
1228 static QgsAuthManager *sAuthManager;
1229
1230 static ApplicationMembers *members();
1231
1232 static void invalidateCaches();
1233
1238 void installTranslators() SIP_SKIP;
1239
1240 friend class TestQgsApplication;
1241};
1242
1243// clazy:excludeall=qstring-allocations
1244
1245#endif
A registry for available 3D renderers.
Registry of available 3D symbol classes.
The action scope registry is an application wide registry that contains a list of available action sc...
Registry of available annotation item types.
Extends QApplication to provide access to QGIS specific resources such as theme paths,...
endian_t
Constants for endian-ness.
static const QgsSettingsEntryStringList * settingsSearchPathsForSVG
Settings entry search path for SVG.
static const QgsSettingsEntryBool * settingsLocaleOverrideFlag
Settings entry locale override flag.
void customVariablesChanged()
Emitted whenever a custom global variable changes.
StyleSheetType
The StyleSheetType enum represents the stylesheet type that a widget supports.
@ Qt
StyleSheet for Qt GUI widgets (based on QLabel or QTextBrowser), supports basic CSS and Qt extensions...
@ WebBrowser
StyleSheet for embedded browsers (QtWebKit), supports full standard CSS.
static const QgsSettingsEntryString * settingsLocaleGlobalLocale
Settings entry locale global locale.
static const QgsSettingsEntryString * settingsLocaleUserLocale
Settings entry locale user locale.
static const char * QGIS_APPLICATION_NAME
static const char * QGIS_ORGANIZATION_DOMAIN
void preNotify(QObject *receiver, QEvent *event, bool *done)
void localeChanged()
Emitted when project locale has been changed.
static const char * QGIS_ORGANIZATION_NAME
Cursor
The Cursor enum defines constants for QGIS custom cursors.
@ ZoomOut
Zoom out.
@ CrossHair
Precisely identify a point on the canvas.
@ Identify
Identify: obtain information about the object.
@ Select
Select a rectangle.
@ CapturePoint
Select and capture a point or a feature.
@ Sampler
Color/Value picker.
static const QgsSettingsEntryInteger * settingsConnectionPoolMaximumConcurrentConnections
Settings entry to configure the maximum number of concurrent connections within connection pools.
void requestForTranslatableObjects(QgsTranslationContext *translationContext)
Emitted when project strings which require translation are being collected for inclusion in a ....
void nullRepresentationChanged()
Emitted when the string representing the NULL value is changed.
static const QgsSettingsEntryBool * settingsLocaleShowGroupSeparator
Settings entry locale show group separator.
static bool isRunningFromBuildDir()
Indicates whether running from build directory (not installed)
Registry for authentication configuration storages.
Singleton which offers an interface to manage the authentication configuration database and to utiliz...
A registry for QgsAbstractBabelFormat GPSBabel formats.
Manages storage of a set of bookmarks.
Registry of available callout classes.
Manages all known classification methods.
Registry of color schemes.
A registry for saved data provider connections, allowing retrieval of saved connections by name and p...
A registry for known coordinate reference system (CRS) definitions, including any user-defined CRSes.
A registry for data item providers that may add items to the browser tree.
Handles logging of database queries.
Registry of external storage backends used by QgsExternalResourceWidget.
A registry which manages classes of QgsFieldFormatter.
Manages available fonts and font installation for a QGIS instance.
Registers existing GPS connections such that the information is available to all classes and plugins.
A cache for images derived from raster files.
A registry for labeling engine rules.
Registry of layer metadata provider backends.
Registry of available layout item types.
A registry class to hold localized data paths which can be used for basemaps, logos,...
Interface for logging messages from QGIS in GUI independent way.
Registry for temporary fetched files.
A registry which manages classes of QgsNumericFormat.
A registry for known page sizes.
Registry of available paint effects.
A registry of plugin layers types.
Registry of 2D renderers for point clouds.
Registry for various processing components, including providers, algorithms and various parameters an...
Registry of profile sources used by QgsProfilePlotRenderer.
Registry of storage backends that QgsProject may use.
Registry for raster renderers.
Handles and tracks style items recently used in the QGIS GUI.
Registry of renderers.
Provides a method of recording run time profiles of operations, allowing easy recording of their over...
A registry which manages registered scalebar renderers.
Registry of available sensor types.
A boolean settings entry.
An integer settings entry.
A string list settings entry.
A string settings entry.
Used for settings introspection and collects all QgsSettingsEntry instances of core.
A cache for source strings that returns a local file path containing the source content.
A QAbstractItemModel subclass for showing symbol and color ramp entities contained within a QgsStyle ...
A cache for images / pictures derived from SVG files.
Registry of available symbol layer classes.
Task manager for managing a set of long-running QgsTask tasks.
Tile download manager handles downloads of map tiles for the purpose of map rendering.
Registry of 2D renderers for tiled scenes.
Used for the collecting of strings from projects for translation and creation of ts files.
A manager for QGIS user profiles.
User profile contains information about the user profile folders on the machine.
A registry that keeps a list of QgsAbstractValidityCheck checks which can be used when performing val...
#define SIP_DEPRECATED
Definition qgis_sip.h:106
#define SIP_KEEPREFERENCE
Definition qgis_sip.h:86
#define SIP_SKIP
Definition qgis_sip.h:126
#define SIP_IF_FEATURE(feature)
Definition qgis_sip.h:181
#define SIP_END
Definition qgis_sip.h:208
QObject * ABISYM(QgsApplication::mFileOpenEventReceiver)