MCPcopy Index your code
hub / github.com/zhiyiYo/PyQt-Fluent-Widgets

github.com/zhiyiYo/PyQt-Fluent-Widgets @v1.7.0 sqlite

repository ↗ · DeepWiki ↗ · release v1.7.0 ↗
3,420 symbols 13,088 edges 217 files 1,128 documented · 33% 1 cross-repo links
README

logo

PyQt-Fluent-Widgets

A fluent design widgets library based on PyQt5

Version Download GPLv3 Platform Win32 | Linux | macOS

English | 简体中文 | 官网

Interface

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 Designer

Fluent Client integrates designer plugins, supporting direct drag-and-drop usage of QFluentWidgets components in Designer. You can purchase the client from TaoBao.

Fluent Designer

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

Core symbols most depended-on inside this repo

addWidget
called by 363
examples/gallery/app/view/view_interface.py
isDarkTheme
called by 155
qfluentwidgets/common/config.py
setText
called by 129
qfluentwidgets/components/widgets/tool_tip.py
y
called by 112
qfluentwidgets/common/animation.py
setSpacing
called by 106
qfluentwidgets/components/widgets/switch_button.py
apply
called by 102
qfluentwidgets/common/style_sheet.py
addExampleCard
called by 89
examples/gallery/app/view/gallery_interface.py
setAlignment
called by 86
qfluentwidgets/components/date_time/picker_base.py

Shape

Method 2,681
Class 648
Function 80
Route 11

Languages

Python99%
TypeScript1%

Modules by API surface

qfluentwidgets/components/widgets/menu.py143 symbols
qfluentwidgets/components/widgets/button.py118 symbols
qfluentwidgets/components/widgets/command_bar.py94 symbols
qfluentwidgets/common/animation.py94 symbols
qfluentwidgets/components/date_time/calendar_view.py87 symbols
qfluentwidgets/components/navigation/navigation_widget.py85 symbols
qfluentwidgets/components/widgets/teaching_tip.py80 symbols
qfluentwidgets/components/widgets/tab_view.py79 symbols
qfluentwidgets/components/date_time/picker_base.py68 symbols
qfluentwidgets/components/widgets/scroll_bar.py67 symbols
qfluentwidgets/components/date_time/fast_calendar_view.py66 symbols
qfluentwidgets/components/widgets/label.py65 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

PyQt55.15.0 · 1×
PyQt5-Frameless-Window0.4.0 · 1×
commonmark0.9.1 · 1×
mock1.0.1 · 1×
recommonmark0.5.0 · 1×
sphinx-markdown-tables0.0.17 · 1×

For agents

$ claude mcp add PyQt-Fluent-Widgets \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact