import QtQuick 2.0 import "../eventsList.js" as EventsList 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:msgEmptyPopup property alias popvisible: msgEmptyPopup.visible property alias mask_height : maskImg.height property alias popimageY : empty_popup.y property alias pop_tex: poptext.text property int pop_type: 1 Image { id:maskImg x: 14 y: 132 width:740 height:696 source : "qrc:MATERIAL/MATERIAL_M8X_MASK_FULL-SCREEN"+systemCtrl.style } Image { id: empty_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 id:poptext width: parent.width height: 60 //text: qsTr("是否删除所有消息?") font.pixelSize: 30 color:"white" } HMIButton { id : yes x : 150 y : 150 labelText: qsTr("是") btnImg : yes.pressed ?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_PUSHED"+systemCtrl.style : "qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON"+systemCtrl.style onClicked: { console.log("[emptyBtn][onClicked]-->") carlinkCtrl.clearAllMsgList(); msgEmptyPopup.visible = false /*ScreenManager.changeForm(Layout.FM_OPEN,WindowsList.CARLINK_CONTACTS_ALL_LIST) ScreenManager.hideOverlay(WindowsList.CARLINK_MSGEMPTYPOPUP);*/ } } HMIButton { id : no x : 450 y : 150 labelText: qsTr("否") btnImg : no.pressed ?"qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON_PUSHED"+systemCtrl.style : "qrc:MATERIAL/MATERIAL_M8X_SETTINGS_BUTTON"+systemCtrl.style onClicked: { console.log("[noBtn][onClicked]-->") /*ScreenManager.changeForm(Layout.FM_OPEN,WindowsList.CARLINK_CONTACTS_ALL_LIST) ScreenManager.hideOverlay(WindowsList.CARLINK_MSGEMPTYPOPUP);*/ msgEmptyPopup.visible = false } } } /*========================================Function Start==============================================*/ /*========================================Function End================================================*/ }