summaryrefstree
path: root/usr/bin/qml/Carlink/Cleanuserdata.qml
blob: 0082910fb1c6f5fedf1e4cf318656d55ab008b19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import QtQuick 2.0
import "../com/neusoft/auto/widgets"
import "../layoutList.js" as Layout
import "../windowsList.js" as WindowsList

Item {
    width: 740-(51-14)
    height: 62
    HMIButton{
        id : btn
        x : -17
        y : -17
        btnImg:btn.pressed? "qrc:MATERIAL/MATERIAL_M8X_LIST_P"+systemCtrl.style
                                                   : "qrc:MATERIAL/MATERIAL_M8X_LIST"+systemCtrl.style
        onClicked: {
            console.log("clean user data clicked");
            ScreenManager.showOverlay(WindowsList.CARLINK_CLEANUSERDATA_POPUP);
        }
    }
    Text {
			property real rate: 0.860
            id : label
			height : 30
			width :  250
			color: "white"
		    font.family: "方正兰亭黑简体"
		    font.pixelSize:31*label.rate
            //text : qsTr("Clear current user info")+systemCtrl.emptyString
			text : "清除当前账户信息"
    }

//    MouseArea{
//            anchors.fill : parent
//            onClicked: {
//                    console.log("clean user data clicked");
//                    ScreenManager.showOverlay(WindowsList.CARLINK_CLEANUSERDATA_POPUP);
//            }
//    }
}