A fluent design widgets library based on PyQt5
Project description
PyQt-Fluent-Widgets
A fluent design widgets library based on PyQt5
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.
The Pro version library contains more advance components. You can download PyQt-Fluent-Widgets-Pro-Gallery.zip
from the release page for preview purposes.
C++ QFluentWidgets require purchasing a license from the official website. You can also download the compiled demo C++_QFluentWidgets.zip
from the release page.
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 👈
License
PyQt-Fluent-Widgets is licensed under GPLv3 for non-commercial project. For commercial use, please purchase a commercial license.
Copyright © 2021 by zhiyiYo.
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.
You can also download the compiled QtDesigner from release page. Download and unzip FluentDesigner_v*.*.*.zip
, then run designer/designer.exe
, you will launch the QtDesigner that has already installed plugins.
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 🥰
See Also
Here are some projects based on PyQt-Fluent-Widgets:
- zhiyiYo/QMaterialWidgets: A material design widgets library based on PyQt/PySide
- zhiyiYo/Groove: A cross-platform music player based on PyQt5
- zhiyiYo/Alpha-Gobang-Zero: A gobang robot based on reinforcement learning
Reference
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-1.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a39cb612f81dbc5ba92bc27efa8bd6984fa8d2ef1abdcbcd4af23a683f27c16 |
|
MD5 | ded7a8b6e470a180e15cf8b5c027f272 |
|
BLAKE2b-256 | 1d75935bb7b16eb255d69b94f5e61be43dd9d82d4a6b689addcb7582952d1839 |
Hashes for PyQt_Fluent_Widgets-1.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7da92c6f11fd56b88c3158fde248643a6b46fa692404fd9b63b2e00b48baf99e |
|
MD5 | 9ede4b01dcf3d2ac453acab567bc38b7 |
|
BLAKE2b-256 | fdb87eb79422c11f4c7d896ee7fdf6acefd631fa670720c0391e2d90ad8c11f3 |