Skip to content

PythonQt.Qt.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 (shared captured text)
AppDataLocation attribute Any (shared captured text)
AppLocalDataLocation attribute Any (shared captured text)
ApplicationsLocation attribute Any (shared captured text)
CacheLocation attribute Any (shared captured text)
ConfigLocation attribute Any (shared captured text)
DataLocation attribute Any (shared captured text)
DesktopLocation attribute Any (shared captured text)
DocumentsLocation attribute Any (shared captured text)
DownloadLocation attribute Any (shared captured text)
FontsLocation attribute Any (shared captured text)
GenericCacheLocation attribute Any (shared captured text)
GenericConfigLocation attribute Any (shared captured text)
GenericDataLocation attribute Any (shared captured text)
HomeLocation attribute Any (shared captured text)
LocateDirectory attribute Any (shared captured text)
LocateFile attribute Any (shared captured text)
LocateOption attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
LocateOptions attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
MoviesLocation attribute Any (shared captured text)
MusicLocation attribute Any (shared captured text)
PicturesLocation attribute Any (shared captured text)
RuntimeLocation attribute Any (shared captured text)
StandardLocation attribute type Convert a number or string to an integer, or return 0 if no arguments are given. (shared captured text)
TempLocation attribute Any (shared captured text)
__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 (shared captured text)
enableTestMode function (self, testMode: bool) -> None (shared captured text)
findExecutable function (self, executableName: str, paths: Any) -> str X.findExecutable(executableName, paths) -> str (shared captured text)
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 (shared captured text)
locate function (self, type: Any, fileName: str, options: Any) -> str X.locate(type, fileName, options) -> str (shared captured text)
locateAll function (self, type: Any, fileName: str, options: Any) -> tuple X.locateAll(type, fileName, options) -> tuple (shared captured text)
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. (shared captured text)
standardLocations function (self, type: Any) -> tuple X.standardLocations(type) -> tuple (shared captured text)
writableLocation function (self, type: Any) -> str X.writableLocation(type) -> str (shared captured text)