FluentUI for QML
Go to file
zhuzichu 8ab0cde2e9
Merge pull request #574 from lucky9loogn/fix
尝试修复 FluChart 和 FluProgressBar 的一些问题
2024-11-22 16:42:03 +08:00
.cmake
.github/workflows update workflows 2024-09-20 13:51:50 +08:00
3rdparty
doc
example update 2024-09-20 13:46:57 +08:00
scripts
src 修复 FluProgressBar 放到 FluContentDialog 内对话框刚打开时动画卡顿问题 2024-11-22 15:40:32 +08:00
.clang-format update 2024-06-28 16:48:44 +08:00
.gitignore
.gitmodules
CMakeLists.txt
example.svg
favicon.ico
License
README_zh_CN.md update README 2024-06-17 06:59:56 +08:00
README.md Update README.md 2024-11-22 15:58:45 +08:00
THIRD_PARTY_COPYRIGHT.txt add qcustomplot 2024-06-17 16:42:54 +08:00

ATTENTION! THIS REPO HAS BEEN DEPRECATED!

PLEASE USE THE BRAND NEW FluentUI2 INSTEAD!

THIS REPO IS NO LONGER MAINTAINED.

QML FluentUI

A Fluent Design component library for Qt QML, You need PySide6 PySide6-FluentUI-QML.

win-badge ubuntu-badge macos-badge release-badge download-badge download-latest

English | 简体中文

This is a beautiful FluentUI component library based on Qt QML. Currently the main branch supports Qt 6. If you want to use it in Qt 5, checkout the Qt 5 branch.

Requirements

  • Qt Core, Qt Quick, Qt QML, Qt ShaderTool, Qt 5 Compatibility Module. (Essential)
  • Qt LinguistTool (optional,for translations)
  • Qt Svg (optional, however essential for Qt 5)

Use Qt Online Installers to acquire the modules (Recommended) or compile them first before using the library.

Get started

  • Download the pre-built release. (Please specify your platform and compilers.)

  • run example program.

or

  • Clone the repository.
git clone --recursive https://github.com/zhuzichu520/FluentUI.git
  • Build
git clone --recursive https://github.com/zhuzichu520/FluentUI.git
cd FluentUI
mkdir build
cd build
cmake -DCMAKE_PREFIX_PATH=<YOUR_QT_SDK_DIR_PATH> -DCMAKE_BUILD_TYPE=Release -GNinja <PATH_TO_THE_REPOSITORY>
cmake --build . --config Release --target all --parallel
  • Use your IDE (Qt Creator or CLion) to open the project. (only CMake supported).
  • Compile the project. Then try to execute the example demo program.

  • Great! Now you are ready to write your first QML FluentUI program! Check the documentations for more details.

📑 Documentations

(Work in progress...🚀)

Supported components

Catalog Detail Notes / Demos
FluApp The initial entry of the program Router supported(SPA)
FluWindow Frameless Window *This only works on windows
FluAppBar Title bar on top of the window Drag, minimize, maximize and close are supported.
FluText Common text
FluButton Common button btn
FluFilledButton Filled button filledbtn
FluTextButton Text button textbtn
FluToggleButton Toggle buttons togglebtn
FluIcon Common icon icons
FluRadioButton radio button radiobtn
FluTextBox Single-line input box textbox
FluMultiLineTextBox Multi-lines input area textarea
FluToggleSwitch toggle switch toggleswitch

View more here!

Reference

License

This FluentUI library currently licensed under MIT License

Star History

Star History Chart

Visitor count

Visitor count