mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-05 06:59:50 -05:00
save progress
This commit is contained in:
parent
f0673a66a2
commit
c45c04e9ac
15 changed files with 621 additions and 418 deletions
|
|
@ -1,3 +1,24 @@
|
|||
import QtQuick
|
||||
import ".."
|
||||
|
||||
Rectangle {}
|
||||
MouseArea {
|
||||
id: root
|
||||
hoverEnabled: true
|
||||
|
||||
property real radius: width / 2
|
||||
property bool checked: false
|
||||
property var activeColor: ShellSettings.colors["primary"]
|
||||
property var inactiveColor: "transparent"
|
||||
|
||||
Rectangle {
|
||||
color: root.containsMouse || root.checked ? root.activeColor : root.inactiveColor
|
||||
radius: root.radius
|
||||
anchors.fill: parent
|
||||
|
||||
Behavior on color {
|
||||
ColorAnimation {
|
||||
duration: 200
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue