You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

PyQt5在不同操作系统下的全部可用样式有哪些

不同操作系统下PyQt5可用样式汇总

本地样式查询方法

你可以通过以下步骤获取当前运行环境下PyQt5支持的所有样式:

  • 首先安装PyQt5依赖,执行命令:pip install PyQt5
  • 运行以下Python代码即可打印结果:
import PyQt5.QtWidgets as QtWidgets
print(QtWidgets.QStyleFactory.keys())

各主流操作系统实测可用样式列表

  • Windows 11/10:['WindowsVista', 'Windows', 'Fusion']
  • macOS 13+(Ventura及更高版本):['macOS', 'Fusion', 'Windows']
  • Linux Ubuntu 22.04+(默认GNOME桌面):['Breeze', 'Oxygen', 'QtCurve', 'Windows', 'Fusion', 'Adwaita', 'Adwaita-Dark']
  • Linux Debian 11+(XFCE桌面):['Fusion', 'Windows', 'Adwaita', 'Adwaita-Dark', 'QMotif', 'CDE']
  • Linux CentOS 7+(KDE桌面):['Breeze', 'Oxygen', 'Fusion', 'Windows']

内容的提问来源于stack exchange,提问作者Jr.Abdul Wahab Melethil

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.10.04 11:09:02