System.StandardPaths

QStandardPaths methods"> System.StandardPaths | ArcGISQMLExtras 1.1
ConstantDescription
System.StandardPathsDesktopLocation(0) Returns the user's desktop directory. This is a generic value. On systems with no concept of a desktop, this is the same as QStandardPaths::HomeLocation.
System.StandardPathsDocumentsLocation(1) Returns the directory containing user document files. This is a generic value. The returned path is never empty.
System.StandardPathsFontsLocation(2) Returns the directory containing user's fonts. This is a generic value. Note that installing fonts may require additional, platform-specific operations.
System.StandardPathsApplicationsLocation(3) Returns the directory containing the user applications (either executables, application bundles, or shortcuts to them). This is a generic value. Note that installing applications may require additional, platform-specific operations. Files, folders or shortcuts in this directory are platform-specific.
System.StandardPathsMusicLocation(4) Returns the directory containing the user's music or other audio files. This is a generic value. If no directory specific for music files exists, a sensible fallback for storing user documents is returned.
System.StandardPathsMoviesLocation(5) Returns the directory containing the user's movies and videos. This is a generic value. If no directory specific for movie files exists, a sensible fallback for storing user documents is returned.
System.StandardPathsPicturesLocation(6) Returns the directory containing the user's pictures or photos. This is a generic value. If no directory specific for picture files exists, a sensible fallback for storing user documents is returned.
System.StandardPathsTempLocation(7) Returns a directory where temporary files can be stored. The returned value might be application-specific, shared among other applications for this user, or even system-wide. The returned path is never empty.
System.StandardPathsHomeLocation(8) Returns the user's home directory (the same as QDir::homePath()). On Unix systems, this is equal to the HOME environment variable. This value might be generic or application-specific, but the returned path is never empty.
System.StandardPathsAppLocalDataLocation(9) Returns the local settings path on the Windows operating system. On all other platforms, it returns the same value as AppDataLocation.
System.StandardPathsCacheLocation(10) Returns a directory location where user-specific non-essential (cached) data should be written. This is an application-specific directory. The returned path is never empty.
System.StandardPathsGenericCacheLocation(15) Returns a directory location where user-specific non-essential (cached) data, shared across applications, should be written. This is a generic value. Note that the returned path may be empty if the system has no concept of shared cache.
System.StandardPathsGenericDataLocation(11) Returns a directory location where persistent data shared across applications can be stored. This is a generic value. The returned path is never empty.
System.StandardPathsRuntimeLocation(12) Returns a directory location where runtime communication files should be written, like Unix local sockets. This is a generic value. The returned path may be empty on some systems.
System.StandardPathsConfigLocation(13) Returns a directory location where user-specific configuration files should be written. This may be either a generic value or application-specific, and the returned path is never empty.
System.StandardPathsDownloadLocation(14) Returns a directory for user's downloaded files. This is a generic value. If no directory specific for downloads exists, a sensible fallback for storing user documents is returned.
System.StandardPathsGenericConfigLocation(16) Returns a directory location where user-specific configuration files shared between multiple applications should be written. This is a generic value and the returned path is never empty.
System.StandardPathsAppDataLocation(17) Returns a directory location where persistent application data can be stored. This is an application-specific directory. To obtain a path to store data to be shared with other applications, use QStandardPaths::GenericDataLocation. The returned path is never empty. On the Windows operating system, this returns the roaming path.
System.StandardPathsAppConfigLocation(18) Returns a directory location where user-specific configuration files should be written. This is an application-specific directory, and the returned path is never empty.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.