View Single Post
anidel's Avatar
Posts: 1,743 | Thanked: 1,231 times | Joined on Jul 2006 @ Twickenham, UK
#4
On a similar note, one can edit a layout in layouts/<lang>.qml and add a row of numbers at the top (very useful when entering password), like:

Code:
KeyboardRow {
        CharacterKey { caption: "1"; captionShifted: "1"; symView: "1"; symView2: "1" }
        CharacterKey { caption: "2"; captionShifted: "2"; symView: "2"; symView2: "2" }
        CharacterKey { caption: "3"; captionShifted: "3"; symView: "3"; symView2: "3"; accents: "eèéêë€"; accentsShifted: "EÈÉÊË€" }
        CharacterKey { caption: "4"; captionShifted: "4"; symView: "4"; symView2: "4" }
        CharacterKey { caption: "5"; captionShifted: "5"; symView: "5"; symView2: "5"; accents: "tþ"; accentsShifted: "TÞ" }
        CharacterKey { caption: "6"; captionShifted: "6"; symView: "6"; symView2: "6"; accents: "yý¥"; accentsShifted: "YÝ¥" }
        CharacterKey { caption: "7"; captionShifted: "7"; symView: "7"; symView2: "7"; accents: "uűûùúü"; accentsShifted: "UŰÛÙÚÜ" }
        CharacterKey { caption: "8"; captionShifted: "8"; symView: "8"; symView2: "8"; accents: "iîïìí"; accentsShifted: "IÎÏÌÍ" }
        CharacterKey { caption: "9"; captionShifted: "9"; symView: "9"; symView2: "9"; accents: "oőøöôòó"; accentsShifted: "OŐØÖÔÒÓ" }
        CharacterKey { caption: "0"; captionShifted: "0"; symView: "0"; symView2: "0" }
    }
Just at the beginning of the KeyboardLayout section.

Of course it is just a quick hack.
Ideally the row of numbers should appear only when entering password and should disappear when switching to the number/symbols view.
 

The Following 2 Users Say Thank You to anidel For This Useful Post: