import QtQuick 2.0 import "../com/neusoft/auto/widgets" import "../layoutList.js" as Layout import "../windowsList.js" as WindowsList import Label 2.0 Item { width: 769 height: 1024 x:0 y:0 id:loginPopup onVisibleChanged: { console.log("[TBoxAutoLogin_loginPopup][onVisibleChanged][loginPopup.visible]-->" + loginPopup.visible) } Image { id:maskImg x: 14 y: 132 width:740 height:696 source : "qrc:MATERIAL/MATERIAL_M8X_MASK_FULL-SCREEN"+systemCtrl.style } Image { id: asel_popup x: 54 y: 373 width:660 height:215 source: "qrc:MATERIAL/MATERIAL_M8X_POPUP_BG_1+2LINE"+systemCtrl.style HMILabel { x:0 y:60 width: parent.width height: 60 text: qsTr("Are you sure to login telematics automatically?")+systemCtrl.emptyString font.pixelSize: 30 color:"white" } HMIButton { id:loginBtn x:165 y:135 btnImg: loginBtn.pressed ?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_PUSHED"+systemCtrl.style : "qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON"+systemCtrl.style HMILabel { width: parent.width height: parent.height anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter font.pixelSize: 20 text:qsTr("Yes")+systemCtrl.emptyString color:"white" } onClicked: { console.log("[loginBtn][onClicked]-->") carlinkCtrl.requestUsrNameList(carlinkCtrl.macAddrOfBTDevice,carlinkCtrl.getVinOfMachine()) ScreenManager.hideOverlay(WindowsList.CARLINK_AUTOLOGIN_POPUP); } } HMIButton { id:closeBtn x:335 y:135 btnImg: closeBtn.pressed ? "qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_PUSHED"+systemCtrl.style : "qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON"+systemCtrl.style HMILabel { width: parent.width height: parent.height anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter text:qsTr("No")+systemCtrl.emptyString color:"white" font.pixelSize: 20 } onClicked: { console.log("[closeBtn][onClicked]-->") ScreenManager.hideOverlay(WindowsList.CARLINK_AUTOLOGIN_POPUP); } } } /*========================================Function Start==============================================*/ /*========================================Function End================================================*/ }