~cherojeong/ubuntu-keyboard/korean-layout

« back to all changes in this revision

Viewing changes to qml/languages/pt/Keyboard_pt_url_search.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: "languages/Keyboard_symbols.qml"
 
25
 
 
26
    Column {
 
27
        id: c1
 
28
        anchors.fill: parent
 
29
        spacing: 0
 
30
 
 
31
        Row {
 
32
            anchors.horizontalCenter: parent.horizontalCenter;
 
33
            spacing: 0
 
34
 
 
35
            CharKey { label: "q"; shifted: "Q"; }
 
36
            CharKey { label: "w"; shifted: "W"; }
 
37
            CharKey { label: "e"; shifted: "E"; extended: ["é","ê","è","ë","€"]; extendedShifted: ["É","Ê","È","Ë","€"] }
 
38
            CharKey { label: "r"; shifted: "R"; }
 
39
            CharKey { label: "t"; shifted: "T"; extended: ["þ"]; extendedShifted: ["Þ"] }
 
40
            CharKey { label: "y"; shifted: "Y"; extended: ["ý", "¥", "ÿ"]; extendedShifted: ["Ý", "¥", "Ÿ"] }
 
41
            CharKey { label: "u"; shifted: "U"; extended: ["ú","û","ù","ü"]; extendedShifted: ["Ú","Û","Ù","Ü"] }
 
42
            CharKey { label: "i"; shifted: "I"; extended: ["í","î","ì","ï"]; extendedShifted: ["Í","Î","Ì","Ï"] }
 
43
            CharKey { label: "o"; shifted: "O"; extended: ["ó","õ","ô","º","ò","ö"]; extendedShifted: ["Ó","Õ","Ô","º","Ò","Ö"] }
 
44
            CharKey { label: "p"; shifted: "P"; }
 
45
        }
 
46
 
 
47
        Row {
 
48
            anchors.horizontalCenter: parent.horizontalCenter;
 
49
            spacing: 0
 
50
 
 
51
            CharKey { label: "a"; shifted: "A"; extended: ["ã","á","à","â","ª","ä","å","æ"]; extendedShifted: ["Ã","Á","À","Â","ª","Ä","Å","Æ"] }
 
52
            CharKey { label: "s"; shifted: "S"; extended: ["ß","$"]; extendedShifted: ["$"] }
 
53
            CharKey { label: "d"; shifted: "D"; extended: ["ð"]; extendedShifted: ["Ð"] }
 
54
            CharKey { label: "f"; shifted: "F"; }
 
55
            CharKey { label: "g"; shifted: "G"; }
 
56
            CharKey { label: "h"; shifted: "H"; }
 
57
            CharKey { label: "j"; shifted: "J"; }
 
58
            CharKey { label: "k"; shifted: "K"; }
 
59
            CharKey { label: "l"; shifted: "L"; }
 
60
            CharKey { label: "ç"; shifted: "Ç"; }
 
61
        }
 
62
 
 
63
        Row {
 
64
            anchors.horizontalCenter: parent.horizontalCenter;
 
65
            spacing: 0
 
66
 
 
67
            ShiftKey {}
 
68
            CharKey { label: "z"; shifted: "Z"; }
 
69
            CharKey { label: "x"; shifted: "X"; }
 
70
            CharKey { label: "c"; shifted: "C"; extended: ["ç"]; extendedShifted: ["Ç"] }
 
71
            CharKey { label: "v"; shifted: "V"; }
 
72
            CharKey { label: "b"; shifted: "B"; }
 
73
            CharKey { label: "n"; shifted: "N"; extended: ["ñ"]; extendedShifted: ["Ñ"] }
 
74
            CharKey { label: "m"; shifted: "M"; }
 
75
            BackspaceKey {}
 
76
        }
 
77
 
 
78
        Item {
 
79
            anchors.left: parent.left
 
80
            anchors.right: parent.right
 
81
 
 
82
            height: panel.keyHeight;
 
83
 
 
84
            SymbolShiftKey { id: symShiftKey;                            anchors.left: parent.left; }
 
85
            CharKey        { id: slashKey;    label: "/"; shifted: "/";  anchors.left: symShiftKey.right; }
 
86
            SpaceKey       { id: spaceKey;                               anchors.left: slashKey.right; anchors.right: urlKey.left; noMagnifier: true }
 
87
            UrlKey         { id: urlKey; label: ".br"; extended: [".pt", ".mz", ".ao", ".gw", ".tl"]; anchors.right: dotKey.left; }
 
88
            CharKey        { id: dotKey;      label: "."; shifted: ".";  anchors.right: enterKey.left; }
 
89
            ReturnKey      { id: enterKey;                               anchors.right: parent.right }
 
90
        }
 
91
    } // column
 
92
}