import QtQuick 2.0 import Label 2.0//ADD #F0182 2017/02/03 baojinfeng begin import "../com/neusoft/auto/widgets" import "../windowsList.js" as WindowsList import "../layoutList.js" as Layout HMIMask { id:appasswd_message x:0 y:0//40 //width: 768//740 //height: 858//696 widowsType:Layout.MESSAGE_TYPE formId:WindowsList.SETTING_APPASSWD_MESSAGE Component.onCompleted: { //windowID = WindowsList.SETTING_APPASSWD_MESSAGE//FOD #126239 2106/11/30 BAOJINFENG begin } onVisibleChanged: { if(appasswd_message.visible == true) { //FOD #126239 2106/12/05 BAOJINFENG begin // if(screenShotSwt == true) // { // //do nothing // } // else // { messggeTimer.start() // } //FOD #126239 2106/12/05 BAOJINFENG end } else { messggeTimer.stop() } } Image { //FOD 2106/10/26 BAOJINFENG begin id: im_itemBackground x:58 y:419 width:844 height:352 source:"qrc:MATERIAL/MATERIAL_M8X_POPUP_BG_WARNING"+bgImageStyle //FOD 2106/10/26 BAOJINFENG END HMIMouseArea { anchors.fill: parent bBeep:false onClicked: { ScreenManager.hideOverlay(WindowsList.SETTING_APPASSWD_MESSAGE) } } } HMILabel { id:label_text x:120 //fod F0182 liuming 20170206 begin //y:580-5//480 //Fod #F0145 2017/1/6 liuming end y:575 //fod F0182 liuming 20170206 end width:720 height:40//50//FOD 2106/10/26 BAOJINFENG begin //Fod #F0145 2017/1/6 liuming end text:qsTr("The password should contain 8 -20 characters") + systemCtrl.emptyString font.pixelSize:30 //DEL F0192 2017/2/6 BAOJINFENG begin //horizontalAlignment: Text.AlignHCenter //verticalAlignment: Text.AlignVCenter//FOD 2106/10/26 BAOJINFENG begin //DEL F0192 2017/2/6 BAOJINFENG end } Timer { id:messggeTimer interval: 3000 running: false repeat: false onTriggered: { ScreenManager.hideOverlay(WindowsList.SETTING_APPASSWD_MESSAGE) } } }