X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=app%2FHVAC.qml;h=b3be44324e7ce9e2525e27869980f4a3379769c3;hb=31aa71161840d08dd8ca04590ef9fbcc40a8efeb;hp=f5cd76bcba40d154eaf46aa61ddee0aa532f91b2;hpb=1252fdb973f7ba815017447c1a3ed49852de0597;p=apps%2Fhvac.git diff --git a/app/HVAC.qml b/app/HVAC.qml index f5cd76b..b3be443 100644 --- a/app/HVAC.qml +++ b/app/HVAC.qml @@ -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 + } } } }