2026-01-16 14:44:10 +01:00
|
|
|
import QtQuick
|
2026-01-19 12:45:35 +01:00
|
|
|
import qs
|
2026-02-14 01:33:18 +01:00
|
|
|
import qs.settings
|
2026-01-16 14:44:10 +01:00
|
|
|
|
2026-02-14 00:49:08 +01:00
|
|
|
Text {
|
2026-02-09 18:58:08 +01:00
|
|
|
id: root
|
2026-02-14 12:45:52 +01:00
|
|
|
color: Colors.onSurfaceColor
|
2026-02-20 15:43:31 +01:00
|
|
|
property real iconSize: 18
|
|
|
|
|
property real fill: 0
|
2026-02-09 18:58:08 +01:00
|
|
|
renderType: Text.NativeRendering
|
|
|
|
|
font {
|
|
|
|
|
hintingPreference: Font.PreferNoHinting
|
2026-02-20 15:43:31 +01:00
|
|
|
family: "Material Symbols Rounded"
|
2026-02-14 12:33:31 +01:00
|
|
|
pixelSize: iconSize
|
2026-02-16 23:32:00 +01:00
|
|
|
weight: Font.Normal + (Font.DemiBold - Font.Normal) * fill
|
2026-02-09 18:58:08 +01:00
|
|
|
variableAxes: {
|
2026-02-20 15:43:31 +01:00
|
|
|
"FILL": fill.toFixed(1),
|
2026-02-09 18:58:08 +01:00
|
|
|
"opsz": iconSize
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-01-16 14:44:10 +01:00
|
|
|
}
|