QGIS API Documentation 3.41.0-Master (25ec5511245)
Loading...
Searching...
No Matches
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
590 static QString reportStyleSheet( QgsApplication::StyleSheetType styleSheetType = QgsApplication::StyleSheetType::Qt );
591
596 static QString showSettings();
597
605 static void registerOgrDrivers();
606
608 static QString absolutePathToRelativePath( const QString &apath, const QString &targetPath );
610 static QString relativePathToAbsolutePath( const QString &rpath, const QString &targetPath );
611
613 static bool isRunningFromBuildDir() { return ABISYM( mRunningFromBuildDir ); }
614#if defined(_MSC_VER) && !defined(USING_NMAKE) && !defined(USING_NINJA)
615 static QString cfgIntDir() SIP_SKIP;
616#endif
618 static QString buildSourcePath();
620 static QString buildOutputPath();
621
627 static void skipGdalDriver( const QString &driver );
628
634 static void restoreGdalDriver( const QString &driver );
635
640 static QStringList skippedGdalDrivers();
641
648 static void applyGdalSkippedDrivers();
649
654 static void registerGdalDriversFromSettings();
655
662 static QStringList deferredSkippedGdalDrivers();
663
670 static void setSkippedGdalDrivers( const QStringList &skippedGdalDrivers,
671 const QStringList &deferredSkippedGdalDrivers );
672
676 static int maxThreads();
677
682 static void setMaxThreads( int maxThreads );
683
688 static QgsTaskManager *taskManager();
689
695 Q_DECL_DEPRECATED static QgsSettingsRegistryCore *settingsRegistryCore() SIP_KEEPREFERENCE SIP_DEPRECATED;
696
700 static QgsColorSchemeRegistry *colorSchemeRegistry() SIP_KEEPREFERENCE;
701
705 static QgsPaintEffectRegistry *paintEffectRegistry() SIP_KEEPREFERENCE;
706
710 static QgsRendererRegistry *rendererRegistry() SIP_KEEPREFERENCE;
711
716 static QgsRasterRendererRegistry *rasterRendererRegistry() SIP_SKIP;
717
722 static QgsPointCloudRendererRegistry *pointCloudRendererRegistry() SIP_KEEPREFERENCE;
723
728 static QgsTiledSceneRendererRegistry *tiledSceneRendererRegistry() SIP_KEEPREFERENCE;
729
734 static QgsDataItemProviderRegistry *dataItemProviderRegistry() SIP_KEEPREFERENCE;
735
742 static QgsCoordinateReferenceSystemRegistry *coordinateReferenceSystemRegistry() SIP_KEEPREFERENCE;
743
750 static QgsSvgCache *svgCache();
751
758 static QgsImageCache *imageCache();
759
765 static QgsSourceCache *sourceCache();
766
771 static QgsNetworkContentFetcherRegistry *networkContentFetcherRegistry() SIP_KEEPREFERENCE;
772
777 static QgsValidityCheckRegistry *validityCheckRegistry() SIP_KEEPREFERENCE;
778
782 static QgsSymbolLayerRegistry *symbolLayerRegistry() SIP_KEEPREFERENCE;
783
788 static QgsCalloutRegistry *calloutRegistry() SIP_KEEPREFERENCE;
789
793 static QgsLayoutItemRegistry *layoutItemRegistry() SIP_KEEPREFERENCE;
794
799 static QgsAnnotationItemRegistry *annotationItemRegistry() SIP_KEEPREFERENCE;
800
804 static QgsGpsConnectionRegistry *gpsConnectionRegistry() SIP_KEEPREFERENCE;
805
810 static QgsBabelFormatRegistry *gpsBabelFormatRegistry() SIP_KEEPREFERENCE;
811
815 static QgsPluginLayerRegistry *pluginLayerRegistry() SIP_KEEPREFERENCE;
816
821 static QgsClassificationMethodRegistry *classificationMethodRegistry() SIP_KEEPREFERENCE;
822
827 static QgsBookmarkManager *bookmarkManager();
828
834 static QgsTileDownloadManager *tileDownloadManager() SIP_SKIP;
835
840 static QgsRecentStyleHandler *recentStyleHandler() SIP_KEEPREFERENCE;
841
847 static QgsDatabaseQueryLog *databaseQueryLog() SIP_KEEPREFERENCE;
848
856 static QgsStyleModel *defaultStyleModel();
857
863 static QgsFontManager *fontManager() SIP_KEEPREFERENCE;
864
869 static QgsSensorRegistry *sensorRegistry() SIP_KEEPREFERENCE;
870
874 static QgsMessageLog *messageLog();
875
881 static QgsAuthManager *authManager();
882
887 static QgsAuthConfigurationStorageRegistry *authConfigurationStorageRegistry();
888
893 static QgsProcessingRegistry *processingRegistry();
894
898 static QgsPageSizeRegistry *pageSizeRegistry() SIP_KEEPREFERENCE;
899
904 static QgsAnnotationRegistry *annotationRegistry() SIP_SKIP;
905
910 static QgsActionScopeRegistry *actionScopeRegistry() SIP_KEEPREFERENCE;
911
916 static QgsConnectionRegistry *connectionRegistry();
917
921 static QgsRuntimeProfiler *profiler();
922
928 static QgsNumericFormatRegistry *numericFormatRegistry() SIP_KEEPREFERENCE;
929
933 static QgsFieldFormatterRegistry *fieldFormatterRegistry() SIP_KEEPREFERENCE;
934
938 static Qgs3DRendererRegistry *renderer3DRegistry() SIP_KEEPREFERENCE;
939
944 static Qgs3DSymbolRegistry *symbol3DRegistry() SIP_KEEPREFERENCE;
945
951 static QgsScaleBarRendererRegistry *scaleBarRendererRegistry() SIP_KEEPREFERENCE;
952
958 static QgsLabelingEngineRuleRegistry *labelingEngineRuleRegistry() SIP_KEEPREFERENCE;
959
964 static QgsProjectStorageRegistry *projectStorageRegistry() SIP_KEEPREFERENCE;
965
970 static QgsLayerMetadataProviderRegistry *layerMetadataProviderRegistry() SIP_KEEPREFERENCE;
971
976 static QgsExternalStorageRegistry *externalStorageRegistry() SIP_KEEPREFERENCE;
977
982 static QgsProfileSourceRegistry *profileSourceRegistry() SIP_KEEPREFERENCE;
983
991 static QgsLocalizedDataPathRegistry *localizedDataPathRegistry() SIP_KEEPREFERENCE;
992
1003 static QString nullRepresentation();
1004
1015 static void setNullRepresentation( const QString &nullRepresentation );
1016
1023 static QVariantMap customVariables();
1024
1031 static void setCustomVariables( const QVariantMap &customVariables );
1032
1037 static void setCustomVariable( const QString &name, const QVariant &value );
1038
1048 static int scaleIconSize( int standardSize, bool applyDevicePixelRatio = false );
1049
1058 int maxConcurrentConnectionsPerPool() const;
1059
1065 static void setTranslation( const QString &translation );
1066
1072 QString translation() const;
1073
1079 void collectTranslatableObjects( QgsTranslationContext *translationContext );
1080
1081
1082#ifndef SIP_RUN
1093#endif
1094
1095#ifdef SIP_RUN
1096 SIP_IF_FEATURE( ANDROID )
1097 //dummy method to workaround sip generation issue
1098 bool x11EventFilter( XEvent *event );
1099 SIP_END
1100#endif
1101
1102 signals:
1104 void preNotify( QObject *receiver, QEvent *event, bool *done ) SIP_SKIP;
1105
1110
1118
1126
1127
1134
1135
1136 private:
1137
1138 static void copyPath( const QString &src, const QString &dst );
1139 static QObject *ABISYM( mFileOpenEventReceiver );
1140
1141 static bool ABISYM( mInitialized );
1142
1144 static bool ABISYM( mRunningFromBuildDir );
1145
1148 static int ABISYM( sMaxThreads );
1149
1150 QMap<QString, QIcon> mIconCache;
1151 QMap<Cursor, QCursor> mCursorCache;
1152
1153 QTranslator *mQgisTranslator = nullptr;
1154 QTranslator *mQtTranslator = nullptr;
1155 QTranslator *mQtBaseTranslator = nullptr;
1156
1157 QgsDataItemProviderRegistry *mDataItemProviderRegistry = nullptr;
1158 QgsAuthManager *mAuthManager = nullptr;
1159
1160 struct ApplicationMembers
1161 {
1162 QgsSettingsRegistryCore *mSettingsRegistryCore = nullptr;
1163 QgsCoordinateReferenceSystemRegistry *mCrsRegistry = nullptr;
1164 Qgs3DRendererRegistry *m3DRendererRegistry = nullptr;
1165 Qgs3DSymbolRegistry *m3DSymbolRegistry = nullptr;
1166 QgsActionScopeRegistry *mActionScopeRegistry = nullptr;
1167 QgsAnnotationRegistry *mAnnotationRegistry = nullptr;
1168 QgsColorSchemeRegistry *mColorSchemeRegistry = nullptr;
1169 QgsLocalizedDataPathRegistry *mLocalizedDataPathRegistry = nullptr;
1170 QgsNumericFormatRegistry *mNumericFormatRegistry = nullptr;
1171 QgsFieldFormatterRegistry *mFieldFormatterRegistry = nullptr;
1172 QgsGpsConnectionRegistry *mGpsConnectionRegistry = nullptr;
1173 QgsBabelFormatRegistry *mGpsBabelFormatRegistry = nullptr;
1174 QgsNetworkContentFetcherRegistry *mNetworkContentFetcherRegistry = nullptr;
1175 QgsScaleBarRendererRegistry *mScaleBarRendererRegistry = nullptr;
1176 QgsLabelingEngineRuleRegistry *mLabelingEngineRuleRegistry = nullptr;
1177 QgsValidityCheckRegistry *mValidityCheckRegistry = nullptr;
1178 QgsMessageLog *mMessageLog = nullptr;
1179 QgsPaintEffectRegistry *mPaintEffectRegistry = nullptr;
1180 QgsPluginLayerRegistry *mPluginLayerRegistry = nullptr;
1181 QgsClassificationMethodRegistry *mClassificationMethodRegistry = nullptr;
1182 QgsProcessingRegistry *mProcessingRegistry = nullptr;
1183 QgsConnectionRegistry *mConnectionRegistry = nullptr;
1184 QgsProjectStorageRegistry *mProjectStorageRegistry = nullptr;
1185 QgsLayerMetadataProviderRegistry *mLayerMetadataProviderRegistry = nullptr;
1186 QgsExternalStorageRegistry *mExternalStorageRegistry = nullptr;
1187 QgsProfileSourceRegistry *mProfileSourceRegistry = nullptr;
1188 QgsPageSizeRegistry *mPageSizeRegistry = nullptr;
1189 QgsRasterRendererRegistry *mRasterRendererRegistry = nullptr;
1190 QgsRendererRegistry *mRendererRegistry = nullptr;
1191 QgsPointCloudRendererRegistry *mPointCloudRendererRegistry = nullptr;
1192 QgsTiledSceneRendererRegistry *mTiledSceneRendererRegistry = nullptr;
1193 QgsSvgCache *mSvgCache = nullptr;
1194 QgsImageCache *mImageCache = nullptr;
1195 QgsSourceCache *mSourceCache = nullptr;
1196 QgsSymbolLayerRegistry *mSymbolLayerRegistry = nullptr;
1197 QgsCalloutRegistry *mCalloutRegistry = nullptr;
1198 QgsTaskManager *mTaskManager = nullptr;
1199 QgsLayoutItemRegistry *mLayoutItemRegistry = nullptr;
1200 QgsAnnotationItemRegistry *mAnnotationItemRegistry = nullptr;
1201 QgsSensorRegistry *mSensorRegistry = nullptr;
1202 QgsUserProfileManager *mUserConfigManager = nullptr;
1203 QgsBookmarkManager *mBookmarkManager = nullptr;
1204 QgsTileDownloadManager *mTileDownloadManager = nullptr;
1205 QgsStyleModel *mStyleModel = nullptr;
1206 QgsRecentStyleHandler *mRecentStyleHandler = nullptr;
1207 QgsDatabaseQueryLog *mQueryLogger = nullptr;
1208 QgsFontManager *mFontManager;
1209 QString mNullRepresentation;
1210 QStringList mSvgPathCache;
1211 bool mSvgPathCacheValid = false;
1212
1213 ApplicationMembers();
1214 ~ApplicationMembers();
1215 };
1216
1217 // Applications members which belong to an instance of QgsApplication
1218 ApplicationMembers *mApplicationMembers = nullptr;
1219 // ... but in case QgsApplication is never instantiated (eg with custom designer widgets), we fall back to static members
1220 static ApplicationMembers *sApplicationMembers;
1221
1222 static QgsAuthManager *sAuthManager;
1223
1224 static ApplicationMembers *members();
1225
1226 static void invalidateCaches();
1227
1232 void installTranslators() SIP_SKIP;
1233
1234 friend class TestQgsApplication;
1235};
1236
1237// clazy:excludeall=qstring-allocations
1238
1239#endif
Keeps track of 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.
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 offering an interface to manage the authentication configuration database and to utilize co...
A registry for QgsAbstractBabelFormat GPSBabel formats.
Manages storage of a set of bookmarks.
Registry of available callout classes.
This class 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.
This class keeps a list of data item providers that may add items to the browser tree.
Handles logging of database queries.
Registry of external storage backends used by QgsExternalResourceWidget.
The QgsFieldFormatterRegistry manages registered classes of QgsFieldFormatter.
Manages available fonts and font installation for a QGIS instance.
A class to register / unregister existing GPS connections such that the information is available to a...
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.
The QgsNumericFormatRegistry manages registered 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...
The QgsScaleBarRendererRegistry manages registered scalebar renderers.
Registry of available sensor types.
A boolean settings entry.
A string list settings entry.
A string settings entry.
QgsSettingsRegistryCore is used for settings introspection and collects all QgsSettingsEntry instance...
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.
User profile manager is used to manager list, and manage user profiles on the users machine.
User profile contains information about the user profile folders on the machine.
This class keeps a list of QgsAbstractValidityCheck checks which can be used when performing validity...
#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)