summaryrefslogtreecommitdiff
path: root/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Components/Keypad.qml
blob: 0dc0115acf014daed989f3c0e8336cb0967ff3a9 (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
40
41
42
43
import QtQuick 2.0

Item {
    signal letterClicked(string letter)
    id: keyboard

    Column {
        anchors.fill: parent
        spacing: 10
        Row {
            anchors.horizontalCenter: parent.horizontalCenter
            spacing: 10

            Key { text: "1" }
            Key { text: "2" }
            Key { text: "3" }
        }
        Row {
            anchors.horizontalCenter: parent.horizontalCenter
            spacing: 10

            Key { text: "4" }
            Key { text: "5" }
            Key { text: "6" }
        }
        Row {
            anchors.horizontalCenter: parent.horizontalCenter
            spacing: 10

            Key { text: "7" }
            Key { text: "8" }
            Key { text: "9" }
        }
        Row {
            anchors.horizontalCenter: parent.horizontalCenter
            spacing: 10

            Key { text: "*" }
            Key { text: "0" }
            Key { text: "#" }
        }
    }
}