QSysInfo露
- PyQt5.QtCore.QSysInfo
Description露
The QSysInfo class provides information about the system.
WordSize specifies the size of a pointer for the platform on which the application is compiled.
ByteOrder specifies whether the platform is big-endian or little-endian.
Some constants are defined only on certain platforms. You can use the preprocessor symbols Q_OS_WIN and Q_OS_MACOS to test that the application is compiled under Windows or macOS.
See also
Enums露
- Endian
Member
Value
Description
BigEndian 0
Big-endian byte order (also called Network byte order)
ByteOrder LittleEndian
Equals or , depending on the platform鈥檚 byte order.
LittleEndian 1
Little-endian byte order
- MacVersion
TODO
Member
Value
Description
MV_10_0 TODO
TODO
MV_10_1 TODO
TODO
MV_10_10 TODO
TODO
MV_10_11 TODO
TODO
MV_10_12 TODO
TODO
MV_10_2 TODO
TODO
MV_10_3 TODO
TODO
MV_10_4 TODO
TODO
MV_10_5 TODO
TODO
MV_10_6 TODO
TODO
MV_10_7 TODO
TODO
MV_10_8 TODO
TODO
MV_10_9 TODO
TODO
MV_9 TODO
TODO
MV_CHEETAH TODO
TODO
MV_ELCAPITAN TODO
TODO
MV_IOS TODO
TODO
MV_IOS_10_0 TODO
TODO
MV_IOS_4_3 TODO
TODO
MV_IOS_5_0 TODO
TODO
MV_IOS_5_1 TODO
TODO
MV_IOS_6_0 TODO
TODO
MV_IOS_6_1 TODO
TODO
MV_IOS_7_0 TODO
TODO
MV_IOS_7_1 TODO
TODO
MV_IOS_8_0 TODO
TODO
MV_IOS_8_1 TODO
TODO
MV_IOS_8_2 TODO
TODO
MV_IOS_8_3 TODO
TODO
MV_IOS_8_4 TODO
TODO
MV_IOS_9_0 TODO
TODO
MV_IOS_9_1 TODO
TODO
MV_IOS_9_2 TODO
TODO
MV_IOS_9_3 TODO
TODO
MV_JAGUAR TODO
TODO
MV_LEOPARD TODO
TODO
MV_LION TODO
TODO
MV_MAVERICKS TODO
TODO
MV_MOUNTAINLION TODO
TODO
MV_PANTHER TODO
TODO
MV_PUMA TODO
TODO
MV_SIERRA TODO
TODO
MV_SNOWLEOPARD TODO
TODO
MV_TIGER TODO
TODO
MV_TVOS TODO
TODO
MV_TVOS_10_0 TODO
TODO
MV_TVOS_9_0 TODO
TODO
MV_TVOS_9_1 TODO
TODO
MV_TVOS_9_2 TODO
TODO
MV_Unknown TODO
TODO
MV_WATCHOS TODO
TODO
MV_WATCHOS_2_0 TODO
TODO
MV_WATCHOS_2_1 TODO
TODO
MV_WATCHOS_2_2 TODO
TODO
MV_WATCHOS_3_0 TODO
TODO
MV_YOSEMITE TODO
TODO
- Sizes
This enum provides platform-specific information about the sizes of data structures used by the underlying architecture.
Member
Value
Description
WordSize (sizeof(void *)<<3)
The size in bits of a pointer for the platform on which the application is compiled (32 or 64).
- WinVersion
TODO
Member
Value
Description
WV_10_0 TODO
TODO
WV_2000 TODO
TODO
WV_2003 TODO
TODO
WV_32s TODO
TODO
WV_4_0 TODO
TODO
WV_5_0 TODO
TODO
WV_5_1 TODO
TODO
WV_5_2 TODO
TODO
WV_6_0 TODO
TODO
WV_6_1 TODO
TODO
WV_6_2 TODO
TODO
WV_6_3 TODO
TODO
WV_95 TODO
TODO
WV_98 TODO
TODO
WV_CE TODO
TODO
WV_CE_5 TODO
TODO
WV_CE_6 TODO
TODO
WV_CE_based TODO
TODO
WV_CENET TODO
TODO
WV_DOS_based TODO
TODO
WV_Me TODO
TODO
WV_NT TODO
TODO
WV_NT_based TODO
TODO
WV_VISTA TODO
TODO
WV_WINDOWS10 TODO
TODO
WV_WINDOWS7 TODO
TODO
WV_WINDOWS8 TODO
TODO
WV_WINDOWS8_1 TODO
TODO
WV_XP TODO
TODO
Attributes露
- MacintoshVersion: MacVersion
This is a read-only class attribute.
TODO
- WindowsVersion: WinVersion
This is a read-only class attribute.
TODO
Methods露
- __init__()
TODO
- __init__(QSysInfo)
TODO
-
@staticmethod
buildAbi() → str TODO
-
@staticmethod
buildCpuArchitecture() → str TODO
-
@staticmethod
currentCpuArchitecture() → str TODO
-
@staticmethod
kernelType() → str TODO
-
@staticmethod
kernelVersion() → str TODO
-
@staticmethod
machineHostName() → str TODO
-
@staticmethod
macVersion() → MacVersion TODO
-
@staticmethod
prettyProductName() → str TODO
-
@staticmethod
productType() → str TODO
-
@staticmethod
productVersion() → str TODO
-
@staticmethod
windowsVersion() → WinVersion TODO