QGIS API Documentation 3.43.0-Master (56aa1fd18d7)
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;
61class QgsAuthManager;
64class QTranslator;
67class QgsStyleModel;
78class QgsFontManager;
82
97class CORE_EXPORT QgsApplication : public QApplication
98{
99
100#ifdef SIP_RUN
101 % TypeCode
102 // Convert a Python argv list to a conventional C argc count and argv array.
103 static char **qtgui_ArgvToC( PyObject *argvlist, int &argc )
104 {
105 char **argv;
106
107 argc = PyList_GET_SIZE( argvlist );
108
109 // Allocate space for two copies of the argument pointers, plus the
110 // terminating NULL.
111 if ( ( argv = ( char ** )sipMalloc( 2 * ( argc + 1 ) * sizeof( char * ) ) ) == NULL )
112 return NULL;
113
114 // Convert the list.
115 for ( int a = 0; a < argc; ++a )
116 {
117 char *arg;
118 // Get the argument and allocate memory for it.
119 if ( ( arg = PyBytes_AsString( PyList_GET_ITEM( argvlist, a ) ) ) == NULL ||
120 ( argv[a] = ( char * )sipMalloc( strlen( arg ) + 1 ) ) == NULL )
121 return NULL;
122 // Copy the argument and save a pointer to it.
123 strcpy( argv[a], arg );
124 argv[a + argc + 1] = argv[a];
125 }
126
127 argv[argc + argc + 1] = argv[argc] = NULL;
128
129 return argv;
130 }
131
132 // Remove arguments from the Python argv list that have been removed from the
133 // C argv array.
134 static void qtgui_UpdatePyArgv( PyObject *argvlist, int argc, char **argv )
135 {
136 for ( int a = 0, na = 0; a < argc; ++a )
137 {
138 // See if it was removed.
139 if ( argv[na] == argv[a + argc + 1] )
140 ++na;
141 else
142 PyList_SetSlice( argvlist, na, na + 1, NULL );
143 }
144 }
145 % End
146#endif
147
148 Q_OBJECT
149
150 public:
151
165
166 static const char *QGIS_ORGANIZATION_NAME;
167 static const char *QGIS_ORGANIZATION_DOMAIN;
168 static const char *QGIS_APPLICATION_NAME;
169#ifndef SIP_RUN
170
180 QgsApplication( int &argc, char **argv, bool GUIenabled, const QString &profileFolder = QString(), const QString &platformName = "external" );
181#else
182
191 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" )];
192 % MethodCode
193 // The Python interface is a list of argument strings that is modified.
194
195 int argc;
196 char **argv;
197
198 // Convert the list.
199 if ( ( argv = qtgui_ArgvToC( a0, argc ) ) == NULL )
200 sipIsErr = 1;
201 else
202 {
203 // Create it now the arguments are right.
204 static int nargc = argc;
205
206 sipCpp = new sipQgsApplication( nargc, argv, a1, *a2, *a3 );
207
208 // Now modify the original list.
209 qtgui_UpdatePyArgv( a0, argc, argv );
210 }
211 % End
212#endif
213
214 ~QgsApplication() override;
215
220 static QgsApplication *instance();
221
229 static void init( QString profileFolder = QString() ) SIP_SKIP;
230
232 bool event( QEvent *event ) override;
233
235 bool notify( QObject *receiver, QEvent *event ) override;
236
238 static void setFileOpenEventReceiver( QObject *receiver );
239
250 static void setThemeName( const QString &themeName );
251
256 static QString resolvePkgPath();
257
265 static QString themeName();
266
274 static void setUITheme( const QString &themeName );
275
282 static QHash<QString, QString> uiThemes();
283
285 static QString authorsFilePath();
286
292 static QString contributorsFilePath();
293
299 static QString developersMapFilePath();
300
302 static QString sponsorsFilePath();
303
305 static QString donorsFilePath();
306
308 static QString serverResourcesPath();
309
313 static QString translatorsFilePath();
314
318 static QString licenceFilePath();
319
321 static QString i18nPath();
322
326 static QString metadataPath();
327
329 static QString qgisMasterDatabaseFilePath();
330
332 static QString qgisSettingsDirPath();
333
335 static QString qgisUserDatabaseFilePath();
336
341 Q_DECL_DEPRECATED static QString qgisAuthDatabaseFilePath() SIP_DEPRECATED;
342
350 static QString qgisAuthDatabaseUri();
351
353 static QString splashPath();
354
356 static QString iconsPath();
357
359 static QString srsDatabaseFilePath();
360
366 static void setSvgPaths( const QStringList &svgPaths );
367
369 static QStringList svgPaths();
370
374 static QStringList layoutTemplatePaths();
375
377 static QMap<QString, QString> systemEnvVars();
378
380 static QString prefixPath();
381
383 static QString pluginPath();
384
386 static QString pkgDataPath();
387
389 static QString activeThemePath();
390
392 static QString defaultThemePath();
393
398 static QString iconPath( const QString &iconFile );
399
407 static QIcon getThemeIcon( const QString &name, const QColor &fillColor = QColor(), const QColor &strokeColor = QColor() );
408
423
430 static QCursor getThemeCursor( Cursor cursor );
431
440 static QPixmap getThemePixmap( const QString &name, const QColor &foreColor = QColor(), const QColor &backColor = QColor(), int size = 16 );
441
443 static QString userStylePath();
444
450 static QRegularExpression shortNameRegularExpression();
451
456 static QString userLoginName();
457
462 static QString userFullName();
463
468 static QString osName();
469
477 static int systemMemorySizeMb();
478
483 static QString platform();
484
485
497 static QString applicationFullName();
498
502 static QString locale();
503
510 static void setLocale( const QLocale &locale );
511
513 static QString userThemesFolder();
514
516 static QString defaultStylePath();
517
519 static QString defaultThemesFolder();
520
522 static QString libraryPath();
523
525 static QString libexecPath();
526
533 static QString qmlImportPath();
534
536 static void setPrefixPath( const QString &prefixPath, bool useDefaultPaths = false );
537
539 static void setPluginPath( const QString &pluginPath );
540
542 static void setPkgDataPath( const QString &pkgDataPath );
543
545 static void setDefaultSvgPaths( const QStringList &pathList );
546
548 static void setAuthDatabaseDirPath( const QString &authDbDirPath );
549
551 static void initQgis();
552
554 static bool createDatabase( QString *errorMessage = nullptr );
555
557 static bool createThemeFolder();
558
560 static void exitQgis();
561
563 static QString appIconPath();
564
567 {
568 XDR = 0, // network, or big-endian, byte order
569 NDR = 1 // little-endian byte order
570 };
571
573 static endian_t endian();
574
593 static QString reportStyleSheet( QgsApplication::StyleSheetType styleSheetType = QgsApplication::StyleSheetType::Qt );
594
599 static QString showSettings();
600
608 static void registerOgrDrivers();
609
611 static QString absolutePathToRelativePath( const QString &apath, const QString &targetPath );
613 static QString relativePathToAbsolutePath( const QString &rpath, const QString &targetPath );
614
616 static bool isRunningFromBuildDir() { return ABISYM( mRunningFromBuildDir ); }
617#if defined(_MSC_VER) && !defined(USING_NMAKE) && !defined(USING_NINJA)
618 static QString cfgIntDir() SIP_SKIP;
619#endif
621 static QString buildSourcePath();
623 static QString buildOutputPath();
624
630 static void skipGdalDriver( const QString &driver );
631
637 static void restoreGdalDriver( const QString &driver );
638
643 static QStringList skippedGdalDrivers();
644
651 static void applyGdalSkippedDrivers();
652
657 static void registerGdalDriversFromSettings();
658
665 static QStringList deferredSkippedGdalDrivers();
666
673 static void setSkippedGdalDrivers( const QStringList &skippedGdalDrivers,
674 const QStringList &deferredSkippedGdalDrivers );
675
679 static int maxThreads();
680
685 static void setMaxThreads( int maxThreads );
686
691 static QgsTaskManager *taskManager();
692
698 Q_DECL_DEPRECATED static QgsSettingsRegistryCore *settingsRegistryCore() SIP_KEEPREFERENCE SIP_DEPRECATED;
699
703 static QgsColorSchemeRegistry *colorSchemeRegistry() SIP_KEEPREFERENCE;
704
708 static QgsPaintEffectRegistry *paintEffectRegistry() SIP_KEEPREFERENCE;
709
713 static QgsRendererRegistry *rendererRegistry() SIP_KEEPREFERENCE;
714
719 static QgsRasterRendererRegistry *rasterRendererRegistry() SIP_SKIP;
720
725 static QgsPointCloudRendererRegistry *pointCloudRendererRegistry() SIP_KEEPREFERENCE;
726
731 static QgsTiledSceneRendererRegistry *tiledSceneRendererRegistry() SIP_KEEPREFERENCE;
732
737 static QgsDataItemProviderRegistry *dataItemProviderRegistry() SIP_KEEPREFERENCE;
738
745 static QgsCoordinateReferenceSystemRegistry *coordinateReferenceSystemRegistry() SIP_KEEPREFERENCE;
746
753 static QgsSvgCache *svgCache();
754
761 static QgsImageCache *imageCache();
762
768 static QgsSourceCache *sourceCache();
769
774 static QgsNetworkContentFetcherRegistry *networkContentFetcherRegistry() SIP_KEEPREFERENCE;
775
780 static QgsValidityCheckRegistry *validityCheckRegistry() SIP_KEEPREFERENCE;
781
785 static QgsSymbolLayerRegistry *symbolLayerRegistry() SIP_KEEPREFERENCE;
786
791 static QgsCalloutRegistry *calloutRegistry() SIP_KEEPREFERENCE;
792
796 static QgsLayoutItemRegistry *layoutItemRegistry() SIP_KEEPREFERENCE;
797
802 static QgsAnnotationItemRegistry *annotationItemRegistry() SIP_KEEPREFERENCE;
803
807 static QgsGpsConnectionRegistry *gpsConnectionRegistry() SIP_KEEPREFERENCE;
808
813 static QgsBabelFormatRegistry *gpsBabelFormatRegistry() SIP_KEEPREFERENCE;
814
818 static QgsPluginLayerRegistry *pluginLayerRegistry() SIP_KEEPREFERENCE;
819
824 static QgsClassificationMethodRegistry *classificationMethodRegistry() SIP_KEEPREFERENCE;
825
830 static QgsBookmarkManager *bookmarkManager();
831
837 static QgsTileDownloadManager *tileDownloadManager() SIP_SKIP;
838
843 static QgsRecentStyleHandler *recentStyleHandler() SIP_KEEPREFERENCE;
844
850 static QgsDatabaseQueryLog *databaseQueryLog() SIP_KEEPREFERENCE;
851
859 static QgsStyleModel *defaultStyleModel();
860
866 static QgsFontManager *fontManager() SIP_KEEPREFERENCE;
867
872 static QgsSensorRegistry *sensorRegistry() SIP_KEEPREFERENCE;
873
877 static QgsMessageLog *messageLog();
878
884 static QgsAuthManager *authManager();
885
890 static QgsAuthConfigurationStorageRegistry *authConfigurationStorageRegistry();
891
896 static QgsProcessingRegistry *processingRegistry();
897
901 static QgsPageSizeRegistry *pageSizeRegistry() SIP_KEEPREFERENCE;
902
907 static QgsAnnotationRegistry *annotationRegistry() SIP_SKIP;
908
913 static QgsActionScopeRegistry *actionScopeRegistry() SIP_KEEPREFERENCE;
914
919 static QgsConnectionRegistry *connectionRegistry();
920
924 static QgsRuntimeProfiler *profiler();
925
931 static QgsNumericFormatRegistry *numericFormatRegistry() SIP_KEEPREFERENCE;
932
936 static QgsFieldFormatterRegistry *fieldFormatterRegistry() SIP_KEEPREFERENCE;
937
941 static Qgs3DRendererRegistry *renderer3DRegistry() SIP_KEEPREFERENCE;
942
947 static Qgs3DSymbolRegistry *symbol3DRegistry() SIP_KEEPREFERENCE;
948
954 static QgsScaleBarRendererRegistry *scaleBarRendererRegistry() SIP_KEEPREFERENCE;
955
961 static QgsLabelingEngineRuleRegistry *labelingEngineRuleRegistry() SIP_KEEPREFERENCE;
962
967 static QgsProjectStorageRegistry *projectStorageRegistry() SIP_KEEPREFERENCE;
968
973 static QgsLayerMetadataProviderRegistry *layerMetadataProviderRegistry() SIP_KEEPREFERENCE;
974
979 static QgsExternalStorageRegistry *externalStorageRegistry() SIP_KEEPREFERENCE;
980
985 static QgsProfileSourceRegistry *profileSourceRegistry() SIP_KEEPREFERENCE;
986
994 static QgsLocalizedDataPathRegistry *localizedDataPathRegistry() SIP_KEEPREFERENCE;
995
1006 static QString nullRepresentation();
1007
1018 static void setNullRepresentation( const QString &nullRepresentation );
1019
1026 static QVariantMap customVariables();
1027
1034 static void setCustomVariables( const QVariantMap &customVariables );
1035
1040 static void setCustomVariable( const QString &name, const QVariant &value );
1041
1051 static int scaleIconSize( int standardSize, bool applyDevicePixelRatio = false );
1052
1061 int maxConcurrentConnectionsPerPool() const;
1062
1068 static void setTranslation( const QString &translation );
1069
1075 QString translation() const;
1076
1082 void collectTranslatableObjects( QgsTranslationContext *translationContext );
1083
1084
1085#ifndef SIP_RUN
1098#endif
1099
1100#ifdef SIP_RUN
1101 SIP_IF_FEATURE( ANDROID )
1102 //dummy method to workaround sip generation issue
1103 bool x11EventFilter( XEvent *event );
1104 SIP_END
1105#endif
1106
1107 signals:
1109 void preNotify( QObject *receiver, QEvent *event, bool *done ) SIP_SKIP;
1110
1115
1123
1131
1132
1139
1140
1141 private:
1142
1143 static void copyPath( const QString &src, const QString &dst );
1144 static QObject *ABISYM( mFileOpenEventReceiver );
1145
1146 static bool ABISYM( mInitialized );
1147
1149 static bool ABISYM( mRunningFromBuildDir );
1150
1153 static int ABISYM( sMaxThreads );
1154
1155 QMap<QString, QIcon> mIconCache;
1156 QMap<Cursor, QCursor> mCursorCache;
1157
1158 std::unique_ptr<QTranslator> mQgisTranslator;
1159 std::unique_ptr<QTranslator> mQtTranslator;
1160 std::unique_ptr<QTranslator> mQtBaseTranslator;
1161
1162 QgsDataItemProviderRegistry *mDataItemProviderRegistry = nullptr;
1163 QgsAuthManager *mAuthManager = nullptr;
1164
1165 struct ApplicationMembers
1166 {
1167 std::unique_ptr<QgsSettingsRegistryCore > mSettingsRegistryCore;
1168 std::unique_ptr<QgsCoordinateReferenceSystemRegistry > mCrsRegistry;
1169 std::unique_ptr<Qgs3DRendererRegistry > m3DRendererRegistry;
1170 std::unique_ptr<Qgs3DSymbolRegistry > m3DSymbolRegistry;
1171 std::unique_ptr<QgsActionScopeRegistry > mActionScopeRegistry;
1172 std::unique_ptr<QgsAnnotationRegistry > mAnnotationRegistry;
1173 std::unique_ptr<QgsColorSchemeRegistry > mColorSchemeRegistry;
1174 std::unique_ptr<QgsLocalizedDataPathRegistry > mLocalizedDataPathRegistry;
1175 std::unique_ptr<QgsNumericFormatRegistry > mNumericFormatRegistry;
1176 std::unique_ptr<QgsFieldFormatterRegistry > mFieldFormatterRegistry;
1177 std::unique_ptr<QgsGpsConnectionRegistry > mGpsConnectionRegistry;
1178 std::unique_ptr<QgsBabelFormatRegistry > mGpsBabelFormatRegistry;
1179 std::unique_ptr<QgsNetworkContentFetcherRegistry > mNetworkContentFetcherRegistry;
1180 std::unique_ptr<QgsScaleBarRendererRegistry > mScaleBarRendererRegistry;
1181 std::unique_ptr<QgsLabelingEngineRuleRegistry > mLabelingEngineRuleRegistry;
1182 std::unique_ptr<QgsValidityCheckRegistry > mValidityCheckRegistry;
1183 std::unique_ptr<QgsMessageLog > mMessageLog;
1184 std::unique_ptr<QgsPaintEffectRegistry > mPaintEffectRegistry;
1185 std::unique_ptr<QgsPluginLayerRegistry > mPluginLayerRegistry;
1186 std::unique_ptr<QgsClassificationMethodRegistry > mClassificationMethodRegistry;
1187 std::unique_ptr<QgsProcessingRegistry > mProcessingRegistry;
1188 std::unique_ptr<QgsConnectionRegistry > mConnectionRegistry;
1189 std::unique_ptr<QgsProjectStorageRegistry > mProjectStorageRegistry;
1190 std::unique_ptr<QgsLayerMetadataProviderRegistry > mLayerMetadataProviderRegistry;
1191 std::unique_ptr<QgsExternalStorageRegistry > mExternalStorageRegistry;
1192 std::unique_ptr<QgsProfileSourceRegistry > mProfileSourceRegistry;
1193 std::unique_ptr<QgsPageSizeRegistry > mPageSizeRegistry;
1194 std::unique_ptr<QgsRasterRendererRegistry > mRasterRendererRegistry;
1195 std::unique_ptr<QgsRendererRegistry > mRendererRegistry;
1196 std::unique_ptr<QgsPointCloudRendererRegistry > mPointCloudRendererRegistry;
1197 std::unique_ptr<QgsTiledSceneRendererRegistry > mTiledSceneRendererRegistry;
1198 std::unique_ptr<QgsSvgCache > mSvgCache;
1199 std::unique_ptr<QgsImageCache > mImageCache;
1200 std::unique_ptr<QgsSourceCache > mSourceCache;
1201 std::unique_ptr<QgsSymbolLayerRegistry > mSymbolLayerRegistry;
1202 std::unique_ptr<QgsCalloutRegistry > mCalloutRegistry;
1203 std::unique_ptr<QgsTaskManager > mTaskManager;
1204 std::unique_ptr<QgsLayoutItemRegistry > mLayoutItemRegistry;
1205 std::unique_ptr<QgsAnnotationItemRegistry > mAnnotationItemRegistry;
1206 std::unique_ptr<QgsSensorRegistry > mSensorRegistry;
1207 std::unique_ptr<QgsBookmarkManager > mBookmarkManager;
1208 std::unique_ptr<QgsTileDownloadManager > mTileDownloadManager;
1209 std::unique_ptr<QgsStyleModel > mStyleModel;
1210 std::unique_ptr<QgsRecentStyleHandler > mRecentStyleHandler;
1211 std::unique_ptr<QgsDatabaseQueryLog > mQueryLogger;
1212 std::unique_ptr<QgsFontManager > mFontManager;
1213 QString mNullRepresentation;
1214 QStringList mSvgPathCache;
1215 bool mSvgPathCacheValid = false;
1216
1217 ApplicationMembers();
1218 ~ApplicationMembers();
1219 };
1220
1221 // Applications members which belong to an instance of QgsApplication
1222 ApplicationMembers *mApplicationMembers = nullptr;
1223 // ... but in case QgsApplication is never instantiated (eg with custom designer widgets), we fall back to static members
1224 static ApplicationMembers *sApplicationMembers;
1225
1226 static QgsAuthManager *sAuthManager;
1227
1228 static ApplicationMembers *members();
1229
1230 static void invalidateCaches();
1231
1236 void installTranslators() SIP_SKIP;
1237
1238 friend class TestQgsApplication;
1239};
1240
1241// clazy:excludeall=qstring-allocations
1242
1243#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.
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)