~cherojeong/ubuntu-keyboard/korean-layout

« back to all changes in this revision

Viewing changes to qml/languages/Keyboard_telephone.qml

  • Committer: Michael Terry
  • Date: 2013-11-04 17:48:55 UTC
  • mfrom: (96 trunk)
  • mto: This revision was merged to the branch mainline in revision 97.
  • Revision ID: michael.terry@canonical.com-20131104174855-mtmwbdavrq77nl1r
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2013 Canonical Ltd.
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU Lesser General Public License as published by
 
6
 * the Free Software Foundation; version 3.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 * GNU Lesser General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU Lesser General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 */
 
16
 
 
17
import QtQuick 2.0
 
18
import "../keys"
 
19
 
 
20
KeyPad {
 
21
    anchors.fill: parent
 
22
 
 
23
    content: c1
 
24
    symbols: ""
 
25
 
 
26
    Column {
 
27
        id: c1
 
28
        anchors.fill: parent
 
29
        anchors.margins: 0;
 
30
 
 
31
        spacing: 0
 
32
 
 
33
        Row {
 
34
            anchors.horizontalCenter: parent.horizontalCenter;
 
35
            anchors.margins: 50;
 
36
            spacing: 0
 
37
 
 
38
            CharKey { label: "1"; }
 
39
            CharKey { label: "2"; }
 
40
            CharKey { label: "3"; }
 
41
        }
 
42
 
 
43
        Row {
 
44
            anchors.horizontalCenter: parent.horizontalCenter;
 
45
            anchors.margins: 50;
 
46
            spacing: 0
 
47
 
 
48
            CharKey { label: "4"; }
 
49
            CharKey { label: "5"; }
 
50
            CharKey { label: "6"; }
 
51
        }
 
52
 
 
53
        Row {
 
54
            anchors.horizontalCenter: parent.horizontalCenter;
 
55
            anchors.margins: 50;
 
56
            spacing: 0
 
57
 
 
58
            CharKey { label: "7"; }
 
59
            CharKey { label: "8"; }
 
60
            CharKey { label: "9"; }
 
61
        }
 
62
 
 
63
        Row {
 
64
            anchors.horizontalCenter: parent.horizontalCenter;
 
65
            anchors.margins: 50;
 
66
            spacing: 0
 
67
 
 
68
            CharKey { label: "+"; annotation: "+*#"; extended: ["*", "#", "(", ")"] }
 
69
            CharKey { label: "0"; }
 
70
            BackspaceKey { padding: 0; }
 
71
        }
 
72
    } // column
 
73
}
 
74