Advertisement
Guest User

custom_hu.qml

a guest
Dec 12th, 2015
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.41 KB | None | 0 0
  1. /* Copyright (C) 2012-2013 Jolla Ltd.
  2. * HU keyboard modified from Jolla's EN keyboard; contact: Timur Kristóf <timur.kristof@gmail.com>
  3. * Modified to work with Sailfish 2.0 by Miklos Marton <miklos.marton@ni.com>
  4. *
  5. * Custom keyboard framework modifications
  6. * Split keyboard support and adaptation to SailfishOS 1.1.4
  7. * Copyright (c) 2014-2015 Janne Edelman <janne.edelman@gmail.com>
  8. *
  9. * Version 0.2
  10. */
  11.  
  12. import QtQuick 2.0
  13. import ".."
  14.  
  15. KeyboardLayout {
  16. splitSupported: true
  17.  
  18. KeyboardRow {
  19. CharacterKey { caption: "q"; captionShifted: "Q"; symView: "1"; symView2: "€" }
  20. CharacterKey { caption: "w"; captionShifted: "W"; symView: "2"; symView2: "£" }
  21. AccentedCharacterKey {
  22. caption: "e"
  23. captionShifted: "E"
  24. symView: "3"
  25. symView2: "$"
  26. accents: "eéë€"
  27. accentsShifted: "EÉË€"
  28. deadKeyAccents: "´¨éë"
  29. deadKeyAccentsShifted: "´¨ÉË"
  30. }
  31. CharacterKey { caption: "r"; captionShifted: "R"; symView: "4"; symView2: "¥" }
  32. CharacterKey { caption: "t"; captionShifted: "T"; symView: "5"; symView2: "₹"; accents: "tþ"; accentsShifted: "TÞ" }
  33. CharacterKey { caption: "z"; captionShifted: "Z"; symView: "6"; symView2: "%" }
  34. AccentedCharacterKey {
  35. caption: "u"
  36. captionShifted: "U"
  37. symView: "7"
  38. symView2: "<"
  39. accents: "uúüű"
  40. accentsShifted: "UÚÜŰ"
  41. deadKeyAccents: "´˝¨úűü"
  42. deadKeyAccentsShifted: "´˝¨ÚŰÜ"
  43. }
  44. AccentedCharacterKey {
  45. caption: "i"
  46. captionShifted: "I"
  47. symView: "8"
  48. symView2: ">"
  49. accents: "ií"
  50. accentsShifted: "IÍ"
  51. deadKeyAccents: "´¨íï"
  52. deadKeyAccentsShifted: "´¨ÍÏ"
  53. }
  54. AccentedCharacterKey {
  55. caption: "o"
  56. captionShifted: "O"
  57. symView: "9"
  58. symView2: "["
  59. accents: "oóöő"
  60. accentsShifted: "OÓÖŐ"
  61. deadKeyAccents: "´˝¨óőö"
  62. deadKeyAccentsShifted: "´˝¨ÓŐÖ"
  63. }
  64. CharacterKey { caption: "p"; captionShifted: "P"; symView: "0"; symView2: "]" }
  65. //CharacterKey { caption: "å"; captionShifted: "Å"; symView: "%"; symView2: "‰" }
  66. }
  67.  
  68. KeyboardRow {
  69. AccentedCharacterKey {
  70. caption: "a"
  71. captionShifted: "A"
  72. symView: "*"
  73. symView2: "`"
  74. accents: "aáä"
  75. accentsShifted: "AÁÄ"
  76. deadKeyAccents: "´¨áä"
  77. deadKeyAccentsShifted: "´¨ÁÄ"
  78. }
  79. CharacterKey { caption: "s"; captionShifted: "S"; symView: "#"; symView2: "^"; accents: "sšß$"; accentsShifted: "Š$"}
  80. CharacterKey { caption: "d"; captionShifted: "D"; symView: "+"; symView2: "|"; accents: "dð"; accentsShifted: "DÐ" }
  81. CharacterKey { caption: "f"; captionShifted: "F"; symView: "-"; symView2: "_" }
  82. CharacterKey { caption: "g"; captionShifted: "G"; symView: "="; symView2: "§" }
  83. CharacterKey { caption: "h"; captionShifted: "H"; symView: "("; symView2: "{" }
  84. CharacterKey { caption: "j"; captionShifted: "J"; symView: ")"; symView2: "}" }
  85. CharacterKey { caption: "k"; captionShifted: "K"; symView: "!"; symView2: "¡" }
  86. CharacterKey { caption: "l"; captionShifted: "L"; symView: "?"; symView2: "¿" }
  87. }
  88.  
  89. KeyboardRow {
  90. splitIndex: 5
  91.  
  92. ShiftKey {}
  93.  
  94. CharacterKey { caption: "y"; captionShifted: "Y"; symView: "@"; symView2: "«"; accents: "yý¥"; accentsShifted: "YÝ¥" }
  95. CharacterKey { caption: "x"; captionShifted: "X"; symView: "&"; symView2: "»" }
  96. CharacterKey { caption: "c"; captionShifted: "C"; symView: "/"; symView2: "\""; accents: "cç"; accentsShifted: "CÇ" }
  97. CharacterKey { caption: "v"; captionShifted: "V"; symView: "\\"; symView2: "“" }
  98. CharacterKey { caption: "b"; captionShifted: "B"; symView: "'"; symView2: "”" }
  99. CharacterKey { caption: "n"; captionShifted: "N"; symView: ";"; symView2: "„"; accents: "nñ"; accentsShifted: "NÑ" }
  100. CharacterKey { caption: "m"; captionShifted: "M"; symView: ":"; symView2: "~" }
  101.  
  102. BackspaceKey {}
  103. }
  104.  
  105. SpacebarRow {}
  106. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement