A fluent design widgets library based on PyQt5
Project description
PyQt-Fluent-Widgets
A fluent design widgets library based on PyQt5
English | 简体中文
Install
To install lite version (AcrylicLabel
is not available):
pip install PyQt-Fluent-Widgets -i https://pypi.org/simple/
Or install full-featured version:
pip install "PyQt-Fluent-Widgets[full]" -i https://pypi.org/simple/
If you are using PySide2, PySide6 or PyQt6, you can download the code in PySide2, PySide6 or PyQt6 branch.
Warning Don't install PyQt-Fluent-Widgets, PyQt6-Fluent-Widgets, PySide2-Fluent-Widgets and PySide6-Fluent-Widgets at the same time, because their package names are all
qfluentwidgets
.
Run Example
After installing PyQt-Fluent-Widgets package using pip, you can run any demo in the examples directory, for example:
cd examples/gallery
python demo.py
If you encounter ImportError: cannot import name 'XXX' from 'qfluentwidgets'
, it indicates that the package version you installed is too low. You can replace the mirror source with https://pypi.org/simple and reinstall again.
Documentation
Want to know more about PyQt-Fluent-Widgets? Please read the help document 👈
Video Demonstration
Check out this ▶ example video that shows off what PyQt-Fluent-Widgets are capable of 🎉
Work with QtDesigner
You can use PyQt-Fluent-Widgets in QtDesigner directly by running python ./tools/designer.py
. If the operation is successful, you should be able to see the PyQt-Fluent-Widgets in the sidebar of QtDesigner.
Note It is recommended to install pyqt5-tools and PyQt-Fluent-Widgets in a virtual environment. Please make sure PyQt-Frameless-Window >= 0.2.7.
Support
If this project helps you a lot and you want to support the development and maintenance of this project, feel free to sponsor me via 爱发电 or ko-fi. Your support is highly appreciated 🥰
Join with Us
You can join PFW 小圈子 or Discord channel to communicate with us. You can share your findings, thoughts and ideas on improving PyQt-Fluent-Widgets 🚀
See Also
Here are some projects that use PyQt-Fluent-Widgets:
- zhiyiYo/Groove: A cross-platform music player based on PyQt5
- zhiyiYo/Alpha-Gobang-Zero: A gobang robot based on reinforcement learning
Reference
- Windows design: Design guidelines and toolkits for creating native app experiences
- Microsoft/WinUI-Gallery: An app demonstrates the controls available in WinUI and the Fluent Design System
License
PyQt-Fluent-Widgets is licensed under GPLv3.
Copyright © 2021 by zhiyiYo.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for PyQt-Fluent-Widgets-0.9.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4831da00452d87ebe4ce631db96169fac68938363752573c51a3a7883cae0755 |
|
MD5 | e11e3557c05e6c711196d9ce4e990a67 |
|
BLAKE2b-256 | 3fe389a90f3305c8099b080386ac6f1a40f5aaf000c937d4a713d4e62cbd9662 |
Hashes for PyQt_Fluent_Widgets-0.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f13a005b4ffb1878252a5425860053908d8e86763f882dd618d44b061153bff5 |
|
MD5 | 36c3cc4652ce7cd9cad8013563040735 |
|
BLAKE2b-256 | 5e63f33541ddd7f9fb14535a102422e20660ebae714baa42c572c62d4c105171 |