import QtQuick 2.0 import "../windowsList.js" as WindowsList import "../com/neusoft/auto/widgets" import "../layoutList.js" as LayoutList HMIMask { id:aa_disconnection x:0 y:0 widowsType: LayoutList.MESSAGE_TYPE formId: WindowsList.AA_DISCONNECTION timerFlag: true property string style: systemCtrl.style Component.onCompleted: { // } onVisibleChanged: { console.log("@ZLX**AA Disconnection **onVisibleChanged**aa_disconnection.visible=**"+aa_disconnection.visible) if(aa_disconnection.visible == true) { disconnectiontimer.start() } else { disconnectiontimer.stop() } } Image { id:mediavolume_bg x:140 y:410 width:680 height:370 source:"qrc:MATERIAL/MATERIAL_SETTINGS_MEDIA-VOLUME_BG"+style HMILabel { id:volumename y:47 width:680 height:42 font.pixelSize: 30 anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter text:qsTr("Android Auto has been disconnected") +systemCtrl.emptyString } } Timer { id:disconnectiontimer interval: 3000 running: false repeat: false onTriggered: { ScreenManager.hideOverlay(WindowsList.AA_DISCONNECTION); } } }