Commit 862ab5a6 authored by Aleksei German's avatar Aleksei German
Browse files

Washing Machine Fix for lock button

parent e9d076ee
......@@ -17,8 +17,8 @@ Item {
property alias lockedicononSource: lockediconon.source
property alias unlockedicononSource: unlockediconon.source
property alias currenticonoffSource: currenticonoff.source
// state: "lockedDefault"
// state: "lockedDefault"
Image {
id: outllineoff
x: 2
......@@ -91,6 +91,11 @@ Item {
visible: false
}
PropertyChanges {
target: currenticonoff
visible: true
}
PropertyChanges {
target: unlockediconon
visible: false
......@@ -115,10 +120,20 @@ Item {
visible: false
}
PropertyChanges {
target: lockediconon
visible: true
}
PropertyChanges {
target: currenticonoff
visible: false
}
PropertyChanges {
target: smallbuttoniconfill
visible: true
}
},
State {
name: "unlockedDefault"
......@@ -134,6 +149,11 @@ Item {
visible: false
}
PropertyChanges {
target: unlockediconoff
visible: true
}
PropertyChanges {
target: lockediconon
visible: false
......@@ -158,17 +178,27 @@ Item {
visible: false
}
PropertyChanges {
target: unlockediconon
visible: true
}
PropertyChanges {
target: currenticonoff
visible: false
}
PropertyChanges {
target: smallbuttoniconfill
visible: true
}
}
]
}
/*##^##
Designer {
D{i:0;height:43;width:43}D{i:7}
D{i:0;formeditorZoom:6;height:43;width:43}
}
##^##*/
......@@ -34,8 +34,7 @@ Item {
logic.runDuration = running.runDuration
logic.startRun()
lockbuttoninstance.isLocked = false
pausebuttoninstance.isLocked = true
lockbuttoninstance.isLocked = true
}
onRunFinished: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment