Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtCore »

Classe « QUrl »

Informations générales

Héritage

builtins.object
    Object
        QUrl

Définition

class QUrl(Object):

Description [extrait de QUrl.__doc__]

QUrl(self) -> None
QUrl(self, copy: Union[PySide6.QtCore.QUrl, str]) -> None
QUrl(self, url: str, mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.TolerantMode) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AssumeLocalFilePySide6.QtCore.QUrl.UserInputResolutionOption.AssumeLocalFile
DecodedModePySide6.QtCore.QUrl.ParsingMode.DecodedMode
DecodeReservedPySide6.QtCore.QUrl.ComponentFormattingOption.DecodeReserved
DefaultResolutionPySide6.QtCore.QUrl.UserInputResolutionOption.DefaultResolution
EncodeDelimitersPySide6.QtCore.QUrl.ComponentFormattingOption.EncodeDelimiters
EncodeReservedPySide6.QtCore.QUrl.ComponentFormattingOption.EncodeReserved
EncodeSpacesPySide6.QtCore.QUrl.ComponentFormattingOption.EncodeSpaces
EncodeUnicodePySide6.QtCore.QUrl.ComponentFormattingOption.EncodeUnicode
FullyDecodedPySide6.QtCore.QUrl.ComponentFormattingOption.FullyDecoded
FullyEncodedPySide6.QtCore.QUrl.ComponentFormattingOption.FullyEncoded
None_PySide6.QtCore.QUrl.UrlFormattingOption.None_
NormalizePathSegmentsPySide6.QtCore.QUrl.UrlFormattingOption.NormalizePathSegments
PreferLocalFilePySide6.QtCore.QUrl.UrlFormattingOption.PreferLocalFile
PrettyDecodedPySide6.QtCore.QUrl.ComponentFormattingOption.PrettyDecoded
RemoveAuthorityPySide6.QtCore.QUrl.UrlFormattingOption.RemoveAuthority
RemoveFilenamePySide6.QtCore.QUrl.UrlFormattingOption.RemoveFilename
RemoveFragmentPySide6.QtCore.QUrl.UrlFormattingOption.RemoveFragment
RemovePasswordPySide6.QtCore.QUrl.UrlFormattingOption.RemovePassword
RemovePathPySide6.QtCore.QUrl.UrlFormattingOption.RemovePath
RemovePortPySide6.QtCore.QUrl.UrlFormattingOption.RemovePort
RemoveQueryPySide6.QtCore.QUrl.UrlFormattingOption.RemoveQuery
RemoveSchemePySide6.QtCore.QUrl.UrlFormattingOption.RemoveScheme
RemoveUserInfoPySide6.QtCore.QUrl.UrlFormattingOption.RemoveUserInfo
StrictModePySide6.QtCore.QUrl.ParsingMode.StrictMode
StripTrailingSlashPySide6.QtCore.QUrl.UrlFormattingOption.StripTrailingSlash
TolerantModePySide6.QtCore.QUrl.ParsingMode.TolerantMode

Liste des opérateurs

Signature de l'opérateur Description
__eq__(self, value) Return self==value. [extrait de __eq__.__doc__]
__ge__(self, value) Return self>=value. [extrait de __ge__.__doc__]
__gt__(self, value) Return self>value. [extrait de __gt__.__doc__]
__le__(self, value) Return self<=value. [extrait de __le__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__copy__() -> None __copy__() -> None [extrait de __copy__.__doc__]
__hash__(self) Return hash(self). [extrait de __hash__.__doc__]
__reduce__(self) -> object __reduce__(self) -> object [extrait de __reduce__.__doc__]
__repr__(self) -> object __repr__(self) -> object [extrait de __repr__.__doc__]
adjusted(self, options: PySide6.QtCore.QUrl.FormattingOptions) -> PySide6.QtCore.QUrl adjusted(self, options: PySide6.QtCore.QUrl.FormattingOptions) -> PySide6.QtCore.QUrl [extrait de adjusted.__doc__]
authority(self, options: PySide6.QtCore.QUrl.ComponentFormattingOption = PySide6.QtCore.QUrl.ComponentFormattingOption.PrettyDecoded) -> str authority(self, options: PySide6.QtCore.QUrl.ComponentFormattingOption = PySide6.QtCore.QUrl.ComponentFormattingOption.PrettyDecoded) -> str [extrait de authority.__doc__]
clear(self) -> None clear(self) -> None [extrait de clear.__doc__]
ComponentFormattingOption
errorString(self) -> str errorString(self) -> str [extrait de errorString.__doc__]
fileName(self, options: PySide6.QtCore.QUrl.ComponentFormattingOption = PySide6.QtCore.QUrl.ComponentFormattingOption.FullyDecoded) -> str fileName(self, options: PySide6.QtCore.QUrl.ComponentFormattingOption = PySide6.QtCore.QUrl.ComponentFormattingOption.FullyDecoded) -> str [extrait de fileName.__doc__]
FormattingOptions
fragment(self, options: PySide6.QtCore.QUrl.ComponentFormattingOption = PySide6.QtCore.QUrl.ComponentFormattingOption.PrettyDecoded) -> str fragment(self, options: PySide6.QtCore.QUrl.ComponentFormattingOption = PySide6.QtCore.QUrl.ComponentFormattingOption.PrettyDecoded) -> str [extrait de fragment.__doc__]
fromAce(arg__1: Union[PySide6.QtCore.QByteArray, bytes]) -> str fromAce(arg__1: Union[PySide6.QtCore.QByteArray, bytes]) -> str [extrait de fromAce.__doc__]
fromEncoded(url: Union[PySide6.QtCore.QByteArray, bytes], mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.TolerantMode) -> PySide6.QtCore.QUrl fromEncoded(url: Union[PySide6.QtCore.QByteArray, bytes], mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.TolerantMode) -> PySide6.QtCore.QUrl [extrait de fromEncoded.__doc__]
fromLocalFile(localfile: Union[str, bytes, os.PathLike]) -> PySide6.QtCore.QUrl fromLocalFile(localfile: Union[str, bytes, os.PathLike]) -> PySide6.QtCore.QUrl [extrait de fromLocalFile.__doc__]
fromPercentEncoding(arg__1: Union[PySide6.QtCore.QByteArray, bytes]) -> str fromPercentEncoding(arg__1: Union[PySide6.QtCore.QByteArray, bytes]) -> str [extrait de fromPercentEncoding.__doc__]
fromStringList(uris: Sequence[str], mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.TolerantMode) -> List[PySide6.QtCore.QUrl] fromStringList(uris: Sequence[str], mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.TolerantMode) -> List[PySide6.QtCore.QUrl] [extrait de fromStringList.__doc__]
fromUserInput(userInput: str, workingDirectory: str = '', options: PySide6.QtCore.QUrl.UserInputResolutionOptions = PySide6.QtCore.QUrl.UserInputResolutionOption.DefaultResolution) -> PySide6.QtCore.QUrl fromUserInput(userInput: str, workingDirectory: str = '', options: PySide6.QtCore.QUrl.UserInputResolutionOptions = PySide6.QtCore.QUrl.UserInputResolutionOption.DefaultResolution) -> PySide6.QtCore.QUrl [extrait de fromUserInput.__doc__]
hasFragment(self) -> bool hasFragment(self) -> bool [extrait de hasFragment.__doc__]
hasQuery(self) -> bool hasQuery(self) -> bool [extrait de hasQuery.__doc__]
host(self, arg__1: PySide6.QtCore.QUrl.ComponentFormattingOption = PySide6.QtCore.QUrl.ComponentFormattingOption.FullyDecoded) -> str host(self, arg__1: PySide6.QtCore.QUrl.ComponentFormattingOption = PySide6.QtCore.QUrl.ComponentFormattingOption.FullyDecoded) -> str [extrait de host.__doc__]
idnWhitelist() -> List[str] idnWhitelist() -> List[str] [extrait de idnWhitelist.__doc__]
isEmpty(self) -> bool isEmpty(self) -> bool [extrait de isEmpty.__doc__]
isLocalFile(self) -> bool isLocalFile(self) -> bool [extrait de isLocalFile.__doc__]
isParentOf(self, url: Union[PySide6.QtCore.QUrl, str]) -> bool isParentOf(self, url: Union[PySide6.QtCore.QUrl, str]) -> bool [extrait de isParentOf.__doc__]
isRelative(self) -> bool isRelative(self) -> bool [extrait de isRelative.__doc__]
isValid(self) -> bool isValid(self) -> bool [extrait de isValid.__doc__]
matches(self, url: Union[PySide6.QtCore.QUrl, str], options: PySide6.QtCore.QUrl.FormattingOptions) -> bool matches(self, url: Union[PySide6.QtCore.QUrl, str], options: PySide6.QtCore.QUrl.FormattingOptions) -> bool [extrait de matches.__doc__]
ParsingMode
password(self, arg__1: PySide6.QtCore.QUrl.ComponentFormattingOption = PySide6.QtCore.QUrl.ComponentFormattingOption.FullyDecoded) -> str password(self, arg__1: PySide6.QtCore.QUrl.ComponentFormattingOption = PySide6.QtCore.QUrl.ComponentFormattingOption.FullyDecoded) -> str [extrait de password.__doc__]
path(self, options: PySide6.QtCore.QUrl.ComponentFormattingOption = PySide6.QtCore.QUrl.ComponentFormattingOption.FullyDecoded) -> str path(self, options: PySide6.QtCore.QUrl.ComponentFormattingOption = PySide6.QtCore.QUrl.ComponentFormattingOption.FullyDecoded) -> str [extrait de path.__doc__]
port(self, defaultPort: int = -1) -> int port(self, defaultPort: int = -1) -> int [extrait de port.__doc__]
query(self, arg__1: PySide6.QtCore.QUrl.ComponentFormattingOption = PySide6.QtCore.QUrl.ComponentFormattingOption.PrettyDecoded) -> str query(self, arg__1: PySide6.QtCore.QUrl.ComponentFormattingOption = PySide6.QtCore.QUrl.ComponentFormattingOption.PrettyDecoded) -> str [extrait de query.__doc__]
resolved(self, relative: Union[PySide6.QtCore.QUrl, str]) -> PySide6.QtCore.QUrl resolved(self, relative: Union[PySide6.QtCore.QUrl, str]) -> PySide6.QtCore.QUrl [extrait de resolved.__doc__]
scheme(self) -> str scheme(self) -> str [extrait de scheme.__doc__]
setAuthority(self, authority: str, mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.TolerantMode) -> None setAuthority(self, authority: str, mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.TolerantMode) -> None [extrait de setAuthority.__doc__]
setFragment(self, fragment: str, mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.TolerantMode) -> None setFragment(self, fragment: str, mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.TolerantMode) -> None [extrait de setFragment.__doc__]
setHost(self, host: str, mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.DecodedMode) -> None setHost(self, host: str, mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.DecodedMode) -> None [extrait de setHost.__doc__]
setIdnWhitelist(arg__1: Sequence[str]) -> None setIdnWhitelist(arg__1: Sequence[str]) -> None [extrait de setIdnWhitelist.__doc__]
setPassword(self, password: str, mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.DecodedMode) -> None setPassword(self, password: str, mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.DecodedMode) -> None [extrait de setPassword.__doc__]
setPath(self, path: str, mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.DecodedMode) -> None setPath(self, path: str, mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.DecodedMode) -> None [extrait de setPath.__doc__]
setPort(self, port: int) -> None setPort(self, port: int) -> None [extrait de setPort.__doc__]
setQuery setQuery(self, query: PySide6.QtCore.QUrlQuery) -> None [extrait de setQuery.__doc__]
setScheme(self, scheme: str) -> None setScheme(self, scheme: str) -> None [extrait de setScheme.__doc__]
setUrl(self, url: str, mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.TolerantMode) -> None setUrl(self, url: str, mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.TolerantMode) -> None [extrait de setUrl.__doc__]
setUserInfo(self, userInfo: str, mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.TolerantMode) -> None setUserInfo(self, userInfo: str, mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.TolerantMode) -> None [extrait de setUserInfo.__doc__]
setUserName(self, userName: str, mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.DecodedMode) -> None setUserName(self, userName: str, mode: PySide6.QtCore.QUrl.ParsingMode = PySide6.QtCore.QUrl.ParsingMode.DecodedMode) -> None [extrait de setUserName.__doc__]
swap(self, other: Union[PySide6.QtCore.QUrl, str]) -> None swap(self, other: Union[PySide6.QtCore.QUrl, str]) -> None [extrait de swap.__doc__]
toAce(arg__1: str) -> PySide6.QtCore.QByteArray toAce(arg__1: str) -> PySide6.QtCore.QByteArray [extrait de toAce.__doc__]
toDisplayString(self, options: PySide6.QtCore.QUrl.FormattingOptions = Instance(QUrl.FormattingOptions(QUrl.PrettyDecoded))) -> str toDisplayString(self, options: PySide6.QtCore.QUrl.FormattingOptions = Instance(QUrl.FormattingOptions(QUrl.PrettyDecoded))) -> str [extrait de toDisplayString.__doc__]
toEncoded(self, options: PySide6.QtCore.QUrl.FormattingOptions = PySide6.QtCore.QUrl.ComponentFormattingOption.FullyEncoded) -> PySide6.QtCore.QByteArray toEncoded(self, options: PySide6.QtCore.QUrl.FormattingOptions = PySide6.QtCore.QUrl.ComponentFormattingOption.FullyEncoded) -> PySide6.QtCore.QByteArray [extrait de toEncoded.__doc__]
toLocalFile(self) -> str toLocalFile(self) -> str [extrait de toLocalFile.__doc__]
toPercentEncoding(arg__1: str, exclude: Union[PySide6.QtCore.QByteArray, bytes] = Default(QByteArray), include: Union[PySide6.QtCore.QByteArray, bytes] = Default(QByteArray)) -> PySide6.QtCore.QByteArray toPercentEncoding(arg__1: str, exclude: Union[PySide6.QtCore.QByteArray, bytes] = Default(QByteArray), include: Union[PySide6.QtCore.QByteArray, bytes] = Default(QByteArray)) -> PySide6.QtCore.QByteArray [extrait de toPercentEncoding.__doc__]
toString(self, options: PySide6.QtCore.QUrl.FormattingOptions = Instance(QUrl.FormattingOptions(QUrl.PrettyDecoded))) -> str toString(self, options: PySide6.QtCore.QUrl.FormattingOptions = Instance(QUrl.FormattingOptions(QUrl.PrettyDecoded))) -> str [extrait de toString.__doc__]
toStringList(uris: Sequence[PySide6.QtCore.QUrl], options: PySide6.QtCore.QUrl.FormattingOptions = Instance(QUrl.FormattingOptions(QUrl.PrettyDecoded))) -> List[str] toStringList(uris: Sequence[PySide6.QtCore.QUrl], options: PySide6.QtCore.QUrl.FormattingOptions = Instance(QUrl.FormattingOptions(QUrl.PrettyDecoded))) -> List[str] [extrait de toStringList.__doc__]
url(self, options: PySide6.QtCore.QUrl.FormattingOptions = Instance(QUrl.FormattingOptions(QUrl.PrettyDecoded))) -> str url(self, options: PySide6.QtCore.QUrl.FormattingOptions = Instance(QUrl.FormattingOptions(QUrl.PrettyDecoded))) -> str [extrait de url.__doc__]
UrlFormattingOption
userInfo(self, options: PySide6.QtCore.QUrl.ComponentFormattingOption = PySide6.QtCore.QUrl.ComponentFormattingOption.PrettyDecoded) -> str userInfo(self, options: PySide6.QtCore.QUrl.ComponentFormattingOption = PySide6.QtCore.QUrl.ComponentFormattingOption.PrettyDecoded) -> str [extrait de userInfo.__doc__]
UserInputResolutionOption
UserInputResolutionOptions
userName(self, options: PySide6.QtCore.QUrl.ComponentFormattingOption = PySide6.QtCore.QUrl.ComponentFormattingOption.FullyDecoded) -> str userName(self, options: PySide6.QtCore.QUrl.ComponentFormattingOption = PySide6.QtCore.QUrl.ComponentFormattingOption.FullyDecoded) -> str [extrait de userName.__doc__]

Méthodes héritées de la classe Object

__delattr__, __getattribute__, __init_subclass__, __setattr__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __reduce_ex__, __sizeof__, __str__