import QtQuick 2.0 import "../../com/neusoft/auto/widgets" import "../../windowsList.js" as WindowsList import "../../layoutList.js" as Layout import "../../Setting/Settinglist.js" as Settinglist Item { id: diag_Speed_VolumeItem x: 20 y: 0 width: right1.width height: right1.height property double dspeed:settingCtrl.dspeed property int iSpevol:settingCtrl.iSpevol onVisibleChanged: { if(diag_Speed_VolumeItem.visible == true) { } else { //do nothing } } Column { id:right1 x: 0 y: 0 width: 842 anchors.topMargin: 0 spacing: 2 Row { id: speed1 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text1 width:130 height: 78 text:qsTr("0~9") + systemCtrl.emptyString color:(dspeed >= 0 && dspeed <= 9)?"red":"#e1e1e1" font.pixelSize: /*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text1.width - text1_btn1.width - 18 - 15 - text1_num.width - text1_btn2.width - 18 - save1_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text1_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 0 && dspeed <= 9) { if (81 > settingCtrl.getSpevol(0)) { iSpevol = settingCtrl.getSpevol(0) + 1 settingCtrl.setSpevol(0,iSpevol) settingCtrl.setSpeedvol(iSpevol) text1_num.color = "#e1e1e1" text1_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text1_num width: 200 height: 78 text:settingCtrl.getSpevol(0) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text1_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 0 && dspeed <= 9) { if (0 < settingCtrl.getSpevol(0)) { iSpevol = settingCtrl.getSpevol(0) - 1 settingCtrl.setSpevol(0,iSpevol) settingCtrl.setSpeedvol(iSpevol) text1_num.color = "#e1e1e1" text1_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save1_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save1Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 0 && dspeed <= 9) { text1_num.color = "red" } else { //do nothing } } } } Row { id: speed2 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text2 width:130 height: 78 text:qsTr("10~14")+ systemCtrl.emptyString color:(dspeed >= 10 && dspeed <= 14)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text2.width - text2_btn1.width - 18 - 15 - text2_num.width - text2_btn2.width - 18 - save2_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text2_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 10 && dspeed <= 14) { if (81 > settingCtrl.m_spevol[1]) { iSpevol = settingCtrl.getSpevol(1) + 1 settingCtrl.setSpevol(1,iSpevol) settingCtrl.setSpeedvol(iSpevol) text2_num.color = "#e1e1e1" text2_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text2_num width:200 height: 78 text:settingCtrl.getSpevol(1) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text2_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 10 && dspeed <= 14) { if (0 < settingCtrl.getSpevol(1)) { iSpevol = settingCtrl.getSpevol(1) - 1 settingCtrl.setSpevol(1,iSpevol) settingCtrl.setSpeedvol(iSpevol) text2_num.color = "#e1e1e1" text2_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save2_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save2Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 10 && dspeed <= 14) { text2_num.color = "red" } else { //do nothing } } } } Row { id: speed3 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text3 width:130 height: 78 text:qsTr("15~19")+ systemCtrl.emptyString color:(dspeed >= 15 && dspeed <= 19)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text3.width - text3_btn1.width - 18 - 15 - text3_num.width - text3_btn2.width - 18 - save2_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text3_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 15 && dspeed <= 19) { if (81 > settingCtrl.getSpevol(2)) { iSpevol = settingCtrl.getSpevol(2) + 1 settingCtrl.setSpevol(2,iSpevol) settingCtrl.setSpeedvol(iSpevol) text3_num.color = "#e1e1e1" text3_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text3_num width:200 height: 78 text:settingCtrl.getSpevol(2) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text3_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 15 && dspeed <= 19) { if (0 < settingCtrl.getSpevol(2)) { iSpevol = settingCtrl.getSpevol(2) - 1 settingCtrl.setSpevol(2,iSpevol) settingCtrl.setSpeedvol(iSpevol) text3_num.color = "#e1e1e1" text3_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save3_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save3Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 15 && dspeed <= 19) { text3_num.color = "red" } else { //do nothing } } } } Row { id: speed4 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text4 width:130 height: 78 text:qsTr("20~24")+ systemCtrl.emptyString color:(dspeed >= 20 && dspeed <= 24)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text4.width - text4_btn1.width - 18 - 15 - text4_num.width - text4_btn2.width - 18 - save4_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text4_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 20 && dspeed <= 24) { if (81 > settingCtrl.getSpevol(3)) { iSpevol = settingCtrl.getSpevol(3) + 1 settingCtrl.setSpevol(3,iSpevol) settingCtrl.setSpeedvol(iSpevol) text4_num.color = "#e1e1e1" text4_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text4_num width:200 height: 78 text:settingCtrl.getSpevol(3) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text4_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 20 && dspeed <= 24) { if (0 < settingCtrl.getSpevol(3)) { iSpevol = settingCtrl.getSpevol(3) - 1 settingCtrl.setSpevol(3,iSpevol) settingCtrl.setSpeedvol(iSpevol) text4_num.color = "#e1e1e1" text4_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save4_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save4Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 20 && dspeed <= 24) { text4_num.color = "red" } else { //do nothing } } } } Row { id: speed5 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text5 width:130 height: 78 text:qsTr("25~29")+ systemCtrl.emptyString color:(dspeed >= 25 && dspeed <= 29)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text5.width - text5_btn1.width - 18 - 15 - text5_num.width - text5_btn2.width - 18 - save5_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text5_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 25 && dspeed <= 29) { if (81 > settingCtrl.getSpevol(4)) { iSpevol = settingCtrl.getSpevol(4) + 1 settingCtrl.setSpevol(4,iSpevol) settingCtrl.setSpeedvol(iSpevol) text5_num.color = "#e1e1e1" text5_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text5_num width:200 height: 78 text:settingCtrl.getSpevol(4) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text5_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 25 && dspeed <= 29) { if (0 < settingCtrl.getSpevol(4)) { iSpevol = settingCtrl.getSpevol(4) - 1 settingCtrl.setSpevol(4,iSpevol) settingCtrl.setSpeedvol(iSpevol) text5_num.color = "#e1e1e1" text5_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save5_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save5Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 25 && dspeed <= 29) { text5_num.color = "red" } else { //do nothing } } } } Row { id: speed6 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text6 width:130 height: 78 text:qsTr("30~34")+ systemCtrl.emptyString color:(dspeed >= 30 && dspeed <= 34)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text6.width - text6_btn1.width - 18 - 15 - text6_num.width - text6_btn2.width - 18 - save6_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text6_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 30 && dspeed <= 34) { if (81 > settingCtrl.getSpevol(5)) { iSpevol = settingCtrl.getSpevol(5) + 1 settingCtrl.setSpevol(5,iSpevol) settingCtrl.setSpeedvol(iSpevol) text6_num.color = "#e1e1e1" text6_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text6_num width:200 height: 78 text:settingCtrl.getSpevol(5) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text6_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 30 && dspeed <= 34) { if (0 < settingCtrl.getSpevol(5)) { iSpevol = settingCtrl.getSpevol(5) - 1 settingCtrl.setSpevol(5,iSpevol) settingCtrl.setSpeedvol(iSpevol) text6_num.color = "#e1e1e1" text6_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save6_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save6Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 30 && dspeed <= 34) { text6_num.color = "red" } else { //do nothing } } } } Row { id: speed7 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text7 width:130 height: 78 text:qsTr("35~39")+ systemCtrl.emptyString color:(dspeed >= 35 && dspeed <= 39)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text7.width - text7_btn1.width - 18 - 15 - text7_num.width - text7_btn2.width - 18 - save7_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text7_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 35 && dspeed <= 39) { if (81 > settingCtrl.getSpevol(6)) { iSpevol = settingCtrl.getSpevol(6) + 1 settingCtrl.setSpevol(6,iSpevol) settingCtrl.setSpeedvol(iSpevol) text7_num.color = "#e1e1e1" text7_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text7_num width:200 height: 78 text:settingCtrl.getSpevol(6) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text7_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 35 && dspeed <= 39) { if (0 < settingCtrl.getSpevol(6)) { iSpevol = settingCtrl.getSpevol(6) - 1 settingCtrl.setSpevol(6,iSpevol) settingCtrl.setSpeedvol(iSpevol) text7_num.color = "#e1e1e1" text7_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save7_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save7Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 35 && dspeed <= 39) { text7_num.color = "red" } else { //do nothing } } } } Row { id: speed8 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text8 width:130 height: 78 text:qsTr("40~44")+ systemCtrl.emptyString color:(dspeed >= 40 && dspeed <= 44)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text8.width - text8_btn1.width - 18 - 15 - text8_num.width - text8_btn2.width - 18 - save8_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text8_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 40 && dspeed <= 44) { if (81 > settingCtrl.getSpevol(7)) { iSpevol = settingCtrl.getSpevol(7) + 1 settingCtrl.setSpevol(7,iSpevol) settingCtrl.setSpeedvol(iSpevol) text8_num.color = "#e1e1e1" text8_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text8_num width:200 height: 78 text:settingCtrl.getSpevol(7) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text8_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 40 && dspeed <= 44) { if (0 < settingCtrl.getSpevol(7)) { iSpevol = settingCtrl.getSpevol(7) - 1 settingCtrl.setSpevol(7,iSpevol) settingCtrl.setSpeedvol(iSpevol) text8_num.color = "#e1e1e1" text8_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save8_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save8Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 40 && dspeed <= 44) { text8_num.color = "red" } else { //do nothing } } } } Row { id: speed9 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text9 width:130 height: 78 text:qsTr("45~49")+ systemCtrl.emptyString color:(dspeed >= 45 && dspeed <= 49)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text9.width - text9_btn1.width - 18 - 15 - text9_num.width - text9_btn2.width - 18 - save9_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text9_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 45 && dspeed <= 49) { if (81 > settingCtrl.getSpevol(8)) { iSpevol = settingCtrl.getSpevol(8) + 1 settingCtrl.setSpevol(8,iSpevol) settingCtrl.setSpeedvol(iSpevol) text9_num.color = "#e1e1e1" text9_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text9_num width:200 height: 78 text:settingCtrl.getSpevol(8) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text9_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 45 && dspeed <= 49) { if (0 < settingCtrl.getSpevol(8)) { iSpevol = settingCtrl.getSpevol(8) - 1 settingCtrl.setSpevol(8,iSpevol) settingCtrl.setSpeedvol(iSpevol) text9_num.color = "#e1e1e1" text9_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save9_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save9Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 45 && dspeed <= 49) { text9_num.color = "red" } else { //do nothing } } } } Row { id: speed10 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text10 width:130 height: 78 text:qsTr("50~54")+ systemCtrl.emptyString color:(dspeed >= 50 && dspeed <= 54)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text10.width - text10_btn1.width - 18 - 15 - text10_num.width - text10_btn2.width - 18 - save10_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text10_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 50 && dspeed <= 54) { if (81 > settingCtrl.getSpevol(9)) { iSpevol = settingCtrl.getSpevol(9) + 1 settingCtrl.setSpevol(9,iSpevol) settingCtrl.setSpeedvol(iSpevol) text10_num.color = "#e1e1e1" text10_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text10_num width:200 height: 78 text:settingCtrl.getSpevol(9) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text10_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 50 && dspeed <= 54) { if (0 < settingCtrl.getSpevol(9)) { iSpevol = settingCtrl.getSpevol(9) - 1 settingCtrl.setSpevol(9,iSpevol) settingCtrl.setSpeedvol(iSpevol) text10_num.color = "#e1e1e1" text10_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save10_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save10Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 50 && dspeed <= 54) { text10_num.color = "red" } else { //do nothing } } } } Row { id: speed11 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text11 width:130 height: 78 text:qsTr("55~59")+ systemCtrl.emptyString color:(dspeed >= 55 && dspeed <= 59)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text11.width - text11_btn1.width - 18 - 15 - text11_num.width - text11_btn2.width - 18 - save11_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text11_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 55 && dspeed <= 59) { if (81 > settingCtrl.getSpevol(10)) { iSpevol = settingCtrl.getSpevol(10) + 1 settingCtrl.setSpevol(10,iSpevol) settingCtrl.setSpeedvol(iSpevol) text11_num.color = "#e1e1e1" text11_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text11_num width:200 height: 78 text:settingCtrl.getSpevol(10) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text11_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 55 && dspeed <= 59) { if (0 < settingCtrl.getSpevol(10)) { iSpevol = settingCtrl.getSpevol(10) - 1 settingCtrl.setSpevol(10,iSpevol) settingCtrl.setSpeedvol(iSpevol) text11_num.color = "#e1e1e1" text11_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save11_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save11Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 55 && dspeed <= 59) { text11_num.color = "red" } else { //do nothing } } } } Row { id: speed12 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text12 width:130 height: 78 text:qsTr("60~64")+ systemCtrl.emptyString color:(dspeed >= 60 && dspeed <= 64)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text12.width - text12_btn1.width - 18 - 15 - text12_num.width - text12_btn2.width - 18 - save12_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text12_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 60 && dspeed <= 64) { if (81 > settingCtrl.getSpevol(11)) { iSpevol = settingCtrl.getSpevol(11) + 1 settingCtrl.setSpevol(11,iSpevol) settingCtrl.setSpeedvol(iSpevol) text12_num.color = "#e1e1e1" text12_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text12_num width:200 height: 78 text:settingCtrl.getSpevol(11) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text12_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 60 && dspeed <= 64) { if (0 < settingCtrl.getSpevol(11)) { iSpevol = settingCtrl.getSpevol(11) - 1 settingCtrl.setSpevol(11,iSpevol) settingCtrl.setSpeedvol(iSpevol) text12_num.color = "#e1e1e1" text12_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save12_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save12Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 60 && dspeed <= 64) { text12_num.color = "red" } else { //do nothing } } } } Row { id: speed13 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text13 width:130 height: 78 text:qsTr("65~69") + systemCtrl.emptyString color:(dspeed >= 65 && dspeed <= 69)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text13.width - text13_btn1.width - 18 - 15 - text13_num.width - text13_btn2.width - 18 - save13_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text13_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 65 && dspeed <= 69) { if (81 > settingCtrl.getSpevol(12)) { iSpevol = settingCtrl.getSpevol(12) + 1 settingCtrl.setSpevol(12,iSpevol) settingCtrl.setSpeedvol(iSpevol) text13_num.color = "#e1e1e1" text13_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text13_num width:200 height: 78 text:settingCtrl.getSpevol(12) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text13_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 65 && dspeed <= 69) { if (0 < settingCtrl.getSpevol(12)) { iSpevol = settingCtrl.getSpevol(12) - 1 settingCtrl.setSpevol(12,iSpevol) settingCtrl.setSpeedvol(iSpevol) text13_num.color = "#e1e1e1" text13_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save13_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save13Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 65 && dspeed <= 69) { text13_num.color = "red" } else { //do nothing } } } } Row { id: speed14 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text14 width:130 height: 78 text:qsTr("70~74")+ systemCtrl.emptyString color:(dspeed >= 70 && dspeed <= 74)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text14.width - text14_btn1.width - 18 - 15 - text14_num.width - text14_btn2.width - 18 - save14_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text14_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 70 && dspeed <= 74) { if (81 > settingCtrl.getSpevol(13)) { iSpevol = settingCtrl.getSpevol(13) + 1 settingCtrl.setSpevol(13,iSpevol) settingCtrl.setSpeedvol(iSpevol) text14_num.color = "#e1e1e1" text14_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text14_num width:200 height: 78 text:settingCtrl.getSpevol(13) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text14_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 70 && dspeed <= 74) { if (0 < settingCtrl.getSpevol(13)) { iSpevol = settingCtrl.getSpevol(13) - 1 settingCtrl.setSpevol(13,iSpevol) settingCtrl.setSpeedvol(iSpevol) text14_num.color = "#e1e1e1" text14_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save14_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save14Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 70 && dspeed <= 74) { text14_num.color = "red" } else { //do nothing } } } } Row { id: speed15 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text15 width:130 height: 78 text:qsTr("75~79")+ systemCtrl.emptyString color:(dspeed >= 75 && dspeed <= 79)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text15.width - text15_btn1.width - 18 - 15 - text15_num.width - text15_btn2.width - 18 - save15_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text15_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 75 && dspeed <= 79) { if (81 > settingCtrl.getSpevol(14)) { iSpevol = settingCtrl.getSpevol(14) + 1 settingCtrl.setSpevol(14,iSpevol) settingCtrl.setSpeedvol(iSpevol) text15_num.color = "#e1e1e1" text15_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text15_num width:200 height: 78 text:settingCtrl.getSpevol(14) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text15_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 75 && dspeed <= 79) { if (0 < settingCtrl.getSpevol(14)) { iSpevol = settingCtrl.getSpevol(14) - 1 settingCtrl.setSpevol(14,iSpevol) settingCtrl.setSpeedvol(iSpevol) text15_num.color = "#e1e1e1" text15_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save15_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save15Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 75 && dspeed <= 79) { text15_num.color = "red" } else { //do nothing } } } } Row { id: speed16 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text16 width:130 height: 78 text:qsTr("78~84")+ systemCtrl.emptyString color:(dspeed >= 78 && dspeed <= 84)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text16.width - text16_btn1.width - 18 - 15 - text16_num.width - text16_btn2.width - 18 - save16_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text16_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 78 && dspeed <= 84) { if (81 > settingCtrl.getSpevol(15)) { iSpevol = settingCtrl.getSpevol(15) + 1 settingCtrl.setSpevol(15,iSpevol) settingCtrl.setSpeedvol(iSpevol) text16_num.color = "#e1e1e1" text16_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text16_num width:200 height: 78 text:settingCtrl.getSpevol(15) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text16_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 78 && dspeed <= 84) { if (0 < settingCtrl.getSpevol(15)) { iSpevol = settingCtrl.getSpevol(15) - 1 settingCtrl.setSpevol(15,iSpevol) settingCtrl.setSpeedvol(iSpevol) text16_num.color = "#e1e1e1" text16_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save16_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save16Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 78 && dspeed <= 84) { text16_num.color = "red" } else { //do nothing } } } } Row { id: speed17 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text17 width:130 height: 78 text:qsTr("85~89")+ systemCtrl.emptyString color:(dspeed >= 85 && dspeed <= 89)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text17.width - text17_btn1.width - 18 - 15 - text17_num.width - text17_btn2.width - 18 - save17_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text17_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 85 && dspeed <= 89) { if (81 > settingCtrl.getSpevol(16)) { iSpevol = settingCtrl.getSpevol(16) + 1 settingCtrl.setSpevol(16,iSpevol) settingCtrl.setSpeedvol(iSpevol) text17_num.color = "#e1e1e1" text17_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text17_num width:200 height: 78 text:settingCtrl.getSpevol(16) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text17_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 85 && dspeed <= 89) { if (0 < settingCtrl.getSpevol(16)) { iSpevol = settingCtrl.getSpevol(16) - 1 settingCtrl.setSpevol(16,iSpevol) settingCtrl.setSpeedvol(iSpevol) text17_num.color = "#e1e1e1" text17_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save17_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save17Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 85 && dspeed <= 89) { text17_num.color = "red" } else { //do nothing } } } } Row { id: speed18 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text18 width:130 height: 78 text:qsTr("90~94")+ systemCtrl.emptyString color:(dspeed >= 90 && dspeed <= 94)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text18.width - text18_btn1.width - 18 - 15 - text18_num.width - text18_btn2.width - 18 - save18_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text18_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 90 && dspeed <= 94) { if (81 > settingCtrl.getSpevol(17)) { iSpevol = settingCtrl.getSpevol(17) + 1 settingCtrl.setSpevol(17,iSpevol) settingCtrl.setSpeedvol(iSpevol) text18_num.color = "#e1e1e1" text18_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text18_num width:200 height: 78 text:settingCtrl.getSpevol(17) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text18_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 90 && dspeed <= 94) { if (0 < settingCtrl.getSpevol(17)) { iSpevol = settingCtrl.getSpevol(17) - 1 settingCtrl.setSpevol(17,iSpevol) settingCtrl.setSpeedvol(iSpevol) text18_num.color = "#e1e1e1" text18_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save18_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save18Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 90 && dspeed <= 94) { text18_num.color = "red" } else { //do nothing } } } } Row { id: speed19 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text19 width:130 height: 78 text:qsTr("95~99")+ systemCtrl.emptyString color:(dspeed >= 95 && dspeed <= 99)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text19.width - text19_btn1.width - 18 - 15 - text19_num.width - text19_btn2.width - 18 - save19_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text19_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 95 && dspeed <= 99) { if (81 > settingCtrl.getSpevol(18)) { iSpevol = settingCtrl.getSpevol(18) + 1 settingCtrl.setSpevol(18,iSpevol) settingCtrl.setSpeedvol(iSpevol) text19_num.color = "#e1e1e1" text19_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text19_num width:200 height: 78 text:settingCtrl.getSpevol(18) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text19_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 95 && dspeed <= 99) { if (0 < settingCtrl.getSpevol(18)) { iSpevol = settingCtrl.getSpevol(18) - 1 settingCtrl.setSpevol(18,iSpevol) settingCtrl.setSpeedvol(iSpevol) text19_num.color = "#e1e1e1" text19_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save19_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save19Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 95 && dspeed <= 99) { text19_num.color = "red" } else { //do nothing } } } } Row { id: speed20 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text20 width:130 height: 78 text:qsTr("100~104")+ systemCtrl.emptyString color:(dspeed >= 100 && dspeed <= 104)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text20.width - text20_btn1.width - 18 - 15 - text20_num.width - text20_btn2.width - 18 - save20_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text20_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 100 && dspeed <= 104) { if (81 > settingCtrl.getSpevol(19)) { iSpevol = settingCtrl.getSpevol(19) + 1 settingCtrl.setSpevol(19,iSpevol) settingCtrl.setSpeedvol(iSpevol) text20_num.color = "#e1e1e1" text20_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text20_num width:200 height: 78 text:settingCtrl.getSpevol(19) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text20_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 100 && dspeed <= 104) { if (0 < settingCtrl.getSpevol(19)) { iSpevol = settingCtrl.getSpevol(19) - 1 settingCtrl.setSpevol(19,iSpevol) settingCtrl.setSpeedvol(iSpevol) text20_num.color = "#e1e1e1" text20_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save20_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save20Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 100 && dspeed <= 104) { text20_num.color = "red" } else { //do nothing } } } } Row { id: speed21 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text21 width:130 height: 78 text:qsTr("105~109")+ systemCtrl.emptyString color:(dspeed >= 105 && dspeed <= 109)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text21.width - text21_btn1.width - 18 - 15 - text21_num.width - text21_btn2.width - 18 - save21_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text21_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 105 && dspeed <= 109) { if (81 > settingCtrl.getSpevol(20)) { iSpevol = settingCtrl.getSpevol(20) + 1 settingCtrl.setSpevol(20,iSpevol) settingCtrl.setSpeedvol(iSpevol) text21_num.color = "#e1e1e1" text21_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text21_num width:200 height: 78 text:settingCtrl.getSpevol(20) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text21_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 105 && dspeed <= 109) { if (0 < settingCtrl.getSpevol(20)) { iSpevol = settingCtrl.getSpevol(20) - 1 settingCtrl.setSpevol(20,iSpevol) settingCtrl.setSpeedvol(iSpevol) text21_num.color = "#e1e1e1" text21_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save21_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save21Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 105 && dspeed <= 109) { text21_num.color = "red" } else { //do nothing } } } } Row { id: speed22 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text22 width:130 height: 78 text:qsTr("110~114")+ systemCtrl.emptyString color:(dspeed >= 110 && dspeed <= 114)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text22.width - text22_btn1.width - 18 - 15 - text22_num.width - text22_btn2.width - 18 - save22_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text22_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 110 && dspeed <= 114) { if (81 > settingCtrl.getSpevol(21)) { iSpevol = settingCtrl.getSpevol(21) + 1 settingCtrl.setSpevol(21,iSpevol) settingCtrl.setSpeedvol(iSpevol) text22_num.color = "#e1e1e1" text22_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text22_num width:200 height: 78 text:settingCtrl.getSpevol(21) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text22_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 110 && dspeed <= 114) { if (0 < settingCtrl.getSpevol(21)) { iSpevol = settingCtrl.getSpevol(21) - 1 settingCtrl.setSpevol(21,iSpevol) settingCtrl.setSpeedvol(iSpevol) text22_num.color = "#e1e1e1" text22_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save22_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save22Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 110 && dspeed <= 114) { text22_num.color = "red" } else { //do nothing } } } } Row { id: speed23 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text23 width:130 height: 78 text:qsTr("115~119")+ systemCtrl.emptyString color:(dspeed >= 115 && dspeed <= 119)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text23.width - text23_btn1.width - 18 - 15 - text23_num.width - text23_btn2.width - 18 - save23_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text23_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 115 && dspeed <= 119) { if (81 > settingCtrl.getSpevol(22)) { iSpevol = settingCtrl.getSpevol(22) + 1 settingCtrl.setSpevol(22,iSpevol) settingCtrl.setSpeedvol(iSpevol) text23_num.color = "#e1e1e1" text23_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text23_num width:200 height: 78 text:settingCtrl.getSpevol(22) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text23_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 115 && dspeed <= 119) { if (0 < settingCtrl.getSpevol(22)) { iSpevol = settingCtrl.getSpevol(22) - 1 settingCtrl.setSpevol(22,iSpevol) settingCtrl.setSpeedvol(iSpevol) text23_num.color = "#e1e1e1" text23_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save23_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save23Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 115 && dspeed <= 119) { text23_num.color = "red" } else { //do nothing } } } } Row { id: speed24 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text24 width:130 height: 78 text:qsTr("120~124")+ systemCtrl.emptyString color:(dspeed >= 120 && dspeed <= 124)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text24.width - text24_btn1.width - 18 - 15 - text24_num.width - text24_btn2.width - 18 - save24_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text24_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 120 && dspeed <= 124) { if (81 > settingCtrl.getSpevol(23)) { iSpevol = settingCtrl.getSpevol(23) + 1 settingCtrl.setSpevol(23,iSpevol) settingCtrl.setSpeedvol(iSpevol) text24_num.color = "#e1e1e1" text24_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text24_num width:200 height: 78 text:settingCtrl.getSpevol(23) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text24_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 120 && dspeed <= 124) { if (0 < settingCtrl.getSpevol(23)) { iSpevol = settingCtrl.getSpevol(23) - 1 settingCtrl.setSpevol(23,iSpevol) settingCtrl.setSpeedvol(iSpevol) text24_num.color = "#e1e1e1" text24_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save24_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save24Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 120 && dspeed <= 124) { text24_num.color = "red" } else { //do nothing } } } } Row { id: speed25 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text25 width:130 height: 78 text:qsTr("125~129")+ systemCtrl.emptyString color:(dspeed >= 125 && dspeed <= 129)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text25.width - text25_btn1.width - 18 - 15 - text25_num.width - text25_btn2.width - 18 - save25_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text25_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 125 && dspeed <= 129) { if (81 > settingCtrl.getSpevol(24)) { iSpevol = settingCtrl.getSpevol(24) + 1 settingCtrl.setSpevol(24,iSpevol) settingCtrl.setSpeedvol(iSpevol) text25_num.color = "#e1e1e1" text25_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel //the button of SeatPositioning { id:text25_num width:200 height: 78 text:settingCtrl.getSpevol(24) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button of SeatPositioning { id:text25_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 125 && dspeed <= 129) { if (0 < settingCtrl.getSpevol(24)) { iSpevol = settingCtrl.getSpevol(24) - 1 settingCtrl.setSpevol(24,iSpevol) settingCtrl.setSpeedvol(iSpevol) text25_num.color = "#e1e1e1" text25_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save25_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save25Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 125 && dspeed <= 129) { text25_num.color = "red" } else { //do nothing } } } } Row { id: speed26 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text26 width:130 height: 78 text:qsTr("130~134")+ systemCtrl.emptyString color:(dspeed >= 130 && dspeed <= 134)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text26.width - text26_btn1.width - 18 - 15 - text26_num.width - text26_btn2.width - 18 - save26_btn.width height: 1 } HMIButton //the button of SeatPositioning { id:text26_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 130 && dspeed <= 134) { if (81 > settingCtrl.getSpevol(25)) { iSpevol = settingCtrl.getSpevol(25) + 1 settingCtrl.setSpevol(25,iSpevol) settingCtrl.setSpeedvol(iSpevol) text26_num.color = "#e1e1e1" text26_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel //the button of SeatPositioning { id:text26_num width:200 height: 78 text:settingCtrl.getSpevol(25) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button of SeatPositioning { id:text26_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 130 && dspeed <= 134) { if (0 < settingCtrl.getSpevol(25)) { iSpevol = settingCtrl.getSpevol(25) - 1 settingCtrl.setSpevol(25,iSpevol) settingCtrl.setSpeedvol(iSpevol) text26_num.color = "#e1e1e1" text26_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save26_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save26Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 130 && dspeed <= 134) { text26_num.color = "red" } else { //do nothing } } } } Row { id: speed27 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text27 width:130 height: 78 text:qsTr("135~139")+ systemCtrl.emptyString color:(dspeed >= 135 && dspeed <= 139)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text27.width - text27_btn1.width - 18 - 15 - text27_num.width - text27_btn2.width - 18 - save27_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text27_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 135 && dspeed <= 139) { if (81 > settingCtrl.getSpevol(26)) { iSpevol = settingCtrl.getSpevol(26) + 1 settingCtrl.setSpevol(26,iSpevol) settingCtrl.setSpeedvol(iSpevol) text27_num.color = "#e1e1e1" text27_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text27_num width:200 height: 78 text:settingCtrl.getSpevol(26) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text27_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 135 && dspeed <= 139) { if (0 < settingCtrl.getSpevol(26)) { iSpevol = settingCtrl.getSpevol(26) - 1 settingCtrl.setSpevol(26,iSpevol) settingCtrl.setSpeedvol(iSpevol) text27_num.color = "#e1e1e1" text27_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save27_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save27Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 135 && dspeed <= 139) { text27_num.color = "red" } else { //do nothing } } } } Row { id: speed28 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text28 width:130 height: 78 text:qsTr("140~144")+ systemCtrl.emptyString color:(dspeed >= 140 && dspeed <= 144)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text28.width - text28_btn1.width - 18 - 15 - text28_num.width - text28_btn2.width - 18 - save28_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text28_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 140 && dspeed <= 144) { if (81 > settingCtrl.getSpevol(27)) { iSpevol = settingCtrl.getSpevol(27) + 1 settingCtrl.setSpevol(27,iSpevol) settingCtrl.setSpeedvol(iSpevol) text28_num.color = "#e1e1e1" text28_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text28_num width:200 height: 78 text:settingCtrl.getSpevol(27) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text28_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 140 && dspeed <= 144) { if (0 < settingCtrl.getSpevol(27)) { iSpevol = settingCtrl.getSpevol(27) - 1 settingCtrl.setSpevol(27,iSpevol) settingCtrl.setSpeedvol(iSpevol) text28_num.color = "#e1e1e1" text28_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save28_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save28Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 140 && dspeed <= 144) { text28_num.color = "red" } else { //do nothing } } } } Row { id: speed29 width: right1.width height: 78 Item //for Occupying { width: 18 height: 1 } HMILabel { id: text29 width: 130 height: 78 text:qsTr("145~149")+ systemCtrl.emptyString color:(dspeed >= 145 && dspeed <= 149)?"red":"#e1e1e1" font.pixelSize:/*()?28:*/24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignRight } Item //for Occupying { width: 842 - text29.width - text29_btn1.width - 18 - 15 - text29_num.width - text29_btn2.width - 18 - save29_btn.width height: 1 } HMIButton //the button to add the sensitive { id:text29_btn1 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_UP"+bgImageStyle onClicked: { if (dspeed >= 145 && dspeed <= 149) { if (81 > settingCtrl.getSpevol(28)) { iSpevol = settingCtrl.getSpevol(28) + 1 settingCtrl.setSpevol(28,iSpevol) settingCtrl.setSpeedvol(iSpevol) text29_num.color = "#e1e1e1" text29_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } HMILabel { id:text29_num width:200 height: 78 text:settingCtrl.getSpevol(28) color:"#e1e1e1" font.pixelSize: 24 verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter } HMIButton //the button to sub the sensitive { id:text29_btn2 y: 18 width: 50 height: 50 visible: true btnImg:pressed?"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SUB-ARROW_DOWN"+bgImageStyle onClicked: { if (dspeed >= 145 && dspeed <= 149) { if (0 < settingCtrl.getSpevol(28)) { iSpevol = settingCtrl.getSpevol(28) - 1 settingCtrl.setSpevol(28,iSpevol) settingCtrl.setSpeedvol(iSpevol) text29_num.color = "#e1e1e1" text29_num.text = iSpevol } else { //do nothing } } else { //do nothing } } } Item //for Occupying { width: 18 height: 1 } HMIButton //the button of SeatPositioning { id:save29_btn width: 262 height: 78 visible: true btnImg: pressed?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262_P" + bgImageStyle:"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_W262" + bgImageStyle HMILabel { id:save29Speed_txt width: 262 height: 78 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 24*rate text:"Save" color:"#e1e1e1" } onClicked: { if (dspeed >= 145 && dspeed <= 149) { text29_num.color = "red" } else { //do nothing } } } } } //add by plc for #334353 //delete by zhanglixin 2019/06/28 jin chu ye mian xian shi AC/menubar /* Connections { target: carplayCtrl onCarpalyModesChanged: { if (diag_Speed_VolumeItem.visible == true) { console.log("@ZLX**onVisibleChanged**hardwareversion="+hardwareversion) ScreenManager.hideOverlay(WindowsList.AC_ITEM) diagCtrl.bDevelopMode = true } else { ScreenManager.showOverlay(WindowsList.AC_ITEM) diagCtrl.bDevelopMode = false } } onCarpalyShow: { ScreenManager.showOverlay(WindowsList.AC_ITEM) diagCtrl.bDevelopMode = false } } //end by plc for #334353 //add by zhanglixin androidauto display kong tiao bu xian shi wen ti begin Connections { target: andrCtrl //AndroidAuto bu xian shi onVideoFocusChanged: { console.log("\n@AndroidAuto**ZLX**onVideoFocusChanged**diag_Speed_VolumeItem**") console.log("\n@AndroidAuto**ZLX**onVideoFocusChanged**diag_Speed_VolumeItem.visible="+diag_Speed_VolumeItem.visible) if (diag_Speed_VolumeItem.visible == true) { ScreenManager.hideOverlay(WindowsList.AC_ITEM) diagCtrl.bDevelopMode = true } else { ScreenManager.showOverlay(WindowsList.AC_ITEM) diagCtrl.bDevelopMode = false } } //AndroidAuto xian shi onAndroidAuto_show: { console.log("\n@AndroidAuto**ZLX**onAndroidAuto_show**diag_Speed_VolumeItem**") ScreenManager.showOverlay(WindowsList.AC_ITEM) diagCtrl.bDevelopMode = false } }*/ //add by zhanglixin androidauto display kong tiao bu xian shi wen ti end }