Skip to content

PythonQt.QtCore.QStandardPaths

QStandardPaths

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

This class contains functions to query standard locations on the local filesystem, for common tasks such as user-specific directories or system-wide configuration directories.

Source: https://doc.qt.io/archives/qt-5.15/qstandardpaths.html

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
AppConfigLocation attribute Any
AppDataLocation attribute Any
AppLocalDataLocation attribute Any
ApplicationsLocation attribute Any
CacheLocation attribute Any
ConfigLocation attribute Any
DataLocation attribute Any
DesktopLocation attribute Any
DocumentsLocation attribute Any
DownloadLocation attribute Any
FontsLocation attribute Any
GenericCacheLocation attribute Any
GenericConfigLocation attribute Any
GenericDataLocation attribute Any
HomeLocation attribute Any
LocateDirectory attribute Any
LocateFile attribute Any
LocateOption attribute type Convert a number or string to an integer, or return 0 if no arguments are given.
LocateOptions attribute type Convert a number or string to an integer, or return 0 if no arguments are given.
MoviesLocation attribute Any
MusicLocation attribute Any
PicturesLocation attribute Any
RuntimeLocation attribute Any
StandardLocation attribute type Convert a number or string to an integer, or return 0 if no arguments are given.
TempLocation attribute Any
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
displayName function (self, type: Any) -> str X.displayName(type) -> str
enableTestMode function (self, testMode: bool) -> None
findExecutable function (self, executableName: str, paths: Any) -> str X.findExecutable(executableName, paths) -> str
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
isTestModeEnabled function (self) -> bool X.isTestModeEnabled() -> bool
locate function (self, type: Any, fileName: str, options: Any) -> str X.locate(type, fileName, options) -> str
locateAll function (self, type: Any, fileName: str, options: Any) -> tuple X.locateAll(type, fileName, options) -> tuple
setTestModeEnabled function (self, testMode: bool) -> None If testMode is true, this enables a special "test mode" in [QStandardPaths](https://doc.qt.io/archives/qt-5.15/qstandardpaths.html), which changes writable locations to point to test directories.
standardLocations function (self, type: Any) -> tuple X.standardLocations(type) -> tuple
writableLocation function (self, type: Any) -> str X.writableLocation(type) -> str