

PyQt-Fluent-Widgets:一个 Fluent Design 风格的组件库 - 之一Yo
source link: https://www.cnblogs.com/zhiyiYo/p/17216928.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.


PyQt-Fluent-Widgets:一个 Fluent Design 风格的组件库
这是一个使用 PyQt/PySide 编写的 Fluent Design 风格的组件库,包含最常用的组件,支持亮暗主题无缝切换。实际上此项目是从 Groove Music 项目剥离出来的子项目,github 仓库地址为 https://github.com/zhiyiYo/PyQt-Fluent-Widgets。
轻量版 (AcrylicLabel
不可用):
复制pip install PyQt-Fluent-Widgets
复制pip install 'PyQt-Fluent-Widgets[full]'
安装完 pyqt-fluent-widgets 包之后,可以切换到 examples
目录下运行示例代码,比如封面对应的示例代码:
复制cd examples/settings
python demo.py
建议在使用之前阅读一下在线帮助文档,里面介绍了使用这个组件库的正确姿势,文档地址为:https://pyqt-fluent-widgets.readthedocs.io
部分组件展示
颜色对话框
这个无边框消息框 Dialog
是否圆角取决于操作系统,比如 Win10 就会是尖角。
带遮罩的消息框
Win10 风格的消息框
滑块中空的滑动条
圆角阴影菜单
进度提示条
Recommend
-
50
-
25
前言 我日常工作都是使用React来做开发,但是我对React一直不是很满意,特别是在推出React Hooks以后。 不可否认React Hooks极大地方便了开发者,但是它又有非常多反直觉的地方,让我难以接受。所以在很长一段时间,...
-
13
hTWOo: A Microsoft Fluent Design pure HTML & CSS Implementation Tuesday, April 27, 2021 10:43 AM
-
12
Episode 407 | hTWOo: A Pure HTML & CSS Fluent Design System with Stefan Bauer Size: 45.6 MB Length: 47:29 minutes Recorded: April 29, 2021 Rele...
-
9
安利一款 Fluent Design 的文件管理器 Files – Preview 随着微软大力推行 Fluent Design ,...
-
3
我看好 Fluent Design,但不看好微软 2020.04.12 |
-
10
And here’s how the whole thing could eventually work Windows 11 is Microsoft’s most modern operating system so far, and it comes with a significantly improved UI with new-gen touches like Fluent Des...
-
8
This merging of Windows Vista and Windows 11's Fluent design is mouth-watering...
-
10
Bring Fluent Design System for React into UXPin with Storybook
-
3
ResourcesA11y – Focus OrderQuickly annotate your design’s focus and tab order for a meaningful flow of interactive object...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK