mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 13:54:57 +00:00
docs: qt6,frontends,qml (2 files)
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user