import QtQuick 2.0 import Label 2.0 import Label 2.0//ADD #F0192 2017/2/6 BAOJINFENG begin import "../com/neusoft/auto/widgets" import "../windowsList.js" as WindowsList import "../eventsList.js" as EventsList //ADD #125801 baojinfeng 2016/12/23 import "../layoutList.js" as Layout import "../Setting/Settinglist.js" as Settinglist HMIMask { // id:updatepopmessage // x:0 // y:0//70 // width:960 // height:1050 // widowsType: Layout.POP_TYPE // formId: WindowsList.SETTING_UPDATEPOPMESSAGE // property int iLanguage: systemCtrl.iLanguage // property string sCANUpdateSOCCurrVersion:diagCtrl.sDiagSOCVersion // property string sCANUpdateMCUCurrVersion:diagCtrl.sDiagMCUVersion // property string socUpdateVersion:diagCtrl.sUpdateSOCVersion // property string mcuUpdateVersion:diagCtrl.sUpdateMCUVersion // property int bBtStatus: diagCtrl.bBtStatus // property string naviNewUpdateVersion:diagCtrl.sUpdateNewNAVISoftVersion // //property string naviSoftNewUpdateVersion:diagCtrl.sUpdateNewNAVISoftVersion // property string naviversion:naviCtrl.getNaviVersion() // //property string sCANUpdateNaviNewVersion:"" // Component.onCompleted: // { // visible:true // } // visible: false // onVisibleChanged: // { // if(updatepopmessage.visible == true) // { // diagCtrl.getUpdateNewNAVISoftVersion() // naviCtrl.getNaviVersion() // } // } // Image // { // id: im_itemBackground // x:0 // y:300 // width:960 // height:556 // source:"qrc:MATERIAL/MATERIAL_POPUP_BG_H556"+bgImageStyle // } // HMIButton //the button of Cancel // { // id:btn_ng // x:549 // y:680//647 // width: 186 // height: 78 // btnImg:pressed?"qrc:MATERIAL/MATERIAL_POPUP_BUTTON_W186_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_POPUP_BUTTON_W186"+bgImageStyle // labelText: qsTr("Cancel")+ systemCtrl.emptyString // labelColor:"#e1e1e1" // labelPixelSize:30 // onClicked: // { // btnImg="qrc:MATERIAL/MATERIAL_POPUP_BUTTON_W186"+bgImageStyle // ScreenManager.hideOverlay(WindowsList.SETTING_UPDATEPOPMESSAGE) // } // } // HMIButton //the button of OK // { // id:btn_ok // x:225 // y:680//647 // width: 186 // height: 78 // btnImg:pressed?"qrc:MATERIAL/MATERIAL_POPUP_BUTTON_W186_P"+bgImageStyle:"qrc:MATERIAL/MATERIAL_POPUP_BUTTON_W186"+bgImageStyle // labelText: qsTr("Update") + systemCtrl.emptyString // labelColor:"#e1e1e1" // labelPixelSize:30 // onClicked: // { // systemCtrl.setStateMaskHardkey(Layout.HK_MASK_STATE_UPDATE,Layout.HK_MASK_ON) // btnImg="qrc:MATERIAL/MATERIAL_POPUP_BUTTON_W186"+bgImageStyle // settingCtrl.iLanguageFlag = iLanguage; // console.debug("#### About Click settingCtrl.getNaviUpDataFileFlag() = "+settingCtrl.getNaviUpDataFileFlag()) // if(1 == settingCtrl.getNaviUpDataFileFlag()) // { // systemCtrl.setStateMaskHardkey(Layout.HK_MASK_STATE_UPDATE,Layout.HK_MASK_ON) //add by zhangna for qc bug #168982 // if(bBtStatus == 1) // { // btCtrl.setBtPowerOffForSleep(); // } // else // { // } //// naviprocessbar.visible = true // ScreenManager.hideOverlay(WindowsList.SETTING_UPDATEPOPMESSAGE) // ScreenManager.showOverlay(WindowsList.SETTING_ABOUTUPDATING) // diagCtrl.reqStartUpdateNAVISoft() // } // else // { // diagCtrl.reqStartUpdateSOCMCU() // } // } // } // HMILabel // { // id:currsocLabel // x:225 // y:380//450 // width: 200 // height: 30 // //anchors.verticalCenter: parent.verticalCenter // horizontalAlignment: Text.AlignLeft // font.pixelSize: 24 // text:"soc Current:" // color:"white" // } // HMILabel // { // id:currsocVersion // x:225 // y:380//450 // width: 822 // height: 30 // //anchors.verticalCenter: parent.verticalCenter // //horizontalAlignment: Text.AlignRight // font.pixelSize: 24 // text:sCANUpdateSOCCurrVersion // color:"white" // } // HMILabel // { // id:newsocLabel // x:225 // y:430//500 // width: 200 // height: 30 // //anchors.verticalCenter: parent.verticalCenter // horizontalAlignment: Text.AlignLeft // font.pixelSize: 24 // text:"soc New:" // color:"white" // } // HMILabel // { // id:newsocVersion // x:225 // y:430//500 // width: 822 // height: 30 // //anchors.verticalCenter: parent.verticalCenter // //horizontalAlignment: Text.AlignRight // font.pixelSize: 24 // //text:"444" // text:socUpdateVersion // color:"white" // } // HMILabel // { // id:currmcuLabel // x: 225 // y:480//550 // width: 200 // height: 30 // //anchors.verticalCenter: parent.verticalCenter // horizontalAlignment: Text.AlignLeft // font.pixelSize: 24 // text:"mcu Current:" // color:"white" // } // HMILabel // { // id:currmcuVersion // x: 225 // y:480//550 // width: 822 // height: 30 // //anchors.verticalCenter: parent.verticalCenter // //horizontalAlignment: Text.AlignRight // font.pixelSize: 24 // //text:"555" // text:sCANUpdateMCUCurrVersion // color:"white" // } // HMILabel // { // id:newmcuLabel // x: 225 // y:530//600 // width: 200 // height: 30 // //anchors.verticalCenter: parent.verticalCenter // horizontalAlignment: Text.AlignLeft // font.pixelSize: 24 // text:"mcu New:" // color:"white" // } // HMILabel // { // id:newmcuVersion // x:225 // y:530//600 // width: 822 // height: 30 // //anchors.verticalCenter: parent.verticalCenter // //horizontalAlignment: Text.AlignLeft // font.pixelSize: 24 // //text:"666" // text:mcuUpdateVersion // color:"white" // } // HMILabel // { // id:currnaviLabel // x:225 // y:580//650 // width: 200 // height: 30 // //anchors.verticalCenter: parent.verticalCenter // horizontalAlignment: Text.AlignLeft // font.pixelSize: 24 // text:"Navi Current:" // color:"white" // } // HMILabel // { // id:currnaviVersion // x:225 // y:580//650 // width: 822 // height: 30 // //anchors.verticalCenter: parent.verticalCenter // //horizontalAlignment: Text.AlignRight // font.pixelSize: 24 // //text:"111" // text:naviversion // color:"white" // } //HMILabel //{ // id:newnaviLabel // x:225 // y:630//700 // width: 200 // height: 30 // //anchors.verticalCenter: parent.verticalCenter // horizontalAlignment: Text.AlignLeft // font.pixelSize: 24 // text:"Navi New:" // color:"white" //} //HMILabel //{ // id:newnaviVersion // x:225 // y:630//700 // width: 822 // height: 30 // //anchors.verticalCenter: parent.verticalCenter // //horizontalAlignment: Text.AlignRight // font.pixelSize: 24 // //text:"222" // text:naviNewUpdateVersion // color:"white" //} }