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:promptPopup onVisibleChanged: { console.log("[TBoxAutoLogin_loginPopup][onVisibleChanged][loginPopup.visible]-->" + promptPopup.visible) asel_popup.opacity = 1 } Timer { id:disappearTimer interval: 3*1000; running: carlinkCtrl.isAutoDisappear; repeat: false onTriggered: { console.log("[promptPopup][disappearTimer][onTriggered]-->>") disappearAnimation.start(); } } Image { id:maskImg x: 14 y: 132 width:740 height:696 source : "qrc:MATERIAL/MATERIAL_M8X_MASK_FULL-SCREEN"+systemCtrl.style MouseArea { anchors.fill:parent onClicked: { console.log("[promptPopup][onClicked]-->>") disappearTimer.stop() ScreenManager.hideOverlay(WindowsList.CARLINK_PROMPT_POPUP); } } } Image { id: asel_popup x: 124 y:424 width:520 height:112 source : "qrc:MATERIAL/MATERIAL_M8X_POPUP_MESSAGE_BK"+systemCtrl.style HMILabel { x:0 y:0 anchors.fill: parent verticalAlignment: Label.AlignVCenter text: carlinkCtrl.promptInfo font.pixelSize: 24 color:"white" } } NumberAnimation { id: disappearAnimation properties: "opacity" target: asel_popup from: 1 to: 0 duration: 1000 easing.type: Easing.OutCurve onStopped: { console.log("[disappearAnimation][onStopped]-->>") ScreenManager.hideOverlay(WindowsList.CARLINK_PROMPT_POPUP); } } /*========================================Function Start==============================================*/ /*========================================Function End================================================*/ }