How zhuzichu520/fluentui works
FluentUI is a Qt/QML Fluent Design component library. The principal workflow is a QML application using the library’s registered entry point and types, then composing interface components; supporting runtime capabilities include themes, models, window behavior, QR codes, hotkeys, and plotting. The source tree also contains the implementations behind these features. Several subsystem connections are documented only by the README or import references; unsampled implementation details are not treated as confirmed call flows.
Main entry points: FluentUI.cpp QML Registration · baseplot.cpp QML Plot · qrencode.cpp QR Encoder · axis.cpp Plot Axes
Components 31
QML Library
- QML Registration
src/FluentUI.cpp - App Runtime
src/FluApp.cpp - Fluent Icons
src/FluentIconDef.h
UI Services
- Theme and Colors
src/FluTheme.cpp - Accent Color
src/FluAccentColor.cpp - Text Style
src/FluTextStyle.h - Frameless Window
src/FluFrameless.cpp - Watermark
src/FluWatermark.h - Captcha
src/FluCaptcha.cpp
Models and Tools
- Table Models
src/FluTableModel.cpp - Table Sorting
src/FluTableSortProxyModel.cpp - Tree Model
src/FluTreeModel.cpp - QML Tools
src/FluTools.cpp
Runtime Integrations
- Global Hotkeys
src/qhotkey/qhotkey.cpp - Hotkey Dispatch
src/qhotkey/qhotkey_p.h - QR QML Item
src/FluQrCodeItem.h
Plotting
- QML Plot
src/qmlcustomplot/baseplot.cpp - Plot Axes
src/qmlcustomplot/axis.cpp - Plot Graphs
src/qmlcustomplot/graph.cpp - Plot Grid
src/qmlcustomplot/grid.cpp - Plot Tickers
src/qmlcustomplot/ticker.cpp - QCustomPlot Engine
src/qmlcustomplot/qcustomplot.h - Time Plot
src/qmlcustomplot/TimePlot.cpp - Real-Time Plot
src/qmlcustomplot/RealTimePlot.cpp
QR Encoding
- QR Encoder
src/qrcode/qrencode.cpp - QR Input
src/qrcode/qrinput.cpp - QR Specifications
src/qrcode/qrspec.cpp - Bit Stream
src/qrcode/bitstream.cpp - QR Masking
src/qrcode/mask.cpp
Other components
- QML Developer
- QML Application
Connections 32
- QML Developer → QML Application: writes QML
README.md - QML Application → QML Registration: uses library
README.md - QML Registration → App Runtime: registers
src/FluentUI.cpp - QML Registration → Fluent Icons: registers
src/FluentUI.cpp - QML Registration → Theme and Colors: registers
src/FluentUI.cpp - QML Registration → Accent Color: registers
src/FluentUI.cpp - QML Registration → Text Style: registers
src/FluentUI.cpp - QML Registration → Frameless Window: registers
src/FluentUI.cpp - QML Registration → Watermark: registers
src/FluentUI.cpp - QML Registration → Captcha: registers
src/FluentUI.cpp - QML Registration → Table Models: registers
src/FluentUI.cpp - QML Registration → Table Sorting: registers
src/FluentUI.cpp - QML Registration → Tree Model: registers
src/FluentUI.cpp - QML Registration → QML Tools: registers
src/FluentUI.cpp - QML Registration → Global Hotkeys: registers
src/FluentUI.cpp - QML Registration → QR QML Item: registers
src/FluentUI.cpp - QML Plot → Plot Axes: uses axes
src/qmlcustomplot/baseplot.cpp - QML Plot → Plot Graphs: uses graphs
src/qmlcustomplot/baseplot.cpp - QML Plot → QCustomPlot Engine: delegates plotting
src/qmlcustomplot/baseplot.cpp - Plot Axes → Plot Grid: uses grid
- Plot Axes → Plot Tickers: uses tickers
- Plot Grid → QCustomPlot Engine: uses plotting types
src/qmlcustomplot/grid.cpp - Plot Tickers → QCustomPlot Engine: uses plotting types
src/qmlcustomplot/ticker.cpp - Time Plot → QML Plot: extends base
- Real-Time Plot → QML Plot: specializes plot
- Global Hotkeys → Hotkey Dispatch: dispatches shortcuts
src/qhotkey/qhotkey.cpp - QR Encoder → QR Input: encodes input
src/qrcode/qrencode.cpp - QR Encoder → QR Specifications: reads specifications
src/qrcode/qrencode.cpp - QR Encoder → Bit Stream: builds bitstream
src/qrcode/qrencode.cpp - QR Encoder → QR Masking: applies mask
src/qrcode/qrencode.cpp - QR Input → Bit Stream: appends encoded data
src/qrcode/qrinput.cpp - QR Input → QR Specifications: queries specifications
src/qrcode/qrinput.cpp