/usr/share/maliit/plugins/com/ubuntu/lib/zh/Keyboard_zh_cn_pinyin.qml is in ubuntu-keyboard-chinese-pinyin 0.99.trunk.phablet2+14.04.20140415-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | /*
* Copyright 2013 Canonical Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import "../../keys"
KeyPad {
anchors.fill: parent
content: c1
symbols: "languages/Keyboard_symbols.qml"
Column {
id: c1
anchors.fill: parent
spacing: 0
Row {
anchors.horizontalCenter: parent.horizontalCenter;
spacing: 0
CharKey { label: "q"; shifted: "Q"; }
CharKey { label: "w"; shifted: "W"; }
CharKey { label: "e"; shifted: "E"; }
CharKey { label: "r"; shifted: "R"; }
CharKey { label: "t"; shifted: "T"; }
CharKey { label: "y"; shifted: "Y"; }
CharKey { label: "u"; shifted: "U"; }
CharKey { label: "i"; shifted: "I"; }
CharKey { label: "o"; shifted: "O"; }
CharKey { label: "p"; shifted: "P"; }
}
Row {
anchors.horizontalCenter: parent.horizontalCenter;
spacing: 0
CharKey { label: "a"; shifted: "A"; }
CharKey { label: "s"; shifted: "S"; }
CharKey { label: "d"; shifted: "D"; }
CharKey { label: "f"; shifted: "F"; }
CharKey { label: "g"; shifted: "G"; }
CharKey { label: "h"; shifted: "H"; }
CharKey { label: "j"; shifted: "J"; }
CharKey { label: "k"; shifted: "K"; }
CharKey { label: "l"; shifted: "L"; }
}
Row {
anchors.horizontalCenter: parent.horizontalCenter;
spacing: 0
ShiftKey {}
CharKey { label: "z"; shifted: "Z"; }
CharKey { label: "x"; shifted: "X"; }
CharKey { label: "c"; shifted: "C"; }
CharKey { label: "v"; shifted: "V"; }
CharKey { label: "b"; shifted: "B"; }
CharKey { label: "n"; shifted: "N"; }
CharKey { label: "m"; shifted: "M"; }
BackspaceKey {}
}
Item {
anchors.left: parent.left
anchors.right: parent.right
height: panel.keyHeight;
SymbolShiftKey { id: symShiftKey; label: "符号"; anchors.left: parent.left; }
LanguageKey { id: languageMenuButton; anchors.left: symShiftKey.right; }
CharKey { id: commaKey; label: ","; shifted: ","; anchors.left: languageMenuButton.right; }
SpaceKey { id: spaceKey; anchors.left: commaKey.right; anchors.right: dotKey.left; noMagnifier: true }
CharKey { id: dotKey; label: "。"; shifted: "。"; anchors.right: enterKey.left; }
ReturnKey { id: enterKey; anchors.right: parent.right }
}
} // column
}
|