QOperatingSystemVersionBase#
Inherited by: QOperatingSystemVersionUnexported, QOperatingSystemVersion
New in version 6.3.
Synopsis#
Functions#
def
majorVersion
()def
microVersion
()def
minorVersion
()def
name
()def
__lt__
(rhs)def
__le__
(rhs)def
__gt__
(rhs)def
__ge__
(rhs)def
segmentCount
()def
type
()def
version
()
Static functions#
def
compare
(v1, v2)def
current
()def
currentType
()def
name
(osversion)
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
osType –
OSType
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.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:
osversion –
PySide6.QtCore.QOperatingSystemVersionBase
- Return type:
str
- PySide6.QtCore.QOperatingSystemVersionBase.__lt__(rhs)#
- Parameters:
- Return type:
bool
- PySide6.QtCore.QOperatingSystemVersionBase.__le__(rhs)#
- Parameters:
- Return type:
bool
- PySide6.QtCore.QOperatingSystemVersionBase.__gt__(rhs)#
- Parameters:
- Return type:
bool
- PySide6.QtCore.QOperatingSystemVersionBase.__ge__(rhs)#
- Parameters:
- Return type:
bool
- PySide6.QtCore.QOperatingSystemVersionBase.segmentCount()#
- Return type:
int
- PySide6.QtCore.QOperatingSystemVersionBase.version()#
- Return type: