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 « QOperatingSystemVersion »

Informations générales

Héritage

builtins.object
    Object
        QOperatingSystemVersion

Définition

class QOperatingSystemVersion(Object):

Description [extrait de QOperatingSystemVersion.__doc__]

QOperatingSystemVersion(self, QOperatingSystemVersion: PySide6.QtCore.QOperatingSystemVersion) -> None
QOperatingSystemVersion(self, osType: PySide6.QtCore.QOperatingSystemVersion.OSType, vmajor: int, vminor: int = -1, vmicro: int = -1) -> 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
AndroidPySide6.QtCore.QOperatingSystemVersion.OSType.Android
Android10<PySide6.QtCore.QOperatingSystemVersion("Android", 10.0.-1) at 0x7f40e26f5200>
Android11<PySide6.QtCore.QOperatingSystemVersion("Android", 11.0.-1) at 0x7f40e26f5280>
AndroidJellyBean<PySide6.QtCore.QOperatingSystemVersion("Android", 4.1.-1) at 0x7f40e26f4d80>
AndroidJellyBean_MR1<PySide6.QtCore.QOperatingSystemVersion("Android", 4.2.-1) at 0x7f40e26f4dc0>
AndroidJellyBean_MR2<PySide6.QtCore.QOperatingSystemVersion("Android", 4.3.-1) at 0x7f40e26f4e00>
AndroidKitKat<PySide6.QtCore.QOperatingSystemVersion("Android", 4.4.-1) at 0x7f40e26f4e40>
AndroidLollipop<PySide6.QtCore.QOperatingSystemVersion("Android", 5.0.-1) at 0x7f40e26f4ec0>
AndroidLollipop_MR1<PySide6.QtCore.QOperatingSystemVersion("Android", 5.1.-1) at 0x7f40e26f4f40>
AndroidMarshmallow<PySide6.QtCore.QOperatingSystemVersion("Android", 6.0.-1) at 0x7f40e26f4f80>
AndroidNougat<PySide6.QtCore.QOperatingSystemVersion("Android", 7.0.-1) at 0x7f40e26f4fc0>
AndroidNougat_MR1<PySide6.QtCore.QOperatingSystemVersion("Android", 7.1.-1) at 0x7f40e26f5040>
AndroidOreo<PySide6.QtCore.QOperatingSystemVersion("Android", 8.0.-1) at 0x7f40e26f5080>
AndroidOreo_MR1<PySide6.QtCore.QOperatingSystemVersion("Android", 8.1.-1) at 0x7f40e26f5100>
AndroidPie<PySide6.QtCore.QOperatingSystemVersion("Android", 9.0.-1) at 0x7f40e26f5180>
IOSPySide6.QtCore.QOperatingSystemVersion.OSType.IOS
MacOSPySide6.QtCore.QOperatingSystemVersion.OSType.MacOS
MacOSBigSur<PySide6.QtCore.QOperatingSystemVersion("macOS", 10.16.-1) at 0x7f40e26f4d00>
MacOSCatalina<PySide6.QtCore.QOperatingSystemVersion("macOS", 10.15.-1) at 0x7f40e26f4c80>
MacOSHighSierra<PySide6.QtCore.QOperatingSystemVersion("macOS", 10.13.-1) at 0x7f40e26f4b80>
MacOSMojave<PySide6.QtCore.QOperatingSystemVersion("macOS", 10.14.-1) at 0x7f40e26f4c00>
MacOSSierra<PySide6.QtCore.QOperatingSystemVersion("macOS", 10.12.-1) at 0x7f40e26f4b00>
OSXElCapitan<PySide6.QtCore.QOperatingSystemVersion("OS X", 10.11.-1) at 0x7f40e26f4a80>
OSXMavericks<PySide6.QtCore.QOperatingSystemVersion("OS X", 10.9.-1) at 0x7f40e26f4980>
OSXYosemite<PySide6.QtCore.QOperatingSystemVersion("OS X", 10.10.-1) at 0x7f40e26f4a00>
TvOSPySide6.QtCore.QOperatingSystemVersion.OSType.TvOS
UnknownPySide6.QtCore.QOperatingSystemVersion.OSType.Unknown
WatchOSPySide6.QtCore.QOperatingSystemVersion.OSType.WatchOS
WindowsPySide6.QtCore.QOperatingSystemVersion.OSType.Windows
Windows10<PySide6.QtCore.QOperatingSystemVersion("Windows", 10.-1.-1) at 0x7f40e26f4900>
Windows7<PySide6.QtCore.QOperatingSystemVersion("Windows", 6.1.-1) at 0x7f40e26f4780>
Windows8<PySide6.QtCore.QOperatingSystemVersion("Windows", 6.2.-1) at 0x7f40e26f4800>
Windows8_1<PySide6.QtCore.QOperatingSystemVersion("Windows", 6.3.-1) at 0x7f40e26f4880>

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__]
__repr__(self) Return repr(self). [extrait de __repr__.__doc__]
current() -> PySide6.QtCore.QOperatingSystemVersion current() -> PySide6.QtCore.QOperatingSystemVersion [extrait de current.__doc__]
currentType() -> PySide6.QtCore.QOperatingSystemVersion.OSType currentType() -> PySide6.QtCore.QOperatingSystemVersion.OSType [extrait de currentType.__doc__]
majorVersion(self) -> int majorVersion(self) -> int [extrait de majorVersion.__doc__]
microVersion(self) -> int microVersion(self) -> int [extrait de microVersion.__doc__]
minorVersion(self) -> int minorVersion(self) -> int [extrait de minorVersion.__doc__]
name(self) -> str name(self) -> str [extrait de name.__doc__]
OSType
segmentCount(self) -> int segmentCount(self) -> int [extrait de segmentCount.__doc__]
type(self) -> PySide6.QtCore.QOperatingSystemVersion.OSType type(self) -> PySide6.QtCore.QOperatingSystemVersion.OSType [extrait de type.__doc__]
version(self) -> PySide6.QtCore.QVersionNumber version(self) -> PySide6.QtCore.QVersionNumber [extrait de version.__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__, __hash__, __reduce__, __reduce_ex__, __sizeof__, __str__