diff options
Diffstat (limited to 'src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Components/Keyboard.qml')
-rw-r--r-- | src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Components/Keyboard.qml | 129 |
1 files changed, 0 insertions, 129 deletions
diff --git a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Components/Keyboard.qml b/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Components/Keyboard.qml deleted file mode 100644 index fc5d26aa88..0000000000 --- a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Components/Keyboard.qml +++ /dev/null @@ -1,129 +0,0 @@ -import QtQuick 2.0 - -Item { - signal letterClicked(string letter) - signal go() - id: keyboard - - states: [ - State { - name: 'numpad' - PropertyChanges { - target: qwerty - visible: false - } - PropertyChanges { - target: numpad - visible: true - } - } - - ] - - Column { - id: qwerty - anchors.fill: parent - spacing: 10 - Row { - anchors.horizontalCenter: parent.horizontalCenter - spacing: 10 - - Key { text: "Q" } - Key { text: "W" } - Key { text: "E" } - Key { text: "R" } - Key { text: "T" } - Key { text: "Y" } - Key { text: "U" } - Key { text: "I" } - Key { text: "O" } - Key { text: "P" } - } - Row { - anchors.horizontalCenter: parent.horizontalCenter - spacing: 10 - - Key { text: "A" } - Key { text: "S" } - Key { text: "D" } - Key { text: "F" } - Key { text: "G" } - Key { text: "H" } - Key { text: "J" } - Key { text: "K" } - Key { text: "L" } - } - Row { - anchors.horizontalCenter: parent.horizontalCenter - spacing: 10 - - Key { text: "Z" } - Key { text: "X" } - Key { text: "C" } - Key { text: "V" } - Key { text: "B" } - Key { text: "N" } - Key { text: "M" } - } - Row { - anchors.horizontalCenter: parent.horizontalCenter - spacing: 10 - Button { text: "123"; width: 60 - onPress: keyboard.state = 'numpad' - } - Button { text: "!@#"; width: 60 } - Key { text: " "; width: 300 } - Key { text: "." } - Key { text: "&" } - } - } - - Column { - id: numpad - visible: false - 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 - - Button { - text: "ABC" - width: 60 - onPress: keyboard.state = '' - } - Key { text: "*" } - Key { text: "0" } - Key { text: "#" } - Button { - text: "Go" - width: 60 - onPress: keyboard.go() - } - } - } -} |