- class QOperatingSystemVersionBase#
Inherited by:
QOperatingSystemVersionUnexported
,QOperatingSystemVersion
New in version 6.3.
Synopsis#
Methods#
def
__init__()
def
majorVersion()
def
microVersion()
def
minorVersion()
def
name()
def
__lt__()
def
__le__()
def
__gt__()
def
__ge__()
def
segmentCount()
def
type()
def
version()
Static functions#
def
compare()
def
current()
def
currentType()
def
name()
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 OSType#
- __init__(osType, vmajor[, vminor=-1[, vmicro=-1]])#
- Parameters:
osType –
OSType
vmajor – int
vminor – int
vmicro – int
- __init__()
- static compare(v1, v2)#
- Parameters:
- Return type:
int
- static current()#
- Return type:
- majorVersion()#
- Return type:
int
- microVersion()#
- Return type:
int
- minorVersion()#
- Return type:
int
- name()#
- Return type:
str
- static name(osversion)
- Parameters:
osversion –
QOperatingSystemVersionBase
- Return type:
str
- __lt__(rhs)#
- Parameters:
- Return type:
bool
- __le__(rhs)#
- Parameters:
- Return type:
bool
- __gt__(rhs)#
- Parameters:
- Return type:
bool
- __ge__(rhs)#
- Parameters:
- Return type:
bool
- segmentCount()#
- Return type:
int
- version()#
- Return type: