QOperatingSystemVersionBase#

Inherited by: QOperatingSystemVersionUnexported, QOperatingSystemVersion

New in version 6.3.

Synopsis#

Functions#

Static functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class PySide6.QtCore.QOperatingSystemVersionBase#

PySide6.QtCore.QOperatingSystemVersionBase(osType, vmajor[, vminor=-1[, vmicro=-1]])

Parameters:
  • vmicro – int

  • vmajor – int

  • osTypeOSType

  • vminor – int

PySide6.QtCore.QOperatingSystemVersionBase.OSType#
static PySide6.QtCore.QOperatingSystemVersionBase.compare(v1, v2)#
Parameters:
Return type:

int

static PySide6.QtCore.QOperatingSystemVersionBase.current()#
Return type:

PySide6.QtCore.QOperatingSystemVersionBase

static PySide6.QtCore.QOperatingSystemVersionBase.currentType()#
Return type:

OSType

PySide6.QtCore.QOperatingSystemVersionBase.majorVersion()#
Return type:

int

PySide6.QtCore.QOperatingSystemVersionBase.microVersion()#
Return type:

int

PySide6.QtCore.QOperatingSystemVersionBase.minorVersion()#
Return type:

int

PySide6.QtCore.QOperatingSystemVersionBase.name()#
Return type:

str

static PySide6.QtCore.QOperatingSystemVersionBase.name(osversion)
Parameters:

osversionPySide6.QtCore.QOperatingSystemVersionBase

Return type:

str

PySide6.QtCore.QOperatingSystemVersionBase.__lt__(rhs)#
Parameters:

rhsPySide6.QtCore.QOperatingSystemVersionBase

Return type:

bool

PySide6.QtCore.QOperatingSystemVersionBase.__le__(rhs)#
Parameters:

rhsPySide6.QtCore.QOperatingSystemVersionBase

Return type:

bool

PySide6.QtCore.QOperatingSystemVersionBase.__gt__(rhs)#
Parameters:

rhsPySide6.QtCore.QOperatingSystemVersionBase

Return type:

bool

PySide6.QtCore.QOperatingSystemVersionBase.__ge__(rhs)#
Parameters:

rhsPySide6.QtCore.QOperatingSystemVersionBase

Return type:

bool

PySide6.QtCore.QOperatingSystemVersionBase.segmentCount()#
Return type:

int

PySide6.QtCore.QOperatingSystemVersionBase.type()#
Return type:

OSType

PySide6.QtCore.QOperatingSystemVersionBase.version()#
Return type:

PySide6.QtCore.QVersionNumber