init: working version
This commit is contained in:
commit
7d8d7dacae
109 changed files with 15066 additions and 0 deletions
32
custom/MaterialIcon.qml
Normal file
32
custom/MaterialIcon.qml
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
import qs.config
|
||||
import QtQuick
|
||||
|
||||
CustomText {
|
||||
id: root
|
||||
|
||||
property real fill
|
||||
property int grade: -25
|
||||
property bool animateAxes: true
|
||||
|
||||
Behavior on font.variableAxes {
|
||||
enabled: root.animateAxes && root.animate
|
||||
|
||||
SequentialAnimation {
|
||||
PauseAnimation {
|
||||
duration: root.animateDuration / 2
|
||||
}
|
||||
PropertyAction {}
|
||||
}
|
||||
}
|
||||
|
||||
color: Config.colors.secondary
|
||||
animateProp: "scale"
|
||||
font.family: "Material Symbols Rounded"
|
||||
font.pointSize: Config.font.size.normal
|
||||
font.variableAxes: ({
|
||||
FILL: fill,
|
||||
GRAD: grade,
|
||||
opsz: fontInfo.pixelSize,
|
||||
wght: fontInfo.weight
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue