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.QtNetwork »

Classe « QHostAddress »

Informations générales

Héritage

builtins.object
    Object
        QHostAddress

Définition

class QHostAddress(Object):

Description [extrait de QHostAddress.__doc__]

QHostAddress(self) -> None
QHostAddress(self, address: PySide6.QtNetwork.QHostAddress.SpecialAddress) -> None
QHostAddress(self, address: str) -> None
QHostAddress(self, copy: Union[PySide6.QtNetwork.QHostAddress, PySide6.QtNetwork.QHostAddress.SpecialAddress]) -> None
QHostAddress(self, ip4Addr: int) -> None
QHostAddress(self, ip6Addr: PySide6.QtNetwork.QIPv6Address) -> 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
AnyPySide6.QtNetwork.QHostAddress.SpecialAddress.Any
AnyIPProtocolPySide6.QtNetwork.QAbstractSocket.NetworkLayerProtocol.AnyIPProtocol
AnyIPv4PySide6.QtNetwork.QHostAddress.SpecialAddress.AnyIPv4
AnyIPv6PySide6.QtNetwork.QHostAddress.SpecialAddress.AnyIPv6
BroadcastPySide6.QtNetwork.QHostAddress.SpecialAddress.Broadcast
ConvertLocalHostPySide6.QtNetwork.QHostAddress.ConversionModeFlag.ConvertLocalHost
ConvertUnspecifiedAddressPySide6.QtNetwork.QHostAddress.ConversionModeFlag.ConvertUnspecifiedAddress
ConvertV4CompatToIPv4PySide6.QtNetwork.QHostAddress.ConversionModeFlag.ConvertV4CompatToIPv4
ConvertV4MappedToIPv4PySide6.QtNetwork.QHostAddress.ConversionModeFlag.ConvertV4MappedToIPv4
IPv4ProtocolPySide6.QtNetwork.QAbstractSocket.NetworkLayerProtocol.IPv4Protocol
IPv6ProtocolPySide6.QtNetwork.QAbstractSocket.NetworkLayerProtocol.IPv6Protocol
LocalHostPySide6.QtNetwork.QHostAddress.SpecialAddress.LocalHost
LocalHostIPv6PySide6.QtNetwork.QHostAddress.SpecialAddress.LocalHostIPv6
NullPySide6.QtNetwork.QHostAddress.SpecialAddress.Null
StrictConversionPySide6.QtNetwork.QHostAddress.ConversionModeFlag.StrictConversion
TolerantConversionPySide6.QtNetwork.QHostAddress.ConversionModeFlag.TolerantConversion
UnknownNetworkLayerProtocolPySide6.QtNetwork.QAbstractSocket.NetworkLayerProtocol.UnknownNetworkLayerProtocol

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__]
__lshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream __lshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream [extrait de __lshift__.__doc__]
__lt__(self, value) Return self<value. [extrait de __lt__.__doc__]
__ne__(self, value) Return self!=value. [extrait de __ne__.__doc__]
__rlshift__(self, value) Return value<<self. [extrait de __rlshift__.__doc__]
__rrshift__(self, value) Return value>>self. [extrait de __rrshift__.__doc__]
__rshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream __rshift__(self, arg__1: PySide6.QtCore.QDataStream) -> PySide6.QtCore.QDataStream [extrait de __rshift__.__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
__bool__(self) self != 0 [extrait de __bool__.__doc__]
__copy__() -> None __copy__() -> None [extrait de __copy__.__doc__]
__hash__(self) Return hash(self). [extrait de __hash__.__doc__]
__repr__(self) Return repr(self). [extrait de __repr__.__doc__]
clear(self) -> None clear(self) -> None [extrait de clear.__doc__]
ConversionMode
ConversionModeFlag
isBroadcast(self) -> bool isBroadcast(self) -> bool [extrait de isBroadcast.__doc__]
isEqual(self, address: Union[PySide6.QtNetwork.QHostAddress, PySide6.QtNetwork.QHostAddress.SpecialAddress], mode: PySide6.QtNetwork.QHostAddress.ConversionMode = PySide6.QtNetwork.QHostAddress.ConversionModeFlag.TolerantConversion) -> bool isEqual(self, address: Union[PySide6.QtNetwork.QHostAddress, PySide6.QtNetwork.QHostAddress.SpecialAddress], mode: PySide6.QtNetwork.QHostAddress.ConversionMode = PySide6.QtNetwork.QHostAddress.ConversionModeFlag.TolerantConversion) -> bool [extrait de isEqual.__doc__]
isGlobal(self) -> bool isGlobal(self) -> bool [extrait de isGlobal.__doc__]
isInSubnet isInSubnet(self, subnet: Tuple[PySide6.QtNetwork.QHostAddress, int]) -> bool [extrait de isInSubnet.__doc__]
isLinkLocal(self) -> bool isLinkLocal(self) -> bool [extrait de isLinkLocal.__doc__]
isLoopback(self) -> bool isLoopback(self) -> bool [extrait de isLoopback.__doc__]
isMulticast(self) -> bool isMulticast(self) -> bool [extrait de isMulticast.__doc__]
isNull(self) -> bool isNull(self) -> bool [extrait de isNull.__doc__]
isSiteLocal(self) -> bool isSiteLocal(self) -> bool [extrait de isSiteLocal.__doc__]
isUniqueLocalUnicast(self) -> bool isUniqueLocalUnicast(self) -> bool [extrait de isUniqueLocalUnicast.__doc__]
parseSubnet(subnet: str) -> Tuple[PySide6.QtNetwork.QHostAddress, int] parseSubnet(subnet: str) -> Tuple[PySide6.QtNetwork.QHostAddress, int] [extrait de parseSubnet.__doc__]
protocol(self) -> PySide6.QtNetwork.QAbstractSocket.NetworkLayerProtocol protocol(self) -> PySide6.QtNetwork.QAbstractSocket.NetworkLayerProtocol [extrait de protocol.__doc__]
scopeId(self) -> str scopeId(self) -> str [extrait de scopeId.__doc__]
setAddress setAddress(self, address: PySide6.QtNetwork.QHostAddress.SpecialAddress) -> None [extrait de setAddress.__doc__]
setScopeId(self, id: str) -> None setScopeId(self, id: str) -> None [extrait de setScopeId.__doc__]
SpecialAddress
swap(self, other: Union[PySide6.QtNetwork.QHostAddress, PySide6.QtNetwork.QHostAddress.SpecialAddress]) -> None swap(self, other: Union[PySide6.QtNetwork.QHostAddress, PySide6.QtNetwork.QHostAddress.SpecialAddress]) -> None [extrait de swap.__doc__]
toIPv4Address(self) -> Tuple[int, bool] toIPv4Address(self) -> Tuple[int, bool] [extrait de toIPv4Address.__doc__]
toIPv6Address(self) -> PySide6.QtNetwork.QIPv6Address toIPv6Address(self) -> PySide6.QtNetwork.QIPv6Address [extrait de toIPv6Address.__doc__]
toString(self) -> str toString(self) -> str [extrait de toString.__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__, __reduce_ex__, __sizeof__, __str__