import QtQuick 2.0 import Label 2.0 import "../com/neusoft/auto/widgets" import "../windowsList.js" as WindowsList Item { id:itemScreen width: 768 height: 1024 HMIMouseArea { y:125 width:769 height:1024 - 125 - 121 onClicked: { ScreenManager.hideOverlay(WindowsList.AUXAUDIOPOPUP) } } Image { id:imgSourceSelect x:120 y:300 width:531 height:416 source:"../images/Type_O_Popup/O_08/O_08_Popup_Background.png" MouseArea { anchors.fill: parent } } HMILabel { x:186 y:376-11 width: 418 height: 22+22 font.pixelSize: 22 text: qsTr("AUX devices is detected,") horizontalAlignment: Label.AlignLeft } HMILabel { x:186 y:376-11+44 width: 418 height: 22+22 font.pixelSize: 22 text: qsTr("you want ...... ") horizontalAlignment: Label.AlignLeft } HMILabel { x:186 y:318-12 width: 288 height: 24+24 font.pixelSize: 24 text: qsTr("Device connection") color: "#3fa2ee" horizontalAlignment: Label.AlignLeft } Image { id: device_icon x:282 y:479 source: "../images/Type_O_Popup/O_09/O_09_Popup_icon_AUX.png" } HMILabel { x:351 y:490-15 width: 240 height: 30+30 font.pixelSize: 30 text: qsTr("Go to the AUX ") horizontalAlignment:Label.AlignLeft color:mouse_click.pressed? "#3fa2ee":"white" } HMIMouseArea { id:mouse_click x:351 y:470 width:220 height: 70 onClicked: { console.log("[ipod pop]go to clicked") if(0 === auxCtrl.auxConnectState)//connect { console.log("[AUX pop]AUX connected") if (WindowsList.AUXAUDIO_MAIN !== ScreenManager.getCurrentFormId()) { systemCtrl.reqSource(4,0,0); //SOURCE_AUX } } console.log("[aux pop]requset hide") ScreenManager.hideOverlay(WindowsList.AUXAUDIOPOPUP) } } HMIButton { id:cancel_btn x:281 y:605 btnImg: cancel_btn.pressed?"../images/Type_O_Popup/Popup_Button_Pushed.png":"../images/Type_O_Popup/Popup_Button_Normal.png" labelText: qsTr("Cancel") labelSize: 28 onClicked: { console.log("[aux pop]cancel clicked") ScreenManager.hideOverlay(WindowsList.AUXAUDIOPOPUP) } } }