Update to new color scheme
[apps/hvac.git] / app / HVAC.qml
index f5cd76b..b3be443 100644 (file)
@@ -46,6 +46,9 @@ ApplicationWindow {
                     anchors.left: parent.left
                     anchors.right: parent.right
                     anchors.verticalCenter: parent.verticalCenter
+                    from: 0.0
+                    to: 255.0
+                    stepSize: 1.0
                     onValueChanged: {
                         binding.fanSpeed = value
                     }
@@ -71,7 +74,10 @@ ApplicationWindow {
                     side: 'Left'
                 }
                 HeatDegree {
-                    enabled: leftSeat.headLevel > 0
+                    onCurrentItemChanged: {
+                        console.log("Left Temp changed",degree)
+                        binding.leftTemperature = degree
+                    }
                 }
             }
             ColumnLayout {
@@ -82,7 +88,7 @@ ApplicationWindow {
                     offImage: './images/HMI_HVAC_Inactive.svg'
                     Label {
                         anchors.centerIn: parent
-                        color: parent.checked ? '#66FF99' : '#848286'
+                        color: parent.checked ? '#00ADDC' : '#848286'
                         text: 'A/C'
                         font.pixelSize: parent.height / 3
                     }
@@ -95,7 +101,7 @@ ApplicationWindow {
                     offImage: './images/HMI_HVAC_Inactive.svg'
                     Label {
                         anchors.centerIn: parent
-                        color: parent.checked ? '#66FF99' : '#848286'
+                        color: parent.checked ? '#00ADDC' : '#848286'
                         text: 'AUTO'
                         font.pixelSize: parent.height / 3
                     }
@@ -120,7 +126,10 @@ ApplicationWindow {
                     side: 'Right'
                 }
                 HeatDegree {
-                    enabled: rightSeat.headLevel > 0
+                    onCurrentItemChanged: {
+                        console.log("Right Temp changed",degree)
+                        binding.rightTemperature = degree
+                    }
                 }
             }
         }