Commit ef2db6b4 authored by Aleksei German's avatar Aleksei German
Browse files

Washing Machine Added button clickability

parent f57fabd1
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.13.2, 2020-12-15T14:26:41. -->
<!-- Written by QtCreator 4.13.2, 2020-12-15T18:16:05. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
......
......@@ -44,7 +44,6 @@ Item {
Connections {
target: quickstart
onApplied: {
console.log("start run")
startRun()
}
......@@ -61,6 +60,14 @@ Item {
Connections {
target: washprogram
onCanceled: {
presetsScreen.state = "Quickstart"
}
onApplied: {
startRun()
}
}
}
......
import QtQuick 2.8
Item {
id: washprogram
id: washprogramScreen
width: 400
height: 275
signal canceled
signal applied
Flatbackground {
id: backgroundfull
x: 0
......@@ -27,5 +30,17 @@ Item {
y: 1
width: 131
height: 273
Connections {
target: washprogsettingsinstance
onCancelClicked: {
washprogramScreen.canceled()
}
onApplyClicked: {
washprogramScreen.applied()
}
}
}
}
......@@ -5,6 +5,10 @@ Item {
width: 130
height: 271
signal cancelClicked
signal applyClicked
Image {
id: scrollcontrol_temp
x: 41
......@@ -24,6 +28,13 @@ Item {
currenticonoffX: 14
currenticonoffSource: "assets/closeiconoff.png"
lockedicononSource: "assets/closeiconoff.png"
Connections {
target: washSettingsCancel
onClicked: {
canceled()
}
}
}
Smallbutton {
......@@ -38,6 +49,13 @@ Item {
currenticonoffX: 10
currenticonoffSource: "assets/goiconoff.png"
lockedicononSource: "assets/goiconon.png"
Connections {
target: washSettingsOK
onClicked: {
applied()
}
}
}
}
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtDesignStudio 2.0.0, 2020-12-10T11:04:28. -->
<!-- Written by QtDesignStudio 2.0.0, 2020-12-15T18:16:05. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
......
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