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 « PySide2.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: PySide2.QtCore.QOperatingSystemVersion)
QOperatingSystemVersion(self, osType: PySide2.QtCore.QOperatingSystemVersion.OSType, vmajor: int, vminor: int = -1, vmicro: int = -1)

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__]
__init__(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AndroidPySide2.QtCore.QOperatingSystemVersion.OSType.Android
AndroidJellyBean<PySide2.QtCore.QOperatingSystemVersion("Android", 4.1.-1) at 0x7efe36ca0b00>
AndroidJellyBean_MR1<PySide2.QtCore.QOperatingSystemVersion("Android", 4.2.-1) at 0x7efe36ca0b40>
AndroidJellyBean_MR2<PySide2.QtCore.QOperatingSystemVersion("Android", 4.3.-1) at 0x7efe36ca0b80>
AndroidKitKat<PySide2.QtCore.QOperatingSystemVersion("Android", 4.4.-1) at 0x7efe36ca0bc0>
AndroidLollipop<PySide2.QtCore.QOperatingSystemVersion("Android", 5.0.-1) at 0x7efe36ca0c40>
AndroidLollipop_MR1<PySide2.QtCore.QOperatingSystemVersion("Android", 5.1.-1) at 0x7efe36ca0cc0>
AndroidMarshmallow<PySide2.QtCore.QOperatingSystemVersion("Android", 6.0.-1) at 0x7efe36ca0d00>
AndroidNougat<PySide2.QtCore.QOperatingSystemVersion("Android", 7.0.-1) at 0x7efe36ca0d40>
AndroidNougat_MR1<PySide2.QtCore.QOperatingSystemVersion("Android", 7.1.-1) at 0x7efe36ca0dc0>
AndroidOreo<PySide2.QtCore.QOperatingSystemVersion("Android", 8.0.-1) at 0x7efe36ca0e00>
IOSPySide2.QtCore.QOperatingSystemVersion.OSType.IOS
MacOSPySide2.QtCore.QOperatingSystemVersion.OSType.MacOS
MacOSCatalina<PySide2.QtCore.QOperatingSystemVersion("macOS", 10.15.-1) at 0x7efe36ca0a80>
MacOSHighSierra<PySide2.QtCore.QOperatingSystemVersion("macOS", 10.13.-1) at 0x7efe36ca0980>
MacOSMojave<PySide2.QtCore.QOperatingSystemVersion("macOS", 10.14.-1) at 0x7efe36ca0a00>
MacOSSierra<PySide2.QtCore.QOperatingSystemVersion("macOS", 10.12.-1) at 0x7efe36ca0900>
OSXElCapitan<PySide2.QtCore.QOperatingSystemVersion("OS X", 10.11.-1) at 0x7efe36ca0880>
OSXMavericks<PySide2.QtCore.QOperatingSystemVersion("OS X", 10.9.-1) at 0x7efe36ca0780>
OSXYosemite<PySide2.QtCore.QOperatingSystemVersion("OS X", 10.10.-1) at 0x7efe36ca0800>
TvOSPySide2.QtCore.QOperatingSystemVersion.OSType.TvOS
UnknownPySide2.QtCore.QOperatingSystemVersion.OSType.Unknown
WatchOSPySide2.QtCore.QOperatingSystemVersion.OSType.WatchOS
WindowsPySide2.QtCore.QOperatingSystemVersion.OSType.Windows
Windows10<PySide2.QtCore.QOperatingSystemVersion("Windows", 10.-1.-1) at 0x7efe36ca0700>
Windows7<PySide2.QtCore.QOperatingSystemVersion("Windows", 6.1.-1) at 0x7efe36ca0580>
Windows8<PySide2.QtCore.QOperatingSystemVersion("Windows", 6.2.-1) at 0x7efe36ca0600>
Windows8_1<PySide2.QtCore.QOperatingSystemVersion("Windows", 6.3.-1) at 0x7efe36ca0680>

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

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__(self) __copy__(self) [extrait de __copy__.__doc__]
__repr__(self) Return repr(self). [extrait de __repr__.__doc__]
current() -> PySide2.QtCore.QOperatingSystemVersion current() -> PySide2.QtCore.QOperatingSystemVersion [extrait de current.__doc__]
currentType() -> PySide2.QtCore.QOperatingSystemVersion.OSType currentType() -> PySide2.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) -> PySide2.QtCore.QOperatingSystemVersion.OSType type(self) -> PySide2.QtCore.QOperatingSystemVersion.OSType [extrait de type.__doc__]

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

__init_subclass__, __subclasshook__

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

__delattr__, __dir__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__