docs: qt6,frontends,qml (2 files)

This commit is contained in:
2025-12-26 06:41:25 +00:00
parent d70dc15573
commit fbaf99307d
2 changed files with 5 additions and 4 deletions

View File

@@ -24,4 +24,5 @@ You can also embed `main.qml` into a Qt Quick Application project and expose C++
- Material-inspired components live under `frontends/qt6/qmllib/Material` and provide palette tokens plus buttons, cards, text fields, chips, and sample layouts.
- Import them with `import "qmllib/Material" as Material` and reference `Material.MaterialButton`, `Material.MaterialCard`, `Material.MaterialTextField`, `Material.MaterialChip`, and the singleton palette `Material.MaterialPalette`.
- Use `Material.MaterialSurface` and `Material.MaterialDivider` to group controls with Material elevation, spacing, and dividers.
- `Material.MaterialButton` now supports icon sources and a built-in ripple animation so interactions feel tactile.
- Preview the Material view with `qmlscene frontends/qt6/MaterialLanding.qml` or embed it into your Qt Quick application to reuse the tokens and components across other screens.

View File

@@ -28,10 +28,10 @@ Rectangle {
anchors.fill: parent
horizontalOffset: 0
verticalOffset: 4
radius: 16
samples: 16
color: "#22000000"
}
radius: 16
samples: 16
color: "#22000000"
}
Rectangle {
anchors.fill: parent