mirror of
https://github.com/RustyRaptor/plasma-keyboard.git
synced 2026-12-03 15:55:19 -07:00
Wrap keyboard layouts in KeyboardLayoutDefinition
Currently layouts are created with the KeyboardLayout component. When we switch to alternate layouts (i.e. numpad, symbols), the Keyboard switches out the KeyboardLayout completely to the alternate layout's KeyboardLayout. We currently don't have a "holding" object for a keyboard layout, preventing us from having a shared TextComposer session between all of the "sublayouts" within a layout (ex. QWERTY <-> symbols <-> numpad) This is problematic for CJK because the TextComposer gets reset when we switch to other pages, like the symbols page. --- This MR introduces a "KeyboardLayoutDefinition" holding component for layouts, so that we can retain state within a keyboard layout. In this case, we keep the TextComposer on the KeyboardLayoutDefinition rather than the KeyboardLayout so it isn't reset when we switch to other keyboard pages. I also replaced the JSON-specified alternate layouts with it now being specified on the KeyboardLayoutDefinition, which makes things a bit more centralized. --- Kind of annoying that I had to do this after porting the layouts, but this was a big oversight I missed that came up during CJK testing :/
This commit is contained in:
1 parent
79d4c88c96
commit
c4fe01beaf
104 files changed
+2452
-2351
No files matched your search
@@ -8,65 +8,73 @@ import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardLayoutDefinition {
|
||||
textComposer: AmharicTextComposer {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "ሀ" }
|
||||
Key { text: "ለ" }
|
||||
Key { text: "ሐ" }
|
||||
Key { text: "መ" }
|
||||
Key { text: "ሠ" }
|
||||
Key { text: "ረ" }
|
||||
Key { text: "ሰ" }
|
||||
Key { text: "ሸ" }
|
||||
Key { text: "ቀ"; alternativeKeys: "\u1248\u124A\u124B\u124C\u124D"; smallText: "ቈ" }
|
||||
Key { text: "በ" }
|
||||
Key { text: "ቨ" }
|
||||
Key { text: "ተ" }
|
||||
}
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "ቸ" }
|
||||
Key { text: "ኀ"; alternativeKeys: "\u1288\u128A\u128B\u128C\u128D"; smallText: "ኈ" }
|
||||
Key { text: "ነ" }
|
||||
Key { text: "ኘ" }
|
||||
Key { text: "አ" }
|
||||
Key { text: "ከ"; alternativeKeys: "\u12B0\u12B2\u12B3\u12B4\u12B5"; smallText: "ኰ" }
|
||||
Key { text: "ኸ"; alternativeKeys: "\u12C0\u12C2\u12C3\u12C4\u12C5"; smallText: "ዀ" }
|
||||
Key { text: "ወ" }
|
||||
Key { text: "ዐ" }
|
||||
Key { text: "ዘ" }
|
||||
Key { text: "ዠ" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "የ" }
|
||||
Key { text: "ደ" }
|
||||
Key { text: "ጀ" }
|
||||
Key { text: "ገ"; alternativeKeys: "\u1310\u1312\u1313\u1314\u1315"; smallText: "ጐ" }
|
||||
Key { text: "ጠ" }
|
||||
Key { text: "ጨ" }
|
||||
Key { text: "ጰ" }
|
||||
Key { text: "ጸ" }
|
||||
Key { text: "ፀ" }
|
||||
Key { text: "ፈ" }
|
||||
Key { text: "ፐ" }
|
||||
BackspaceKey {}
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "ሀ" }
|
||||
Key { text: "ለ" }
|
||||
Key { text: "ሐ" }
|
||||
Key { text: "መ" }
|
||||
Key { text: "ሠ" }
|
||||
Key { text: "ረ" }
|
||||
Key { text: "ሰ" }
|
||||
Key { text: "ሸ" }
|
||||
Key { text: "ቀ"; alternativeKeys: "\u1248\u124A\u124B\u124C\u124D"; smallText: "ቈ" }
|
||||
Key { text: "በ" }
|
||||
Key { text: "ቨ" }
|
||||
Key { text: "ተ" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5; displayText: "፩፪፫" }
|
||||
ChangeLanguageKey {}
|
||||
Key { text: "፣"; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 5 }
|
||||
Key { text: "።"; alternativeKeys: "።፡፤!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "ቸ" }
|
||||
Key { text: "ኀ"; alternativeKeys: "\u1288\u128A\u128B\u128C\u128D"; smallText: "ኈ" }
|
||||
Key { text: "ነ" }
|
||||
Key { text: "ኘ" }
|
||||
Key { text: "አ" }
|
||||
Key { text: "ከ"; alternativeKeys: "\u12B0\u12B2\u12B3\u12B4\u12B5"; smallText: "ኰ" }
|
||||
Key { text: "ኸ"; alternativeKeys: "\u12C0\u12C2\u12C3\u12C4\u12C5"; smallText: "ዀ" }
|
||||
Key { text: "ወ" }
|
||||
Key { text: "ዐ" }
|
||||
Key { text: "ዘ" }
|
||||
Key { text: "ዠ" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "የ" }
|
||||
Key { text: "ደ" }
|
||||
Key { text: "ጀ" }
|
||||
Key { text: "ገ"; alternativeKeys: "\u1310\u1312\u1313\u1314\u1315"; smallText: "ጐ" }
|
||||
Key { text: "ጠ" }
|
||||
Key { text: "ጨ" }
|
||||
Key { text: "ጰ" }
|
||||
Key { text: "ጸ" }
|
||||
Key { text: "ፀ" }
|
||||
Key { text: "ፈ" }
|
||||
Key { text: "ፐ" }
|
||||
BackspaceKey {}
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5; displayText: "፩፪፫" }
|
||||
ChangeLanguageKey {}
|
||||
Key { text: "፣"; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 5 }
|
||||
Key { text: "።"; alternativeKeys: "።፡፤!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -21,8 +21,6 @@ KeyboardLayoutLoader {
|
||||
Component {
|
||||
id: page1
|
||||
KeyboardLayout {
|
||||
textComposer: DirectTextComposer {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "፩"; alternativeKeys: "1\u1369\u1373"; smallText: "፳" }
|
||||
Key { text: "፪"; alternativeKeys: "2\u136A\u1374"; smallText: "፴" }
|
||||
@@ -77,8 +75,6 @@ KeyboardLayoutLoader {
|
||||
Component {
|
||||
id: page2
|
||||
KeyboardLayout {
|
||||
textComposer: DirectTextComposer {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_AsciiTilde; text: "~" }
|
||||
Key { key: Qt.Key_QuoteLeft; text: "`" }
|
||||
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Ethiopic.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Ethiopic.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -6,64 +6,72 @@ import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardLayoutDefinition {
|
||||
textComposer: DirectTextComposer {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "ض"; alternativeKeys: "ض١1"; smallText: "١" }
|
||||
Key { text: "ص"; alternativeKeys: "ص٢2"; smallText: "٢" }
|
||||
Key { text: "ث"; alternativeKeys: "ث٣3"; smallText: "٣" }
|
||||
Key { text: "ق"; alternativeKeys: "ق٤4"; smallText: "٤" }
|
||||
Key { text: "ف"; alternativeKeys: "ف٥5"; smallText: "٥" }
|
||||
Key { text: "غ"; alternativeKeys: "غ٦6"; smallText: "٦" }
|
||||
Key { text: "ع"; alternativeKeys: "ع٧7"; smallText: "٧" }
|
||||
Key { text: "ه"; alternativeKeys: "ه٨8"; smallText: "٨" }
|
||||
Key { text: "خ"; alternativeKeys: "خ٩9"; smallText: "٩" }
|
||||
Key { text: "ح"; alternativeKeys: "ح٠0"; smallText: "٠" }
|
||||
Key { text: "ج"; alternativeKeys: "\u062C\u0686" }
|
||||
Key { text: "د"; alternativeKeys: "\u062F\uFDFC" }
|
||||
}
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "ش" }
|
||||
Key { text: "س" }
|
||||
Key { text: "ي"; alternativeKeys: "يئى" }
|
||||
Key { text: "ب"; alternativeKeys: "\u0628\u067E" }
|
||||
Key { text: "ل"; alternativeKeys: ["\u0644\u0623", "\u0644\u0622", "\u0644", "\u0644\u0627", "\u0644\u0625"] }
|
||||
Key { text: "ا"; alternativeKeys: "\u0625\u0627\u0623\u0622\u0671" }
|
||||
Key { text: "ت" }
|
||||
Key { text: "ن" }
|
||||
Key { text: "م" }
|
||||
Key { text: "ك"; alternativeKeys: "\u0643\u06AF" }
|
||||
Key { text: "ذ" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "ئ" }
|
||||
Key { text: "ء" }
|
||||
Key { text: "ؤ" }
|
||||
Key { text: "ر" }
|
||||
Key { text: "ى"; alternativeKeys: "ىئ" }
|
||||
Key { text: "ة" }
|
||||
Key { text: "و"; alternativeKeys: "وؤ" }
|
||||
Key { text: "ز" }
|
||||
Key { text: "ط" }
|
||||
Key { text: "ظ"; alternativeKeys: "\u064E\u064C\u0650\u064D\u0651\u0652\u0670\u0653\u0640\u0638\u064B\u064F"; smallText: "◌ِ " }
|
||||
BackspaceKey {}
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "ض"; alternativeKeys: "ض١1"; smallText: "١" }
|
||||
Key { text: "ص"; alternativeKeys: "ص٢2"; smallText: "٢" }
|
||||
Key { text: "ث"; alternativeKeys: "ث٣3"; smallText: "٣" }
|
||||
Key { text: "ق"; alternativeKeys: "ق٤4"; smallText: "٤" }
|
||||
Key { text: "ف"; alternativeKeys: "ف٥5"; smallText: "٥" }
|
||||
Key { text: "غ"; alternativeKeys: "غ٦6"; smallText: "٦" }
|
||||
Key { text: "ع"; alternativeKeys: "ع٧7"; smallText: "٧" }
|
||||
Key { text: "ه"; alternativeKeys: "ه٨8"; smallText: "٨" }
|
||||
Key { text: "خ"; alternativeKeys: "خ٩9"; smallText: "٩" }
|
||||
Key { text: "ح"; alternativeKeys: "ح٠0"; smallText: "٠" }
|
||||
Key { text: "ج"; alternativeKeys: "\u062C\u0686" }
|
||||
Key { text: "د"; alternativeKeys: "\u062F\uFDFC" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5; displayText: "١٢٣؟" }
|
||||
ChangeLanguageKey {}
|
||||
Key { text: "،"; alternativeKeys: "،٬,"; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 5 }
|
||||
Key { text: "."; alternativeKeys: "!,،؛.؟"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "ش" }
|
||||
Key { text: "س" }
|
||||
Key { text: "ي"; alternativeKeys: "يئى" }
|
||||
Key { text: "ب"; alternativeKeys: "\u0628\u067E" }
|
||||
Key { text: "ل"; alternativeKeys: ["\u0644\u0623", "\u0644\u0622", "\u0644", "\u0644\u0627", "\u0644\u0625"] }
|
||||
Key { text: "ا"; alternativeKeys: "\u0625\u0627\u0623\u0622\u0671" }
|
||||
Key { text: "ت" }
|
||||
Key { text: "ن" }
|
||||
Key { text: "م" }
|
||||
Key { text: "ك"; alternativeKeys: "\u0643\u06AF" }
|
||||
Key { text: "ذ" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "ئ" }
|
||||
Key { text: "ء" }
|
||||
Key { text: "ؤ" }
|
||||
Key { text: "ر" }
|
||||
Key { text: "ى"; alternativeKeys: "ىئ" }
|
||||
Key { text: "ة" }
|
||||
Key { text: "و"; alternativeKeys: "وؤ" }
|
||||
Key { text: "ز" }
|
||||
Key { text: "ط" }
|
||||
Key { text: "ظ"; alternativeKeys: "\u064E\u064C\u0650\u064D\u0651\u0652\u0670\u0653\u0640\u0638\u064B\u064F"; smallText: "◌ِ " }
|
||||
BackspaceKey {}
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5; displayText: "١٢٣؟" }
|
||||
ChangeLanguageKey {}
|
||||
Key { text: "،"; alternativeKeys: "،٬,"; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 5 }
|
||||
Key { text: "."; alternativeKeys: "!,،؛.؟"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -19,8 +19,6 @@ KeyboardLayoutLoader {
|
||||
Component {
|
||||
id: page1
|
||||
KeyboardLayout {
|
||||
textComposer: DirectTextComposer {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { key: 0x0661; text: "١"; alternativeKeys: "\u06611" }
|
||||
Key { key: 0x0662; text: "٢"; alternativeKeys: "\u06622" }
|
||||
@@ -75,8 +73,6 @@ KeyboardLayoutLoader {
|
||||
Component {
|
||||
id: page2
|
||||
KeyboardLayout {
|
||||
textComposer: DirectTextComposer {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_AsciiTilde; text: "~" }
|
||||
Key { key: Qt.Key_QuoteLeft; text: "`" }
|
||||
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Arabic.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Arabic.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,58 +5,66 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
readonly property bool emailOrUrl: inputEngine && (inputEngine.inputMethodHints & (Qt.ImhEmailCharactersOnly | Qt.ImhUrlCharactersOnly))
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "êe3ëèé"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "ŕr4ř"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "ţt5ŧť"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "ÿy6ýŷ"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "űūũûüu7ùú"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "îïīĩi8ìí"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "œøõôöòóo9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
readonly property bool emailOrUrl: inputEngine && (inputEngine.inputMethodHints & (Qt.ImhEmailCharactersOnly | Qt.ImhUrlCharactersOnly))
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: root.emailOrUrl ? "a@äåãâàá" : "aäåãâàá" }
|
||||
Key { text: "s"; alternativeKeys: "šsşś" }
|
||||
Key { text: "d"; alternativeKeys: "dđď" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g"; alternativeKeys: "ġgģĝğ" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l"; alternativeKeys: "ĺŀłļľl" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "êe3ëèé"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "ŕr4ř"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "ţt5ŧť"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "ÿy6ýŷ"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "űūũûüu7ùú"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "îïīĩi8ìí"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "œøõôöòóo9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z"; alternativeKeys: "zžż" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "çcċčć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n"; alternativeKeys: "ņńnň" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: root.emailOrUrl ? "a@äåãâàá" : "aäåãâàá" }
|
||||
Key { text: "s"; alternativeKeys: "šsşś" }
|
||||
Key { text: "d"; alternativeKeys: "dđď" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g"; alternativeKeys: "ġgģĝğ" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l"; alternativeKeys: "ĺŀłļľl" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z"; alternativeKeys: "zžż" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "çcċčć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n"; alternativeKeys: "ņńnň" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,58 +5,66 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "я"; alternativeKeys: "я1"; smallText: "1" }
|
||||
Key { text: "в"; alternativeKeys: "в2"; smallText: "2" }
|
||||
Key { text: "е"; alternativeKeys: "е3"; smallText: "3" }
|
||||
Key { text: "р"; alternativeKeys: "р4"; smallText: "4" }
|
||||
Key { text: "т"; alternativeKeys: "т5"; smallText: "5" }
|
||||
Key { text: "ъ"; alternativeKeys: "ъ6"; smallText: "6" }
|
||||
Key { text: "у"; alternativeKeys: "у7"; smallText: "7" }
|
||||
Key { text: "и"; alternativeKeys: "и8ѝ"; smallText: "8" }
|
||||
Key { text: "о"; alternativeKeys: "о9"; smallText: "9" }
|
||||
Key { text: "п"; alternativeKeys: "п0"; smallText: "0" }
|
||||
Key { text: "ч" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "а" }
|
||||
Key { text: "с" }
|
||||
Key { text: "д" }
|
||||
Key { text: "ф" }
|
||||
Key { text: "г" }
|
||||
Key { text: "х" }
|
||||
Key { text: "й" }
|
||||
Key { text: "к" }
|
||||
Key { text: "л" }
|
||||
Key { text: "ш" }
|
||||
Key { text: "щ" }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "я"; alternativeKeys: "я1"; smallText: "1" }
|
||||
Key { text: "в"; alternativeKeys: "в2"; smallText: "2" }
|
||||
Key { text: "е"; alternativeKeys: "е3"; smallText: "3" }
|
||||
Key { text: "р"; alternativeKeys: "р4"; smallText: "4" }
|
||||
Key { text: "т"; alternativeKeys: "т5"; smallText: "5" }
|
||||
Key { text: "ъ"; alternativeKeys: "ъ6"; smallText: "6" }
|
||||
Key { text: "у"; alternativeKeys: "у7"; smallText: "7" }
|
||||
Key { text: "и"; alternativeKeys: "и8ѝ"; smallText: "8" }
|
||||
Key { text: "о"; alternativeKeys: "о9"; smallText: "9" }
|
||||
Key { text: "п"; alternativeKeys: "п0"; smallText: "0" }
|
||||
Key { text: "ч" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "з" }
|
||||
Key { text: "ь" }
|
||||
Key { text: "ц" }
|
||||
Key { text: "ж" }
|
||||
Key { text: "б" }
|
||||
Key { text: "н" }
|
||||
Key { text: "м" }
|
||||
Key { text: "ю" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "а" }
|
||||
Key { text: "с" }
|
||||
Key { text: "д" }
|
||||
Key { text: "ф" }
|
||||
Key { text: "г" }
|
||||
Key { text: "х" }
|
||||
Key { text: "й" }
|
||||
Key { text: "к" }
|
||||
Key { text: "л" }
|
||||
Key { text: "ш" }
|
||||
Key { text: "щ" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "з" }
|
||||
Key { text: "ь" }
|
||||
Key { text: "ц" }
|
||||
Key { text: "ж" }
|
||||
Key { text: "б" }
|
||||
Key { text: "н" }
|
||||
Key { text: "м" }
|
||||
Key { text: "ю" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Phonetic.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Phonetic.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
@@ -38,13 +32,7 @@
|
||||
"Name": "Фонетична"
|
||||
},
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Latin.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Latin.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,56 +5,64 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3éě"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4ř"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5ť"; smallText: "5" }
|
||||
Key { text: "z"; alternativeKeys: "z6ž"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7úů"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8í"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9óö"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aáäå" }
|
||||
Key { text: "s"; alternativeKeys: "sš" }
|
||||
Key { text: "d"; alternativeKeys: "dď" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3éě"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4ř"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5ť"; smallText: "5" }
|
||||
Key { text: "z"; alternativeKeys: "z6ž"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7úů"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8í"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9óö"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "y"; alternativeKeys: "yý" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "cčć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n"; alternativeKeys: "nňń" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aáäå" }
|
||||
Key { text: "s"; alternativeKeys: "sš" }
|
||||
Key { text: "d"; alternativeKeys: "dď" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "y"; alternativeKeys: "yý" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "cčć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n"; alternativeKeys: "nňń" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwertz.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwertz.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,57 +5,65 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3é"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8í"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9ó"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
Key { text: "å" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "aá" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "æ"; alternativeKeys: "æǽ" }
|
||||
Key { text: "ø"; alternativeKeys: "øǿ" }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3é"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8í"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9ó"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
Key { text: "å" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 2 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 2 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "aá" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "æ"; alternativeKeys: "æǽ" }
|
||||
Key { text: "ø"; alternativeKeys: "øǿ" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 2 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 2 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,57 +5,65 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "z"; alternativeKeys: "z6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
Key { text: "ü" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "a" }
|
||||
Key { text: "s"; alternativeKeys: "sß" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ö" }
|
||||
Key { text: "ä" }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "z"; alternativeKeys: "z6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
Key { text: "ü" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 2 }
|
||||
Key { text: "y" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 2 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "a" }
|
||||
Key { text: "s"; alternativeKeys: "sß" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ö" }
|
||||
Key { text: "ä" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 2 }
|
||||
Key { text: "y" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 2 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwertz.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwertz.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -87,7 +87,6 @@ KeyboardLayout {
|
||||
visible: root.inputModeKeyVisible
|
||||
height: visible ? implicitHeight : 0
|
||||
weight: visible ? root.defaultKeyWeight : 0
|
||||
textComposer: root.textComposer
|
||||
modes: root.inputModeKeyModes
|
||||
}
|
||||
SpaceKey { weight: root.defaultKeyWeight * (root.inputModeKeyVisible ? 4 : 5) }
|
||||
|
||||
@@ -193,7 +193,6 @@ KeyboardLayout {
|
||||
visible: root.inputModeKeyVisible
|
||||
height: visible ? implicitHeight : 0
|
||||
weight: visible ? root.defaultKeyWeight : 0
|
||||
textComposer: root.textComposer
|
||||
modes: root.inputModeKeyModes
|
||||
}
|
||||
SpaceKey { weight: root.defaultKeyWeight * (root.inputModeKeyVisible ? 6.5 : 7.5) }
|
||||
|
||||
@@ -18,7 +18,6 @@ KeyboardLayoutLoader {
|
||||
Component {
|
||||
id: page1
|
||||
KeyboardLayout {
|
||||
textComposer: DirectTextComposer {}
|
||||
readonly property real functionKeyWeight: defaultKeyWeight * 1.5
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_1; text: "1" }
|
||||
@@ -79,7 +78,6 @@ KeyboardLayoutLoader {
|
||||
Component {
|
||||
id: page2
|
||||
KeyboardLayout {
|
||||
textComposer: DirectTextComposer {}
|
||||
readonly property real functionKeyWeight: defaultKeyWeight * 1.5
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_AsciiTilde; text: "~" }
|
||||
|
||||
@@ -5,56 +5,64 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: ";"; alternativeKeys: ";1:"; smallText: "1" }
|
||||
Key { text: "ς"; alternativeKeys: "ς2"; smallText: "2" }
|
||||
Key { text: "ε"; alternativeKeys: "ε3έ"; smallText: "3" }
|
||||
Key { text: "ρ"; alternativeKeys: "ρ4"; smallText: "4" }
|
||||
Key { text: "τ"; alternativeKeys: "τ5"; smallText: "5" }
|
||||
Key { text: "υ"; alternativeKeys: "υ6ύϋΰ"; smallText: "6" }
|
||||
Key { text: "θ"; alternativeKeys: "θ7"; smallText: "7" }
|
||||
Key { text: "ι"; alternativeKeys: "ι8ίϊΐ"; smallText: "8" }
|
||||
Key { text: "ο"; alternativeKeys: "ο9ό"; smallText: "9" }
|
||||
Key { text: "π"; alternativeKeys: "π0"; smallText: "0" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "α"; alternativeKeys: "αά" }
|
||||
Key { text: "σ" }
|
||||
Key { text: "δ" }
|
||||
Key { text: "φ" }
|
||||
Key { text: "γ" }
|
||||
Key { text: "η"; alternativeKeys: "ηή" }
|
||||
Key { text: "ξ" }
|
||||
Key { text: "κ" }
|
||||
Key { text: "λ" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: ";"; alternativeKeys: ";1:"; smallText: "1" }
|
||||
Key { text: "ς"; alternativeKeys: "ς2"; smallText: "2" }
|
||||
Key { text: "ε"; alternativeKeys: "ε3έ"; smallText: "3" }
|
||||
Key { text: "ρ"; alternativeKeys: "ρ4"; smallText: "4" }
|
||||
Key { text: "τ"; alternativeKeys: "τ5"; smallText: "5" }
|
||||
Key { text: "υ"; alternativeKeys: "υ6ύϋΰ"; smallText: "6" }
|
||||
Key { text: "θ"; alternativeKeys: "θ7"; smallText: "7" }
|
||||
Key { text: "ι"; alternativeKeys: "ι8ίϊΐ"; smallText: "8" }
|
||||
Key { text: "ο"; alternativeKeys: "ο9ό"; smallText: "9" }
|
||||
Key { text: "π"; alternativeKeys: "π0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "ζ" }
|
||||
Key { text: "χ" }
|
||||
Key { text: "ψ" }
|
||||
Key { text: "ω"; alternativeKeys: "ωώ" }
|
||||
Key { text: "β" }
|
||||
Key { text: "ν" }
|
||||
Key { text: "μ" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "α"; alternativeKeys: "αά" }
|
||||
Key { text: "σ" }
|
||||
Key { text: "δ" }
|
||||
Key { text: "φ" }
|
||||
Key { text: "γ" }
|
||||
Key { text: "η"; alternativeKeys: "ηή" }
|
||||
Key { text: "ξ" }
|
||||
Key { text: "κ" }
|
||||
Key { text: "λ" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "ζ" }
|
||||
Key { text: "χ" }
|
||||
Key { text: "ψ" }
|
||||
Key { text: "ω"; alternativeKeys: "ωώ" }
|
||||
Key { text: "β" }
|
||||
Key { text: "ν" }
|
||||
Key { text: "μ" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,58 +5,66 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
readonly property bool emailOrUrl: inputEngine && (inputEngine.inputMethodHints & (Qt.ImhEmailCharactersOnly | Qt.ImhUrlCharactersOnly))
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "êe3ëèé"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "ŕr4ř"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "ţt5ŧť"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "ÿy6ýŷ"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "űūũûüu7ùú"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "îïīĩi8ìí"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "œøõôöòóo9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
readonly property bool emailOrUrl: inputEngine && (inputEngine.inputMethodHints & (Qt.ImhEmailCharactersOnly | Qt.ImhUrlCharactersOnly))
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: root.emailOrUrl ? "a@äåãâàá" : "aäåãâàá" }
|
||||
Key { text: "s"; alternativeKeys: "šsşś" }
|
||||
Key { text: "d"; alternativeKeys: "dđď" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g"; alternativeKeys: "ġgģĝğ" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l"; alternativeKeys: "ĺŀłļľl" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "êe3ëèé"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "ŕr4ř"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "ţt5ŧť"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "ÿy6ýŷ"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "űūũûüu7ùú"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "îïīĩi8ìí"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "œøõôöòóo9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z"; alternativeKeys: "zžż" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "çcċčć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n"; alternativeKeys: "ņńnň" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: root.emailOrUrl ? "a@äåãâàá" : "aäåãâàá" }
|
||||
Key { text: "s"; alternativeKeys: "šsşś" }
|
||||
Key { text: "d"; alternativeKeys: "dđď" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g"; alternativeKeys: "ġgģĝğ" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l"; alternativeKeys: "ĺŀłļľl" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z"; alternativeKeys: "zžż" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "çcċčć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n"; alternativeKeys: "ņńnň" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Greek.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Greek.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
@@ -38,13 +32,7 @@
|
||||
"Name": "Ελληνικά"
|
||||
},
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Latin.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Latin.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -2,5 +2,14 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||
|
||||
import org.kde.plasma.keyboard.layouts.defaultplugin as SharedLayouts
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
SharedLayouts.Desktop {}
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
SharedLayouts.Desktop {}
|
||||
}
|
||||
@@ -2,5 +2,14 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||
|
||||
import org.kde.plasma.keyboard.layouts.defaultplugin as SharedLayouts
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
SharedLayouts.FullDesktop {}
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
SharedLayouts.FullDesktop {}
|
||||
}
|
||||
@@ -2,5 +2,14 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||
|
||||
import org.kde.plasma.keyboard.layouts.defaultplugin as SharedLayouts
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
SharedLayouts.Dvorak {}
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
SharedLayouts.Dvorak {}
|
||||
}
|
||||
@@ -2,5 +2,14 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||
|
||||
import org.kde.plasma.keyboard.layouts.defaultplugin as SharedLayouts
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
SharedLayouts.Qwerty {}
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
SharedLayouts.Qwerty {}
|
||||
}
|
||||
@@ -23,13 +23,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "MobileQwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "MobileQwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
@@ -39,13 +33,7 @@
|
||||
"Name": "QWERTY"
|
||||
},
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "DesktopQwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "DesktopQwerty.qml",
|
||||
"FormFactors": [
|
||||
"desktop"
|
||||
],
|
||||
@@ -53,13 +41,7 @@
|
||||
"Name": "QWERTY (Desktop)"
|
||||
},
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "FullQwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "FullQwerty.qml",
|
||||
"FormFactors": [
|
||||
"desktop"
|
||||
],
|
||||
@@ -67,13 +49,7 @@
|
||||
"Name": "QWERTY (Full Desktop)"
|
||||
},
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "MobileDvorak.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "MobileDvorak.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -4,55 +4,63 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "ŝ"; alternativeKeys: "ŝ1q"; smallText: "1" }
|
||||
Key { text: "ĝ"; alternativeKeys: "ĝ2w"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3èé"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "ŭ"; alternativeKeys: "ŭ6y"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7ùú"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8ìí"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9òó"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "aàá" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h"; alternativeKeys: "ĥ" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ĵ" }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "ŝ"; alternativeKeys: "ŝ1q"; smallText: "1" }
|
||||
Key { text: "ĝ"; alternativeKeys: "ĝ2w"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3èé"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "ŭ"; alternativeKeys: "ŭ6y"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7ùú"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8ìí"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9òó"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z" }
|
||||
Key { text: "ĉ"; alternativeKeys: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "aàá" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h"; alternativeKeys: "ĥ" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ĵ" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z" }
|
||||
Key { text: "ĉ"; alternativeKeys: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -23,13 +23,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Esperanto.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Esperanto.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,55 +5,63 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "ēęėëe3êèé"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "üûu7ùú"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "ïįîi8ìí"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "öõôo9òóº"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "äãaáâàª" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ñ" }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "ēęėëe3êèé"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "üûu7ùú"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "ïįîi8ìí"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "öõôo9òóº"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "čcçć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "äãaáâàª" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ñ" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!¿¡.?"; smallText: "¡¿"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "čcçć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!¿¡.?"; smallText: "¡¿"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,55 +5,63 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "ēęėëe3êèé"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "üûu7ùú"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "ïįîi8ìí"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "öõôo9òóº"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "äãaáâàª" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ñ" }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "ēęėëe3êèé"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "üûu7ùú"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "ïįîi8ìí"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "öõôo9òóº"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "čcçć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "äãaáâàª" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ñ" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!¿¡.?"; smallText: "¡¿"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "čcçć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!¿¡.?"; smallText: "¡¿"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,58 +5,66 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "óöo9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
Key { text: "ü" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "a" }
|
||||
Key { text: "s"; alternativeKeys: "sš" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ö" }
|
||||
Key { text: "ä" }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "óöo9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
Key { text: "ü" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z"; alternativeKeys: "zž" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
Key { text: "õ" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "a" }
|
||||
Key { text: "s"; alternativeKeys: "sš" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ö" }
|
||||
Key { text: "ä" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z"; alternativeKeys: "zž" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
Key { text: "õ" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -6,60 +6,68 @@ import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardLayoutDefinition {
|
||||
textComposer: DirectTextComposer {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "ص"; alternativeKeys: "ص۱1ض"; smallText: "۱" }
|
||||
Key { text: "ق"; alternativeKeys: "ق۲2"; smallText: "۲" }
|
||||
Key { text: "ف"; alternativeKeys: "ف۳3"; smallText: "۳" }
|
||||
Key { text: "غ"; alternativeKeys: "غ۴4"; smallText: "۴" }
|
||||
Key { text: "ع"; alternativeKeys: "ع۵5"; smallText: "۵" }
|
||||
Key { text: "ه"; alternativeKeys: "ه۶6"; smallText: "۶" }
|
||||
Key { text: "خ"; alternativeKeys: "خ۷7"; smallText: "۷" }
|
||||
Key { text: "ح"; alternativeKeys: "ح۸8"; smallText: "۸" }
|
||||
Key { text: "ج"; alternativeKeys: "ج۹9"; smallText: "۹" }
|
||||
Key { text: "چ"; alternativeKeys: "چ۰0"; smallText: "۰" }
|
||||
}
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "ش" }
|
||||
Key { text: "س" }
|
||||
Key { text: "ی" }
|
||||
Key { text: "ب" }
|
||||
Key { text: "ل" }
|
||||
Key { text: "ا"; alternativeKeys: "\u0625\u0627\u0623\u0622" }
|
||||
Key { text: "ت"; alternativeKeys: "\u062A\u062B" }
|
||||
Key { text: "ن" }
|
||||
Key { text: "م" }
|
||||
Key { text: "ک" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: ""; alternativeKeys: "\u200C\u200D"; displayText: "\u25C2\u205E\u25B8"; displayAlternativeKeys: ["\u25B8\u205E\u25C2"] }
|
||||
Key { text: "َ"; alternativeKeys: "\u064C\u064E\u064F\u0652\u064B\u064D\u0640\u0651\u0650"; smallText: "◌ُ " }
|
||||
Key { text: "ط"; alternativeKeys: "\u0637\u0638" }
|
||||
Key { text: "ز"; alternativeKeys: "\u0632\u0698" }
|
||||
Key { text: "ر" }
|
||||
Key { text: "ذ" }
|
||||
Key { text: "د" }
|
||||
Key { text: "و"; alternativeKeys: "\u0624\u0648\u0621" }
|
||||
Key { text: "گ"; alternativeKeys: "\u06AF\u067E" }
|
||||
BackspaceKey {}
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "ص"; alternativeKeys: "ص۱1ض"; smallText: "۱" }
|
||||
Key { text: "ق"; alternativeKeys: "ق۲2"; smallText: "۲" }
|
||||
Key { text: "ف"; alternativeKeys: "ف۳3"; smallText: "۳" }
|
||||
Key { text: "غ"; alternativeKeys: "غ۴4"; smallText: "۴" }
|
||||
Key { text: "ع"; alternativeKeys: "ع۵5"; smallText: "۵" }
|
||||
Key { text: "ه"; alternativeKeys: "ه۶6"; smallText: "۶" }
|
||||
Key { text: "خ"; alternativeKeys: "خ۷7"; smallText: "۷" }
|
||||
Key { text: "ح"; alternativeKeys: "ح۸8"; smallText: "۸" }
|
||||
Key { text: "ج"; alternativeKeys: "ج۹9"; smallText: "۹" }
|
||||
Key { text: "چ"; alternativeKeys: "چ۰0"; smallText: "۰" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5; displayText: "۱۲۳؟" }
|
||||
ChangeLanguageKey {}
|
||||
Key { text: "،"; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 5 }
|
||||
Key { text: "."; alternativeKeys: "!,،؛.؟"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "ش" }
|
||||
Key { text: "س" }
|
||||
Key { text: "ی" }
|
||||
Key { text: "ب" }
|
||||
Key { text: "ل" }
|
||||
Key { text: "ا"; alternativeKeys: "\u0625\u0627\u0623\u0622" }
|
||||
Key { text: "ت"; alternativeKeys: "\u062A\u062B" }
|
||||
Key { text: "ن" }
|
||||
Key { text: "م" }
|
||||
Key { text: "ک" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: ""; alternativeKeys: "\u200C\u200D"; displayText: "\u25C2\u205E\u25B8"; displayAlternativeKeys: ["\u25B8\u205E\u25C2"] }
|
||||
Key { text: "َ"; alternativeKeys: "\u064C\u064E\u064F\u0652\u064B\u064D\u0640\u0651\u0650"; smallText: "◌ُ " }
|
||||
Key { text: "ط"; alternativeKeys: "\u0637\u0638" }
|
||||
Key { text: "ز"; alternativeKeys: "\u0632\u0698" }
|
||||
Key { text: "ر" }
|
||||
Key { text: "ذ" }
|
||||
Key { text: "د" }
|
||||
Key { text: "و"; alternativeKeys: "\u0624\u0648\u0621" }
|
||||
Key { text: "گ"; alternativeKeys: "\u06AF\u067E" }
|
||||
BackspaceKey {}
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5; displayText: "۱۲۳؟" }
|
||||
ChangeLanguageKey {}
|
||||
Key { text: "،"; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 5 }
|
||||
Key { text: "."; alternativeKeys: "!,،؛.؟"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -19,8 +19,6 @@ KeyboardLayoutLoader {
|
||||
Component {
|
||||
id: page1
|
||||
KeyboardLayout {
|
||||
textComposer: DirectTextComposer {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "۱"; alternativeKeys: "\u06F11" }
|
||||
Key { text: "۲"; alternativeKeys: "\u06F22" }
|
||||
@@ -75,8 +73,6 @@ KeyboardLayoutLoader {
|
||||
Component {
|
||||
id: page2
|
||||
KeyboardLayout {
|
||||
textComposer: DirectTextComposer {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_AsciiTilde; text: "~" }
|
||||
Key { key: Qt.Key_QuoteLeft; text: "`" }
|
||||
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Persian.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Persian.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,57 +5,65 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
Key { text: "å" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "a" }
|
||||
Key { text: "s"; alternativeKeys: "sš" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ö" }
|
||||
Key { text: "ä" }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
Key { text: "å" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 2 }
|
||||
Key { text: "z"; alternativeKeys: "zž" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 2 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "a" }
|
||||
Key { text: "s"; alternativeKeys: "sš" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ö" }
|
||||
Key { text: "ä" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 2 }
|
||||
Key { text: "z"; alternativeKeys: "zž" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 2 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,56 +5,64 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "éèe3êë"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6ÿ"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "ùu7ûü"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "îi8ï"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "ôo9œ"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aàâæ" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "éèe3êë"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6ÿ"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "ùu7ûü"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "îi8ï"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "ôo9œ"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "cç" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aàâæ" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "cç" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,55 +5,63 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "a1àâæ"; smallText: "1" }
|
||||
Key { text: "z"; alternativeKeys: "z2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "éèe3êë"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6ÿ"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "ùu7ûü"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "îi8ï"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "ôo9œ"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "m" }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "a1àâæ"; smallText: "1" }
|
||||
Key { text: "z"; alternativeKeys: "z2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "éèe3êë"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6ÿ"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "ùu7ûü"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "îi8ï"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "ôo9œ"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "w" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "cç" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "'" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "m" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "w" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "cç" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "'" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Azerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Azerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -6,59 +6,67 @@ import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardLayoutDefinition {
|
||||
textComposer: DirectTextComposer {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_Apostrophe; text: "'"; alternativeKeys: "'\"" }
|
||||
Key { text: "ק"; alternativeKeys: "\u05B3\u05E7\u05B8\u05BB" }
|
||||
Key { text: "ר" }
|
||||
Key { text: "א" }
|
||||
Key { text: "ט" }
|
||||
Key { text: "ו"; alternativeKeys: [ "\u05D5", "\u05D5\u05B9", "\u05D5\u05BC" ] }
|
||||
Key { text: "ן" }
|
||||
Key { text: "ם" }
|
||||
Key { text: "פ"; alternativeKeys: "\u05B2\u05B7\u05E4" }
|
||||
}
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "ש"; alternativeKeys: [ "\u05E9", "\u05B0", "\u05E9\u05C2", "\u05E9\u05C1" ] }
|
||||
Key { text: "ד"; alternativeKeys: "\u05D3\u05BC" }
|
||||
Key { text: "ג"; alternativeKeys: [ "\u05D2", "\u05D2\u05F3" ] }
|
||||
Key { text: "כ" }
|
||||
Key { text: "ע" }
|
||||
Key { text: "י"; alternativeKeys: [ "\u05D9", "\u05F2\u05B7" ] }
|
||||
Key { text: "ח"; alternativeKeys: [ "\u05B9", "\u05D7", "\u05D7\u05F3", "\u05B4" ] }
|
||||
Key { text: "ל" }
|
||||
Key { text: "ך" }
|
||||
Key { text: "ף" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "ז"; alternativeKeys: [ "\u05D6", "\u05D6\u05F3" ] }
|
||||
Key { text: "ס"; alternativeKeys: "\u05E1\u05B6\u05B1" }
|
||||
Key { text: "ב" }
|
||||
Key { text: "ה" }
|
||||
Key { text: "נ" }
|
||||
Key { text: "מ" }
|
||||
Key { text: "צ"; alternativeKeys: [ "\u05E6", "\u05E6\u05F3", "\u05B5" ] }
|
||||
Key { text: "ת"; alternativeKeys: [ "\u05EA", "\u05EA\u05F3" ] }
|
||||
Key { text: "ץ"; alternativeKeys: [ "\u05E5", "\u05E5\u05F3" ] }
|
||||
BackspaceKey {}
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_Apostrophe; text: "'"; alternativeKeys: "'\"" }
|
||||
Key { text: "ק"; alternativeKeys: "\u05B3\u05E7\u05B8\u05BB" }
|
||||
Key { text: "ר" }
|
||||
Key { text: "א" }
|
||||
Key { text: "ט" }
|
||||
Key { text: "ו"; alternativeKeys: [ "\u05D5", "\u05D5\u05B9", "\u05D5\u05BC" ] }
|
||||
Key { text: "ן" }
|
||||
Key { text: "ם" }
|
||||
Key { text: "פ"; alternativeKeys: "\u05B2\u05B7\u05E4" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 5 }
|
||||
Key { text: "."; alternativeKeys: "!.?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "ש"; alternativeKeys: [ "\u05E9", "\u05B0", "\u05E9\u05C2", "\u05E9\u05C1" ] }
|
||||
Key { text: "ד"; alternativeKeys: "\u05D3\u05BC" }
|
||||
Key { text: "ג"; alternativeKeys: [ "\u05D2", "\u05D2\u05F3" ] }
|
||||
Key { text: "כ" }
|
||||
Key { text: "ע" }
|
||||
Key { text: "י"; alternativeKeys: [ "\u05D9", "\u05F2\u05B7" ] }
|
||||
Key { text: "ח"; alternativeKeys: [ "\u05B9", "\u05D7", "\u05D7\u05F3", "\u05B4" ] }
|
||||
Key { text: "ל" }
|
||||
Key { text: "ך" }
|
||||
Key { text: "ף" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "ז"; alternativeKeys: [ "\u05D6", "\u05D6\u05F3" ] }
|
||||
Key { text: "ס"; alternativeKeys: "\u05E1\u05B6\u05B1" }
|
||||
Key { text: "ב" }
|
||||
Key { text: "ה" }
|
||||
Key { text: "נ" }
|
||||
Key { text: "מ" }
|
||||
Key { text: "צ"; alternativeKeys: [ "\u05E6", "\u05E6\u05F3", "\u05B5" ] }
|
||||
Key { text: "ת"; alternativeKeys: [ "\u05EA", "\u05EA\u05F3" ] }
|
||||
Key { text: "ץ"; alternativeKeys: [ "\u05E5", "\u05E5\u05F3" ] }
|
||||
BackspaceKey {}
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 5 }
|
||||
Key { text: "."; alternativeKeys: "!.?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,58 +5,66 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.LatinSymbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
readonly property bool emailOrUrl: inputEngine && (inputEngine.inputMethodHints & (Qt.ImhEmailCharactersOnly | Qt.ImhUrlCharactersOnly))
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "êe3ëèé"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "ŕr4ř"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "ţt5ŧť"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "ÿy6ýŷ"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "űūũûüu7ùú"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "îïīĩi8ìí"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "œøõôöòóo9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
readonly property bool emailOrUrl: inputEngine && (inputEngine.inputMethodHints & (Qt.ImhEmailCharactersOnly | Qt.ImhUrlCharactersOnly))
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: root.emailOrUrl ? "a@äåãâàá" : "aäåãâàá" }
|
||||
Key { text: "s"; alternativeKeys: "šsşś" }
|
||||
Key { text: "d"; alternativeKeys: "dđď" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g"; alternativeKeys: "ġgģĝğ" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l"; alternativeKeys: "ĺŀłļľl" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "êe3ëèé"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "ŕr4ř"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "ţt5ŧť"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "ÿy6ýŷ"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "űūũûüu7ùú"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "îïīĩi8ìí"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "œøõôöòóo9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z"; alternativeKeys: "zžż" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "çcċčć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n"; alternativeKeys: "ņńnň" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: root.emailOrUrl ? "a@äåãâàá" : "aäåãâàá" }
|
||||
Key { text: "s"; alternativeKeys: "šsşś" }
|
||||
Key { text: "d"; alternativeKeys: "dđď" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g"; alternativeKeys: "ġgģĝğ" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l"; alternativeKeys: "ĺŀłļľl" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z"; alternativeKeys: "zžż" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "çcċčć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n"; alternativeKeys: "ņńnň" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -19,8 +19,6 @@ KeyboardLayoutLoader {
|
||||
Component {
|
||||
id: page1
|
||||
KeyboardLayout {
|
||||
textComposer: DirectTextComposer {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_1; text: "1" }
|
||||
Key { key: Qt.Key_2; text: "2" }
|
||||
@@ -75,8 +73,6 @@ KeyboardLayoutLoader {
|
||||
Component {
|
||||
id: page2
|
||||
KeyboardLayout {
|
||||
textComposer: DirectTextComposer {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_AsciiTilde; text: "~" }
|
||||
Key { key: Qt.Key_QuoteLeft; text: "`" }
|
||||
|
||||
@@ -19,8 +19,6 @@ KeyboardLayoutLoader {
|
||||
Component {
|
||||
id: page1
|
||||
KeyboardLayout {
|
||||
textComposer: DirectTextComposer {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_1; text: "1" }
|
||||
Key { key: Qt.Key_2; text: "2" }
|
||||
@@ -75,8 +73,6 @@ KeyboardLayoutLoader {
|
||||
Component {
|
||||
id: page2
|
||||
KeyboardLayout {
|
||||
textComposer: DirectTextComposer {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_AsciiTilde; text: "~" }
|
||||
Key { key: Qt.Key_QuoteLeft; text: "`" }
|
||||
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Hebrew.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Hebrew.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
@@ -38,13 +32,7 @@
|
||||
"Name": "עברית"
|
||||
},
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Latin.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/LatinSymbols.qml"
|
||||
},
|
||||
"File": "Latin.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -6,61 +6,69 @@ import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardLayoutDefinition {
|
||||
textComposer: DirectTextComposer {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "औ"; alternativeKeys: "औ१ौ"; smallText: "१" }
|
||||
Key { text: "ऐ"; alternativeKeys: "ऐ२ै"; smallText: "२" }
|
||||
Key { text: "आ"; alternativeKeys: "आ३ा"; smallText: "३" }
|
||||
Key { text: "ई"; alternativeKeys: "ई४ी"; smallText: "४" }
|
||||
Key { text: "ऊ"; alternativeKeys: "ऊ५ू"; smallText: "५" }
|
||||
Key { text: "ब"; alternativeKeys: "ब६भ"; smallText: "६" }
|
||||
Key { text: "ह"; alternativeKeys: "ह७"; smallText: "७" }
|
||||
Key { text: "ग"; alternativeKeys: ["ग", "८", "घ", "ग़"]; smallText: "८" }
|
||||
Key { text: "द"; alternativeKeys: "द९ध"; smallText: "९" }
|
||||
Key { text: "ज"; alternativeKeys: ["ज", "०", "ञ", "झ", "ज़", "ज्ञ"]; smallText: "०" }
|
||||
Key { text: "ड"; alternativeKeys: ["ड", "ढ", "ड़", "ढ़"] }
|
||||
}
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "ओ"; alternativeKeys: "\u0913\u094B" }
|
||||
Key { text: "ए"; alternativeKeys: "\u090F\u0947" }
|
||||
Key { text: "अ"; alternativeKeys: "अ्" }
|
||||
Key { text: "इ"; alternativeKeys: "\u0907\u093F" }
|
||||
Key { text: "उ"; alternativeKeys: "\u0909\u0941" }
|
||||
Key { text: "प"; alternativeKeys: ["प", "फ", "फ़"] }
|
||||
Key { text: "र"; alternativeKeys: "\u0930\u090B\u0943" }
|
||||
Key { text: "क"; alternativeKeys: ["क", "ख", "क़", "ख़", "क्ष"] }
|
||||
Key { text: "त"; alternativeKeys: ["\u0924", "\u0925", "\u0924\u094D\u0930"] }
|
||||
Key { text: "च"; alternativeKeys: "\u091A\u091B" }
|
||||
Key { text: "ट"; alternativeKeys: "\u091F\u0920" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: ""; alternativeKeys: "\u200C\u200D"; displayText: "\u25C2\u205E\u25B8"; displayAlternativeKeys: ["\u25B8\u205E\u25C2"] }
|
||||
Key { text: "ऑ"; alternativeKeys: "\u0911\u0949" }
|
||||
Key { text: "्"; alternativeKeys: "\u094D\u0945\u090D" }
|
||||
Key { text: "ं"; alternativeKeys: "\u093C\u0902\u0903\u0901\u093D" }
|
||||
Key { text: "म"; alternativeKeys: "\u092E\u0950" }
|
||||
Key { text: "न"; alternativeKeys: "\u0919\u0928\u0923\u091E" }
|
||||
Key { text: "व" }
|
||||
Key { text: "ल"; alternativeKeys: "\u0932\u0933" }
|
||||
Key { text: "स"; alternativeKeys: ["\u0936\u094D\u0930", "\u0938", "\u0936", "\u0937"] }
|
||||
Key { text: "य"; alternativeKeys: "\u0943" }
|
||||
BackspaceKey {}
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "औ"; alternativeKeys: "औ१ौ"; smallText: "१" }
|
||||
Key { text: "ऐ"; alternativeKeys: "ऐ२ै"; smallText: "२" }
|
||||
Key { text: "आ"; alternativeKeys: "आ३ा"; smallText: "३" }
|
||||
Key { text: "ई"; alternativeKeys: "ई४ी"; smallText: "४" }
|
||||
Key { text: "ऊ"; alternativeKeys: "ऊ५ू"; smallText: "५" }
|
||||
Key { text: "ब"; alternativeKeys: "ब६भ"; smallText: "६" }
|
||||
Key { text: "ह"; alternativeKeys: "ह७"; smallText: "७" }
|
||||
Key { text: "ग"; alternativeKeys: ["ग", "८", "घ", "ग़"]; smallText: "८" }
|
||||
Key { text: "द"; alternativeKeys: "द९ध"; smallText: "९" }
|
||||
Key { text: "ज"; alternativeKeys: ["ज", "०", "ञ", "झ", "ज़", "ज्ञ"]; smallText: "०" }
|
||||
Key { text: "ड"; alternativeKeys: ["ड", "ढ", "ड़", "ढ़"] }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5; displayText: "&१२३" }
|
||||
ChangeLanguageKey {}
|
||||
Key { text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 5 }
|
||||
Key { text: "।"; alternativeKeys: "।.॥!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
Key { text: "ओ"; alternativeKeys: "\u0913\u094B" }
|
||||
Key { text: "ए"; alternativeKeys: "\u090F\u0947" }
|
||||
Key { text: "अ"; alternativeKeys: "अ्" }
|
||||
Key { text: "इ"; alternativeKeys: "\u0907\u093F" }
|
||||
Key { text: "उ"; alternativeKeys: "\u0909\u0941" }
|
||||
Key { text: "प"; alternativeKeys: ["प", "फ", "फ़"] }
|
||||
Key { text: "र"; alternativeKeys: "\u0930\u090B\u0943" }
|
||||
Key { text: "क"; alternativeKeys: ["क", "ख", "क़", "ख़", "क्ष"] }
|
||||
Key { text: "त"; alternativeKeys: ["\u0924", "\u0925", "\u0924\u094D\u0930"] }
|
||||
Key { text: "च"; alternativeKeys: "\u091A\u091B" }
|
||||
Key { text: "ट"; alternativeKeys: "\u091F\u0920" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: ""; alternativeKeys: "\u200C\u200D"; displayText: "\u25C2\u205E\u25B8"; displayAlternativeKeys: ["\u25B8\u205E\u25C2"] }
|
||||
Key { text: "ऑ"; alternativeKeys: "\u0911\u0949" }
|
||||
Key { text: "्"; alternativeKeys: "\u094D\u0945\u090D" }
|
||||
Key { text: "ं"; alternativeKeys: "\u093C\u0902\u0903\u0901\u093D" }
|
||||
Key { text: "म"; alternativeKeys: "\u092E\u0950" }
|
||||
Key { text: "न"; alternativeKeys: "\u0919\u0928\u0923\u091E" }
|
||||
Key { text: "व" }
|
||||
Key { text: "ल"; alternativeKeys: "\u0932\u0933" }
|
||||
Key { text: "स"; alternativeKeys: ["\u0936\u094D\u0930", "\u0938", "\u0936", "\u0937"] }
|
||||
Key { text: "य"; alternativeKeys: "\u0943" }
|
||||
BackspaceKey {}
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5; displayText: "&१२३" }
|
||||
ChangeLanguageKey {}
|
||||
Key { text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 5 }
|
||||
Key { text: "।"; alternativeKeys: "।.॥!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -19,8 +19,6 @@ KeyboardLayoutLoader {
|
||||
Component {
|
||||
id: page1
|
||||
KeyboardLayout {
|
||||
textComposer: DirectTextComposer {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_1; text: "१"; alternativeKeys: "\u09671" }
|
||||
Key { key: Qt.Key_2; text: "२"; alternativeKeys: "\u09682" }
|
||||
@@ -75,8 +73,6 @@ KeyboardLayoutLoader {
|
||||
Component {
|
||||
id: page2
|
||||
KeyboardLayout {
|
||||
textComposer: DirectTextComposer {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_AsciiTilde; text: "~" }
|
||||
Key { key: Qt.Key_QuoteLeft; text: "`" }
|
||||
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Devanagari.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Devanagari.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,59 +5,67 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "z"; alternativeKeys: "z6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9ö"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
Key { text: "š" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "aåä" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "č" }
|
||||
Key { text: "ć" }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "z"; alternativeKeys: "z6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9ö"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
Key { text: "š" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight }
|
||||
Key { text: "y" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
Key { text: "đ" }
|
||||
Key { text: "ž" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "aåä" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "č" }
|
||||
Key { text: "ć" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight }
|
||||
Key { text: "y" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
Key { text: "đ" }
|
||||
Key { text: "ž" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwertz.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwertz.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,56 +5,64 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3é"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "z"; alternativeKeys: "z6ž"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "úűu7ü"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8í"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "óőo9ö"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aáåä" }
|
||||
Key { text: "s"; alternativeKeys: "sš" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3é"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "z"; alternativeKeys: "z6ž"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "úűu7ü"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8í"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "óőo9ö"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "y" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aáåä" }
|
||||
Key { text: "s"; alternativeKeys: "sš" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "y" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwertz.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwertz.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -4,53 +4,61 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_Q; text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { key: Qt.Key_W; text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { key: Qt.Key_E; text: "e"; alternativeKeys: "êe3ëèé"; smallText: "3" }
|
||||
Key { key: Qt.Key_R; text: "r"; alternativeKeys: "ŕr4ř"; smallText: "4" }
|
||||
Key { key: Qt.Key_T; text: "t"; alternativeKeys: "ţt5ŧť"; smallText: "5" }
|
||||
Key { key: Qt.Key_Y; text: "y"; alternativeKeys: "ÿy6ýŷ"; smallText: "6" }
|
||||
Key { key: Qt.Key_U; text: "u"; alternativeKeys: "űūũûüu7ùúů"; smallText: "7" }
|
||||
Key { key: Qt.Key_I; text: "i"; alternativeKeys: "îïīĩi8ìí"; smallText: "8" }
|
||||
Key { key: Qt.Key_O; text: "o"; alternativeKeys: "œøõôöòóo9"; smallText: "9" }
|
||||
Key { key: Qt.Key_P; text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight / 2 }
|
||||
Key { key: Qt.Key_A; text: "a"; alternativeKeys: "aäåãâàá" }
|
||||
Key { key: Qt.Key_S; text: "s"; alternativeKeys: "šsşś" }
|
||||
Key { key: Qt.Key_D; text: "d"; alternativeKeys: "dđď" }
|
||||
Key { key: Qt.Key_F; text: "f" }
|
||||
Key { key: Qt.Key_G; text: "g"; alternativeKeys: "ġgģĝğ" }
|
||||
Key { key: Qt.Key_H; text: "h" }
|
||||
Key { key: Qt.Key_J; text: "j" }
|
||||
Key { key: Qt.Key_K; text: "k" }
|
||||
Key { key: Qt.Key_L; text: "l"; alternativeKeys: "ĺŀłļľl" }
|
||||
FillerKey { weight: root.defaultKeyWeight / 2 }
|
||||
}
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: 150 }
|
||||
Key { key: Qt.Key_Z; text: "z"; alternativeKeys: "zžż" }
|
||||
Key { key: Qt.Key_X; text: "x" }
|
||||
Key { key: Qt.Key_C; text: "c"; alternativeKeys: "çcċčć" }
|
||||
Key { key: Qt.Key_V; text: "v" }
|
||||
Key { key: Qt.Key_B; text: "b" }
|
||||
Key { key: Qt.Key_N; text: "n"; alternativeKeys: "ņńnň" }
|
||||
Key { key: Qt.Key_M; text: "m" }
|
||||
BackspaceKey { weight: 150 }
|
||||
}
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: 150 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: 300 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: 150 }
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_Q; text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { key: Qt.Key_W; text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { key: Qt.Key_E; text: "e"; alternativeKeys: "êe3ëèé"; smallText: "3" }
|
||||
Key { key: Qt.Key_R; text: "r"; alternativeKeys: "ŕr4ř"; smallText: "4" }
|
||||
Key { key: Qt.Key_T; text: "t"; alternativeKeys: "ţt5ŧť"; smallText: "5" }
|
||||
Key { key: Qt.Key_Y; text: "y"; alternativeKeys: "ÿy6ýŷ"; smallText: "6" }
|
||||
Key { key: Qt.Key_U; text: "u"; alternativeKeys: "űūũûüu7ùúů"; smallText: "7" }
|
||||
Key { key: Qt.Key_I; text: "i"; alternativeKeys: "îïīĩi8ìí"; smallText: "8" }
|
||||
Key { key: Qt.Key_O; text: "o"; alternativeKeys: "œøõôöòóo9"; smallText: "9" }
|
||||
Key { key: Qt.Key_P; text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight / 2 }
|
||||
Key { key: Qt.Key_A; text: "a"; alternativeKeys: "aäåãâàá" }
|
||||
Key { key: Qt.Key_S; text: "s"; alternativeKeys: "šsşś" }
|
||||
Key { key: Qt.Key_D; text: "d"; alternativeKeys: "dđď" }
|
||||
Key { key: Qt.Key_F; text: "f" }
|
||||
Key { key: Qt.Key_G; text: "g"; alternativeKeys: "ġgģĝğ" }
|
||||
Key { key: Qt.Key_H; text: "h" }
|
||||
Key { key: Qt.Key_J; text: "j" }
|
||||
Key { key: Qt.Key_K; text: "k" }
|
||||
Key { key: Qt.Key_L; text: "l"; alternativeKeys: "ĺŀłļľl" }
|
||||
FillerKey { weight: root.defaultKeyWeight / 2 }
|
||||
}
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: 150 }
|
||||
Key { key: Qt.Key_Z; text: "z"; alternativeKeys: "zžż" }
|
||||
Key { key: Qt.Key_X; text: "x" }
|
||||
Key { key: Qt.Key_C; text: "c"; alternativeKeys: "çcċčć" }
|
||||
Key { key: Qt.Key_V; text: "v" }
|
||||
Key { key: Qt.Key_B; text: "b" }
|
||||
Key { key: Qt.Key_N; text: "n"; alternativeKeys: "ņńnň" }
|
||||
Key { key: Qt.Key_M; text: "m" }
|
||||
BackspaceKey { weight: 150 }
|
||||
}
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: 150 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: 300 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: 150 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,56 +5,64 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3èé"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7ùú"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8ìí"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9òó"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aàá" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3èé"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7ùú"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8ìí"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9òó"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aàá" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,56 +5,64 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3ē"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4ŗ"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7ū"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8ī"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9ō"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aā" }
|
||||
Key { text: "s"; alternativeKeys: "sš" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g"; alternativeKeys: "gģ" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k"; alternativeKeys: "kķ" }
|
||||
Key { text: "l"; alternativeKeys: "lļ" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3ē"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4ŗ"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7ū"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8ī"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9ō"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z"; alternativeKeys: "zž" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "cč" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n"; alternativeKeys: "nņ" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aā" }
|
||||
Key { text: "s"; alternativeKeys: "sš" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g"; alternativeKeys: "gģ" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k"; alternativeKeys: "kķ" }
|
||||
Key { text: "l"; alternativeKeys: "lļ" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z"; alternativeKeys: "zž" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "cč" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n"; alternativeKeys: "nņ" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -4,53 +4,61 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_Q; text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { key: Qt.Key_W; text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { key: Qt.Key_E; text: "e"; alternativeKeys: "êe3ëèé"; smallText: "3" }
|
||||
Key { key: Qt.Key_R; text: "r"; alternativeKeys: "ŕr4ř"; smallText: "4" }
|
||||
Key { key: Qt.Key_T; text: "t"; alternativeKeys: "ţt5ŧť"; smallText: "5" }
|
||||
Key { key: Qt.Key_Y; text: "y"; alternativeKeys: "ÿy6ýŷ"; smallText: "6" }
|
||||
Key { key: Qt.Key_U; text: "u"; alternativeKeys: "űūũûüu7ùúů"; smallText: "7" }
|
||||
Key { key: Qt.Key_I; text: "i"; alternativeKeys: "îïīĩi8ìí"; smallText: "8" }
|
||||
Key { key: Qt.Key_O; text: "o"; alternativeKeys: "œøõôöòóo9"; smallText: "9" }
|
||||
Key { key: Qt.Key_P; text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight / 2 }
|
||||
Key { key: Qt.Key_A; text: "a"; alternativeKeys: "aäåãâàá" }
|
||||
Key { key: Qt.Key_S; text: "s"; alternativeKeys: "šsşś" }
|
||||
Key { key: Qt.Key_D; text: "d"; alternativeKeys: "dđď" }
|
||||
Key { key: Qt.Key_F; text: "f" }
|
||||
Key { key: Qt.Key_G; text: "g"; alternativeKeys: "ġgģĝğ" }
|
||||
Key { key: Qt.Key_H; text: "h" }
|
||||
Key { key: Qt.Key_J; text: "j" }
|
||||
Key { key: Qt.Key_K; text: "k" }
|
||||
Key { key: Qt.Key_L; text: "l"; alternativeKeys: "ĺŀłļľl" }
|
||||
FillerKey { weight: root.defaultKeyWeight / 2 }
|
||||
}
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: 150 }
|
||||
Key { key: Qt.Key_Z; text: "z"; alternativeKeys: "zžż" }
|
||||
Key { key: Qt.Key_X; text: "x" }
|
||||
Key { key: Qt.Key_C; text: "c"; alternativeKeys: "çcċčć" }
|
||||
Key { key: Qt.Key_V; text: "v" }
|
||||
Key { key: Qt.Key_B; text: "b" }
|
||||
Key { key: Qt.Key_N; text: "n"; alternativeKeys: "ņńnň" }
|
||||
Key { key: Qt.Key_M; text: "m" }
|
||||
BackspaceKey { weight: 150 }
|
||||
}
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: 150 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: 300 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: 150 }
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_Q; text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { key: Qt.Key_W; text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { key: Qt.Key_E; text: "e"; alternativeKeys: "êe3ëèé"; smallText: "3" }
|
||||
Key { key: Qt.Key_R; text: "r"; alternativeKeys: "ŕr4ř"; smallText: "4" }
|
||||
Key { key: Qt.Key_T; text: "t"; alternativeKeys: "ţt5ŧť"; smallText: "5" }
|
||||
Key { key: Qt.Key_Y; text: "y"; alternativeKeys: "ÿy6ýŷ"; smallText: "6" }
|
||||
Key { key: Qt.Key_U; text: "u"; alternativeKeys: "űūũûüu7ùúů"; smallText: "7" }
|
||||
Key { key: Qt.Key_I; text: "i"; alternativeKeys: "îïīĩi8ìí"; smallText: "8" }
|
||||
Key { key: Qt.Key_O; text: "o"; alternativeKeys: "œøõôöòóo9"; smallText: "9" }
|
||||
Key { key: Qt.Key_P; text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight / 2 }
|
||||
Key { key: Qt.Key_A; text: "a"; alternativeKeys: "aäåãâàá" }
|
||||
Key { key: Qt.Key_S; text: "s"; alternativeKeys: "šsşś" }
|
||||
Key { key: Qt.Key_D; text: "d"; alternativeKeys: "dđď" }
|
||||
Key { key: Qt.Key_F; text: "f" }
|
||||
Key { key: Qt.Key_G; text: "g"; alternativeKeys: "ġgģĝğ" }
|
||||
Key { key: Qt.Key_H; text: "h" }
|
||||
Key { key: Qt.Key_J; text: "j" }
|
||||
Key { key: Qt.Key_K; text: "k" }
|
||||
Key { key: Qt.Key_L; text: "l"; alternativeKeys: "ĺŀłļľl" }
|
||||
FillerKey { weight: root.defaultKeyWeight / 2 }
|
||||
}
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: 150 }
|
||||
Key { key: Qt.Key_Z; text: "z"; alternativeKeys: "zžż" }
|
||||
Key { key: Qt.Key_X; text: "x" }
|
||||
Key { key: Qt.Key_C; text: "c"; alternativeKeys: "çcċčć" }
|
||||
Key { key: Qt.Key_V; text: "v" }
|
||||
Key { key: Qt.Key_B; text: "b" }
|
||||
Key { key: Qt.Key_N; text: "n"; alternativeKeys: "ņńnň" }
|
||||
Key { key: Qt.Key_M; text: "m" }
|
||||
BackspaceKey { weight: 150 }
|
||||
}
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: 150 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: 300 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: 150 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,57 +5,65 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3éèê"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7ü"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9öóòô"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
Key { text: "å" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "aäâá" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ø"; alternativeKeys: "øö" }
|
||||
Key { text: "æ"; alternativeKeys: "æä" }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3éèê"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7ü"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9öóòô"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
Key { text: "å" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 2 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 2 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "aäâá" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ø"; alternativeKeys: "øö" }
|
||||
Key { text: "æ"; alternativeKeys: "æä" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 2 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 2 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -4,53 +4,61 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_Q; text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { key: Qt.Key_W; text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { key: Qt.Key_E; text: "e"; alternativeKeys: "e3éëêè"; smallText: "3" }
|
||||
Key { key: Qt.Key_R; text: "r"; alternativeKeys: "ŕr4ř"; smallText: "4" }
|
||||
Key { key: Qt.Key_T; text: "t"; alternativeKeys: "ţt5ŧť"; smallText: "5" }
|
||||
Key { key: Qt.Key_Y; text: "y"; alternativeKeys: "y6ýÿŷ"; smallText: "6" }
|
||||
Key { key: Qt.Key_U; text: "u"; alternativeKeys: "u7úüûùűūũů"; smallText: "7" }
|
||||
Key { key: Qt.Key_I; text: "i"; alternativeKeys: "i8íïìîijīĩ"; smallText: "8" }
|
||||
Key { key: Qt.Key_O; text: "o"; alternativeKeys: "o9óöôòœøõ"; smallText: "9" }
|
||||
Key { key: Qt.Key_P; text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight / 2 }
|
||||
Key { key: Qt.Key_A; text: "a"; alternativeKeys: "aáäâàåã" }
|
||||
Key { key: Qt.Key_S; text: "s"; alternativeKeys: "šsşś" }
|
||||
Key { key: Qt.Key_D; text: "d"; alternativeKeys: "dđď" }
|
||||
Key { key: Qt.Key_F; text: "f" }
|
||||
Key { key: Qt.Key_G; text: "g"; alternativeKeys: "ġgģĝğ" }
|
||||
Key { key: Qt.Key_H; text: "h" }
|
||||
Key { key: Qt.Key_J; text: "j" }
|
||||
Key { key: Qt.Key_K; text: "k" }
|
||||
Key { key: Qt.Key_L; text: "l"; alternativeKeys: "ĺŀłļľl" }
|
||||
FillerKey { weight: root.defaultKeyWeight / 2 }
|
||||
}
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: 150 }
|
||||
Key { key: Qt.Key_Z; text: "z"; alternativeKeys: "zžż" }
|
||||
Key { key: Qt.Key_X; text: "x" }
|
||||
Key { key: Qt.Key_C; text: "c"; alternativeKeys: "çcċčć" }
|
||||
Key { key: Qt.Key_V; text: "v" }
|
||||
Key { key: Qt.Key_B; text: "b" }
|
||||
Key { key: Qt.Key_N; text: "n"; alternativeKeys: "ņńnň" }
|
||||
Key { key: Qt.Key_M; text: "m" }
|
||||
BackspaceKey { weight: 150 }
|
||||
}
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: 150 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: 300 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: 150 }
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_Q; text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { key: Qt.Key_W; text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { key: Qt.Key_E; text: "e"; alternativeKeys: "e3éëêè"; smallText: "3" }
|
||||
Key { key: Qt.Key_R; text: "r"; alternativeKeys: "ŕr4ř"; smallText: "4" }
|
||||
Key { key: Qt.Key_T; text: "t"; alternativeKeys: "ţt5ŧť"; smallText: "5" }
|
||||
Key { key: Qt.Key_Y; text: "y"; alternativeKeys: "y6ýÿŷ"; smallText: "6" }
|
||||
Key { key: Qt.Key_U; text: "u"; alternativeKeys: "u7úüûùűūũů"; smallText: "7" }
|
||||
Key { key: Qt.Key_I; text: "i"; alternativeKeys: "i8íïìîijīĩ"; smallText: "8" }
|
||||
Key { key: Qt.Key_O; text: "o"; alternativeKeys: "o9óöôòœøõ"; smallText: "9" }
|
||||
Key { key: Qt.Key_P; text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight / 2 }
|
||||
Key { key: Qt.Key_A; text: "a"; alternativeKeys: "aáäâàåã" }
|
||||
Key { key: Qt.Key_S; text: "s"; alternativeKeys: "šsşś" }
|
||||
Key { key: Qt.Key_D; text: "d"; alternativeKeys: "dđď" }
|
||||
Key { key: Qt.Key_F; text: "f" }
|
||||
Key { key: Qt.Key_G; text: "g"; alternativeKeys: "ġgģĝğ" }
|
||||
Key { key: Qt.Key_H; text: "h" }
|
||||
Key { key: Qt.Key_J; text: "j" }
|
||||
Key { key: Qt.Key_K; text: "k" }
|
||||
Key { key: Qt.Key_L; text: "l"; alternativeKeys: "ĺŀłļľl" }
|
||||
FillerKey { weight: root.defaultKeyWeight / 2 }
|
||||
}
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: 150 }
|
||||
Key { key: Qt.Key_Z; text: "z"; alternativeKeys: "zžż" }
|
||||
Key { key: Qt.Key_X; text: "x" }
|
||||
Key { key: Qt.Key_C; text: "c"; alternativeKeys: "çcċčć" }
|
||||
Key { key: Qt.Key_V; text: "v" }
|
||||
Key { key: Qt.Key_B; text: "b" }
|
||||
Key { key: Qt.Key_N; text: "n"; alternativeKeys: "ņńnň" }
|
||||
Key { key: Qt.Key_M; text: "m" }
|
||||
BackspaceKey { weight: 150 }
|
||||
}
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: 150 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: 300 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: 150 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,56 +5,64 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3ę"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9ó"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aą" }
|
||||
Key { text: "s"; alternativeKeys: "sś" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l"; alternativeKeys: "lł" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3ę"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9ó"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z"; alternativeKeys: "zżź" }
|
||||
Key { text: "x"; alternativeKeys: "xź" }
|
||||
Key { text: "c"; alternativeKeys: "cć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n"; alternativeKeys: "nń" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aą" }
|
||||
Key { text: "s"; alternativeKeys: "sś" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l"; alternativeKeys: "lł" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z"; alternativeKeys: "zżź" }
|
||||
Key { text: "x"; alternativeKeys: "xź" }
|
||||
Key { text: "c"; alternativeKeys: "cć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n"; alternativeKeys: "nń" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,55 +5,63 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3éêèëēęė"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7úüùû"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8íìîïį"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9óõôºòö"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "aáãàâªä" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ç" }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3éêèëēęė"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7úüùû"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8íìîïį"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9óõôºòö"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "čcć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "aáãàâªä" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ç" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "čcć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,55 +5,63 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3éêèëēęė"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7úüùû"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8íìîïį"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9óõôºòö"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "aáãàâªä" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ç" }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3éêèëēęė"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7úüùû"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8íìîïį"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9óõôºòö"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "čcć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "aáãàâªä" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ç" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "čcć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,56 +5,64 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5ț"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8î"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aăâ" }
|
||||
Key { text: "s"; alternativeKeys: "sș" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5ț"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8î"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aăâ" }
|
||||
Key { text: "s"; alternativeKeys: "sș" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,59 +5,67 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "й"; alternativeKeys: "й1"; smallText: "1" }
|
||||
Key { text: "ц"; alternativeKeys: "ц2"; smallText: "2" }
|
||||
Key { text: "у"; alternativeKeys: "у3"; smallText: "3" }
|
||||
Key { text: "к"; alternativeKeys: "к4"; smallText: "4" }
|
||||
Key { text: "е"; alternativeKeys: "е5ё"; smallText: "5" }
|
||||
Key { text: "н"; alternativeKeys: "н6"; smallText: "6" }
|
||||
Key { text: "г"; alternativeKeys: "г7"; smallText: "7" }
|
||||
Key { text: "ш"; alternativeKeys: "ш8"; smallText: "8" }
|
||||
Key { text: "щ"; alternativeKeys: "щ9"; smallText: "9" }
|
||||
Key { text: "з"; alternativeKeys: "з0"; smallText: "0" }
|
||||
Key { text: "х" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "ф" }
|
||||
Key { text: "ы" }
|
||||
Key { text: "в" }
|
||||
Key { text: "а" }
|
||||
Key { text: "п" }
|
||||
Key { text: "р" }
|
||||
Key { text: "о" }
|
||||
Key { text: "л" }
|
||||
Key { text: "д" }
|
||||
Key { text: "ж" }
|
||||
Key { text: "э" }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "й"; alternativeKeys: "й1"; smallText: "1" }
|
||||
Key { text: "ц"; alternativeKeys: "ц2"; smallText: "2" }
|
||||
Key { text: "у"; alternativeKeys: "у3"; smallText: "3" }
|
||||
Key { text: "к"; alternativeKeys: "к4"; smallText: "4" }
|
||||
Key { text: "е"; alternativeKeys: "е5ё"; smallText: "5" }
|
||||
Key { text: "н"; alternativeKeys: "н6"; smallText: "6" }
|
||||
Key { text: "г"; alternativeKeys: "г7"; smallText: "7" }
|
||||
Key { text: "ш"; alternativeKeys: "ш8"; smallText: "8" }
|
||||
Key { text: "щ"; alternativeKeys: "щ9"; smallText: "9" }
|
||||
Key { text: "з"; alternativeKeys: "з0"; smallText: "0" }
|
||||
Key { text: "х" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight }
|
||||
Key { text: "я" }
|
||||
Key { text: "ч" }
|
||||
Key { text: "с" }
|
||||
Key { text: "м" }
|
||||
Key { text: "и" }
|
||||
Key { text: "т" }
|
||||
Key { text: "ь"; alternativeKeys: "ьъ" }
|
||||
Key { text: "б" }
|
||||
Key { text: "ю" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "ф" }
|
||||
Key { text: "ы" }
|
||||
Key { text: "в" }
|
||||
Key { text: "а" }
|
||||
Key { text: "п" }
|
||||
Key { text: "р" }
|
||||
Key { text: "о" }
|
||||
Key { text: "л" }
|
||||
Key { text: "д" }
|
||||
Key { text: "ж" }
|
||||
Key { text: "э" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight }
|
||||
Key { text: "я" }
|
||||
Key { text: "ч" }
|
||||
Key { text: "с" }
|
||||
Key { text: "м" }
|
||||
Key { text: "и" }
|
||||
Key { text: "т" }
|
||||
Key { text: "ь"; alternativeKeys: "ьъ" }
|
||||
Key { text: "б" }
|
||||
Key { text: "ю" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -19,7 +19,6 @@ KeyboardLayoutLoader {
|
||||
id: page1
|
||||
KeyboardLayout {
|
||||
id: page1Layout
|
||||
textComposer: DirectTextComposer {}
|
||||
readonly property real functionKeyWeight: defaultKeyWeight * 1.5
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_1; text: "1" }
|
||||
@@ -81,7 +80,6 @@ KeyboardLayoutLoader {
|
||||
id: page2
|
||||
KeyboardLayout {
|
||||
id: page2Layout
|
||||
textComposer: DirectTextComposer {}
|
||||
readonly property real functionKeyWeight: defaultKeyWeight * 1.5
|
||||
KeyboardRow {
|
||||
Key { key: Qt.Key_AsciiTilde; text: "~" }
|
||||
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Jcuken.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Jcuken.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,56 +5,64 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3é"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4ŕ"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5ť"; smallText: "5" }
|
||||
Key { text: "z"; alternativeKeys: "z6ž"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7ú"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8í"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9ôóö"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aáäå" }
|
||||
Key { text: "s"; alternativeKeys: "sš" }
|
||||
Key { text: "d"; alternativeKeys: "dď" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l"; alternativeKeys: "lľĺ" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3é"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4ŕ"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5ť"; smallText: "5" }
|
||||
Key { text: "z"; alternativeKeys: "z6ž"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7ú"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8í"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9ôóö"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "y"; alternativeKeys: "yý" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "cč" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n"; alternativeKeys: "nň" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aáäå" }
|
||||
Key { text: "s"; alternativeKeys: "sš" }
|
||||
Key { text: "d"; alternativeKeys: "dď" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l"; alternativeKeys: "lľĺ" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "y"; alternativeKeys: "yý" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "cč" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n"; alternativeKeys: "nň" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwertz.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwertz.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,56 +5,64 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3èêëé"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "z"; alternativeKeys: "z6ž"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7úü"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8í"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "òôöo9ó"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aåäáà" }
|
||||
Key { text: "s"; alternativeKeys: "sš" }
|
||||
Key { text: "d"; alternativeKeys: "dđ" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3èêëé"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "z"; alternativeKeys: "z6ž"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7úü"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8í"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "òôöo9ó"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "y" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "cčć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aåäáà" }
|
||||
Key { text: "s"; alternativeKeys: "sš" }
|
||||
Key { text: "d"; alternativeKeys: "dđ" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "y" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "cčć" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwertz.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwertz.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,58 +5,66 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "z"; alternativeKeys: "z6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
Key { text: "ç" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ë" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "z"; alternativeKeys: "z6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
Key { text: "ç" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 2 }
|
||||
Key { text: "y" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 2 }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ë" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 2 }
|
||||
Key { text: "y" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 2 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwertz.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwertz.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,58 +5,66 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "љ"; alternativeKeys: "љ1"; smallText: "1" }
|
||||
Key { text: "њ"; alternativeKeys: "њ2"; smallText: "2" }
|
||||
Key { text: "е"; alternativeKeys: "е3"; smallText: "3" }
|
||||
Key { text: "р"; alternativeKeys: "р4"; smallText: "4" }
|
||||
Key { text: "т"; alternativeKeys: "т5"; smallText: "5" }
|
||||
Key { text: "з"; alternativeKeys: "з6ѕ"; smallText: "6" }
|
||||
Key { text: "у"; alternativeKeys: "у7"; smallText: "7" }
|
||||
Key { text: "и"; alternativeKeys: "и8"; smallText: "8" }
|
||||
Key { text: "о"; alternativeKeys: "о9"; smallText: "9" }
|
||||
Key { text: "п"; alternativeKeys: "п0"; smallText: "0" }
|
||||
Key { text: "ш" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "а" }
|
||||
Key { text: "с" }
|
||||
Key { text: "д" }
|
||||
Key { text: "ф" }
|
||||
Key { text: "г" }
|
||||
Key { text: "х" }
|
||||
Key { text: "ј" }
|
||||
Key { text: "к" }
|
||||
Key { text: "л" }
|
||||
Key { text: "ч" }
|
||||
Key { text: "ћ" }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "љ"; alternativeKeys: "љ1"; smallText: "1" }
|
||||
Key { text: "њ"; alternativeKeys: "њ2"; smallText: "2" }
|
||||
Key { text: "е"; alternativeKeys: "е3"; smallText: "3" }
|
||||
Key { text: "р"; alternativeKeys: "р4"; smallText: "4" }
|
||||
Key { text: "т"; alternativeKeys: "т5"; smallText: "5" }
|
||||
Key { text: "з"; alternativeKeys: "з6ѕ"; smallText: "6" }
|
||||
Key { text: "у"; alternativeKeys: "у7"; smallText: "7" }
|
||||
Key { text: "и"; alternativeKeys: "и8"; smallText: "8" }
|
||||
Key { text: "о"; alternativeKeys: "о9"; smallText: "9" }
|
||||
Key { text: "п"; alternativeKeys: "п0"; smallText: "0" }
|
||||
Key { text: "ш" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight }
|
||||
Key { text: "џ" }
|
||||
Key { text: "ц" }
|
||||
Key { text: "в" }
|
||||
Key { text: "б" }
|
||||
Key { text: "н" }
|
||||
Key { text: "м" }
|
||||
Key { text: "ђ" }
|
||||
Key { text: "ж" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "а" }
|
||||
Key { text: "с" }
|
||||
Key { text: "д" }
|
||||
Key { text: "ф" }
|
||||
Key { text: "г" }
|
||||
Key { text: "х" }
|
||||
Key { text: "ј" }
|
||||
Key { text: "к" }
|
||||
Key { text: "л" }
|
||||
Key { text: "ч" }
|
||||
Key { text: "ћ" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight }
|
||||
Key { text: "џ" }
|
||||
Key { text: "ц" }
|
||||
Key { text: "в" }
|
||||
Key { text: "б" }
|
||||
Key { text: "н" }
|
||||
Key { text: "м" }
|
||||
Key { text: "ђ" }
|
||||
Key { text: "ж" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,58 +5,66 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
readonly property bool emailOrUrl: inputEngine && (inputEngine.inputMethodHints & (Qt.ImhEmailCharactersOnly | Qt.ImhUrlCharactersOnly))
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "êe3ëèé"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "ŕr4ř"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "ţt5ŧť"; smallText: "5" }
|
||||
Key { text: "z"; alternativeKeys: "z6ž"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "űūũûüu7ùú"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "îïīĩi8ìí"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "œøõôöòóo9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
readonly property bool emailOrUrl: inputEngine && (inputEngine.inputMethodHints & (Qt.ImhEmailCharactersOnly | Qt.ImhUrlCharactersOnly))
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: root.emailOrUrl ? "a@äåãâàá" : "aäåãâàá" }
|
||||
Key { text: "s"; alternativeKeys: "sšşś" }
|
||||
Key { text: "d"; alternativeKeys: "dđď" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g"; alternativeKeys: "ġgģĝğ" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l"; alternativeKeys: "ĺŀłļľl" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "êe3ëèé"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "ŕr4ř"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "ţt5ŧť"; smallText: "5" }
|
||||
Key { text: "z"; alternativeKeys: "z6ž"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "űūũûüu7ùú"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "îïīĩi8ìí"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "œøõôöòóo9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "y" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "cčćçċ" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n"; alternativeKeys: "ņńnň" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: root.emailOrUrl ? "a@äåãâàá" : "aäåãâàá" }
|
||||
Key { text: "s"; alternativeKeys: "sšşś" }
|
||||
Key { text: "d"; alternativeKeys: "dđď" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g"; alternativeKeys: "ġgģĝğ" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l"; alternativeKeys: "ĺŀłļľl" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "y" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c"; alternativeKeys: "cčćçċ" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n"; alternativeKeys: "ņńnň" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 3 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Cyrillic.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Cyrillic.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
@@ -38,13 +32,7 @@
|
||||
"Name": "Ћирилица"
|
||||
},
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Latin.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Latin.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,57 +5,65 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3é"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
Key { text: "å" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "aà" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ö" }
|
||||
Key { text: "ä" }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3é"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7"; smallText: "7" }
|
||||
Key { text: "i"; alternativeKeys: "i8"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
Key { text: "å" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 2 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 2 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "a"; alternativeKeys: "aà" }
|
||||
Key { text: "s" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ö" }
|
||||
Key { text: "ä" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 2 }
|
||||
Key { text: "z" }
|
||||
Key { text: "x" }
|
||||
Key { text: "c" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 2 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 4 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,62 +5,70 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7üû"; smallText: "7" }
|
||||
Key { text: "ı"; alternativeKeys: "ı8"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9ö"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
Key { text: "ğ" }
|
||||
Key { text: "ü" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aâåä" }
|
||||
Key { text: "s"; alternativeKeys: "sşš" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g"; alternativeKeys: "gğ" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ş" }
|
||||
Key { text: "i"; displayText: uppercased ? "İ" : "i"; alternativeKeys: "iî" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "q"; alternativeKeys: "q1"; smallText: "1" }
|
||||
Key { text: "w"; alternativeKeys: "w2"; smallText: "2" }
|
||||
Key { text: "e"; alternativeKeys: "e3"; smallText: "3" }
|
||||
Key { text: "r"; alternativeKeys: "r4"; smallText: "4" }
|
||||
Key { text: "t"; alternativeKeys: "t5"; smallText: "5" }
|
||||
Key { text: "y"; alternativeKeys: "y6"; smallText: "6" }
|
||||
Key { text: "u"; alternativeKeys: "u7üû"; smallText: "7" }
|
||||
Key { text: "ı"; alternativeKeys: "ı8"; smallText: "8" }
|
||||
Key { text: "o"; alternativeKeys: "o9ö"; smallText: "9" }
|
||||
Key { text: "p"; alternativeKeys: "p0"; smallText: "0" }
|
||||
Key { text: "ğ" }
|
||||
Key { text: "ü" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z"; alternativeKeys: "zž" }
|
||||
Key { text: "x"; alternativeKeys: "$¢x₺€¥£" }
|
||||
Key { text: "c"; alternativeKeys: "cç" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
Key { text: "ö" }
|
||||
Key { text: "ç" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "a"; alternativeKeys: "aâåä" }
|
||||
Key { text: "s"; alternativeKeys: "sşš" }
|
||||
Key { text: "d" }
|
||||
Key { text: "f" }
|
||||
Key { text: "g"; alternativeKeys: "gğ" }
|
||||
Key { text: "h" }
|
||||
Key { text: "j" }
|
||||
Key { text: "k" }
|
||||
Key { text: "l" }
|
||||
Key { text: "ş" }
|
||||
Key { text: "i"; displayText: uppercased ? "İ" : "i"; alternativeKeys: "iî" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 5 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
Key { text: "z"; alternativeKeys: "zž" }
|
||||
Key { text: "x"; alternativeKeys: "$¢x₺€¥£" }
|
||||
Key { text: "c"; alternativeKeys: "cç" }
|
||||
Key { text: "v" }
|
||||
Key { text: "b" }
|
||||
Key { text: "n" }
|
||||
Key { text: "m" }
|
||||
Key { text: "ö" }
|
||||
Key { text: "ç" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 5 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Qwerty.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Qwerty.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -5,63 +5,71 @@
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard.components
|
||||
import "shared" as Shared
|
||||
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
KeyboardLayoutDefinition {
|
||||
symbols: Shared.Symbols {}
|
||||
numbers: Shared.Numbers {}
|
||||
digits: Shared.Digits {}
|
||||
dialpad: Shared.Dialpad {}
|
||||
|
||||
KeyboardRow {
|
||||
Key { text: "й"; alternativeKeys: "й1"; smallText: "1" }
|
||||
Key { text: "ц"; alternativeKeys: "ц2"; smallText: "2" }
|
||||
Key { text: "у"; alternativeKeys: "у3"; smallText: "3" }
|
||||
Key { text: "к"; alternativeKeys: "к4"; smallText: "4" }
|
||||
Key { text: "е"; alternativeKeys: "е5"; smallText: "5" }
|
||||
Key { text: "н"; alternativeKeys: "н6"; smallText: "6" }
|
||||
Key { text: "г"; alternativeKeys: "г7"; smallText: "7" }
|
||||
Key { text: "ш"; alternativeKeys: "ш8"; smallText: "8" }
|
||||
Key { text: "щ"; alternativeKeys: "щ9"; smallText: "9" }
|
||||
Key { text: "з"; alternativeKeys: "з0"; smallText: "0" }
|
||||
Key { text: "х" }
|
||||
Key { text: "ї" }
|
||||
}
|
||||
KeyboardLayout {
|
||||
id: root
|
||||
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "ф" }
|
||||
Key { text: "і" }
|
||||
Key { text: "в" }
|
||||
Key { text: "а" }
|
||||
Key { text: "п" }
|
||||
Key { text: "р" }
|
||||
Key { text: "о" }
|
||||
Key { text: "л" }
|
||||
Key { text: "д" }
|
||||
Key { text: "ж" }
|
||||
Key { text: "є"; alternativeKeys: "єʼ’'" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
KeyboardRow {
|
||||
Key { text: "й"; alternativeKeys: "й1"; smallText: "1" }
|
||||
Key { text: "ц"; alternativeKeys: "ц2"; smallText: "2" }
|
||||
Key { text: "у"; alternativeKeys: "у3"; smallText: "3" }
|
||||
Key { text: "к"; alternativeKeys: "к4"; smallText: "4" }
|
||||
Key { text: "е"; alternativeKeys: "е5"; smallText: "5" }
|
||||
Key { text: "н"; alternativeKeys: "н6"; smallText: "6" }
|
||||
Key { text: "г"; alternativeKeys: "г7"; smallText: "7" }
|
||||
Key { text: "ш"; alternativeKeys: "ш8"; smallText: "8" }
|
||||
Key { text: "щ"; alternativeKeys: "щ9"; smallText: "9" }
|
||||
Key { text: "з"; alternativeKeys: "з0"; smallText: "0" }
|
||||
Key { text: "х" }
|
||||
Key { text: "ї" }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight }
|
||||
Key { text: "ґ" }
|
||||
Key { text: "я"; alternativeKeys: "$¢я₴€¥£" }
|
||||
Key { text: "ч" }
|
||||
Key { text: "с" }
|
||||
Key { text: "м" }
|
||||
Key { text: "и" }
|
||||
Key { text: "т" }
|
||||
Key { text: "ь" }
|
||||
Key { text: "б" }
|
||||
Key { text: "ю" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight }
|
||||
}
|
||||
KeyboardRow {
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
Key { text: "ф" }
|
||||
Key { text: "і" }
|
||||
Key { text: "в" }
|
||||
Key { text: "а" }
|
||||
Key { text: "п" }
|
||||
Key { text: "р" }
|
||||
Key { text: "о" }
|
||||
Key { text: "л" }
|
||||
Key { text: "д" }
|
||||
Key { text: "ж" }
|
||||
Key { text: "є"; alternativeKeys: "єʼ’'" }
|
||||
FillerKey { weight: root.defaultKeyWeight * 0.5 }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 5 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
KeyboardRow {
|
||||
ShiftKey { weight: root.defaultKeyWeight }
|
||||
Key { text: "ґ" }
|
||||
Key { text: "я"; alternativeKeys: "$¢я₴€¥£" }
|
||||
Key { text: "ч" }
|
||||
Key { text: "с" }
|
||||
Key { text: "м" }
|
||||
Key { text: "и" }
|
||||
Key { text: "т" }
|
||||
Key { text: "ь" }
|
||||
Key { text: "б" }
|
||||
Key { text: "ю" }
|
||||
BackspaceKey { weight: root.defaultKeyWeight }
|
||||
}
|
||||
|
||||
KeyboardRow {
|
||||
SymbolModeKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
ChangeLanguageKey {}
|
||||
Key { key: Qt.Key_Comma; text: ","; secondaryStyle: true }
|
||||
SpaceKey { weight: root.defaultKeyWeight * 5 }
|
||||
Key { key: Qt.Key_Period; text: "."; alternativeKeys: "!.?"; smallText: "!?"; secondaryStyle: true }
|
||||
HideKeyboardKey {}
|
||||
EnterKey { weight: root.defaultKeyWeight * 1.5 }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,13 +22,7 @@
|
||||
"X-Plasma-Keyboard": {
|
||||
"KeyboardLayouts": [
|
||||
{
|
||||
"Files": {
|
||||
"dialpad": "shared/Dialpad.qml",
|
||||
"digits": "shared/Digits.qml",
|
||||
"main": "Jcuken.qml",
|
||||
"numbers": "shared/Numbers.qml",
|
||||
"symbols": "shared/Symbols.qml"
|
||||
},
|
||||
"File": "Jcuken.qml",
|
||||
"FormFactors": [
|
||||
"phone",
|
||||
"mediacenter",
|
||||
|
||||
@@ -82,6 +82,7 @@ ecm_target_qml_sources(keyboardvirtualkeyboardcomponents SOURCES
|
||||
components/KeyboardNavigation.qml
|
||||
components/KeyboardStrip.qml
|
||||
components/KeyboardColumn.qml
|
||||
components/KeyboardLayoutDefinition.qml
|
||||
components/KeyboardLayoutLoader.qml
|
||||
components/KeyboardLayout.qml
|
||||
components/LanguagePopup.qml
|
||||
|
||||
@@ -31,6 +31,8 @@ Item {
|
||||
readonly property string layoutId: keyboardController ? keyboardController.layoutId : ""
|
||||
readonly property string packageId: keyboardPackageResolver ? keyboardPackageResolver.packageId(layoutId) : ""
|
||||
readonly property string layoutType: keyboardController ? keyboardController.layoutType : "main"
|
||||
readonly property var layoutDefinition: layoutDefinitionLoader.item
|
||||
readonly property var textComposer: (layoutLoader.item && layoutLoader.item.textComposer) || (layoutDefinition ? layoutDefinition.textComposer : null)
|
||||
|
||||
implicitHeight: __keyboardHeight
|
||||
implicitWidth: __keyboardWidth
|
||||
@@ -91,9 +93,27 @@ Item {
|
||||
BreezeConstants.scaleHint = panelScaleHint;
|
||||
}
|
||||
|
||||
Binding {
|
||||
target: root.inputEngine
|
||||
property: "textComposer"
|
||||
value: root.textComposer
|
||||
when: root.inputEngine !== null && root.textComposer !== null
|
||||
}
|
||||
|
||||
onPanelScaleHintChanged: updateScaleHint()
|
||||
Component.onCompleted: updateScaleHint()
|
||||
|
||||
Loader {
|
||||
id: layoutDefinitionLoader
|
||||
source: root.keyboardPackageResolver ? root.keyboardPackageResolver.layoutUrl(root.layoutId) : ""
|
||||
|
||||
onStatusChanged: {
|
||||
if (status === Loader.Error) {
|
||||
console.warn("Failed to load keyboard layout definition", root.layoutId, source);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
KeyboardNavigation {
|
||||
id: keyboardNavigation
|
||||
layoutLoader: layoutLoader
|
||||
@@ -125,7 +145,7 @@ Item {
|
||||
Layout.preferredHeight: root.__keyboardInputAreaHeight
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
||||
source: root.keyboardPackageResolver ? root.keyboardPackageResolver.layoutUrl(root.layoutId, root.layoutType) : ""
|
||||
sourceComponent: root.layoutDefinition ? (root.layoutDefinition[root.layoutType] ?? root.layoutDefinition.main) : null
|
||||
|
||||
onLoaded: {
|
||||
resetNavigation();
|
||||
@@ -142,7 +162,7 @@ Item {
|
||||
|
||||
onStatusChanged: {
|
||||
if (status === Loader.Error) {
|
||||
console.warn("Failed to load keyboard layout", root.layoutId, root.layoutType, source);
|
||||
console.warn("Failed to load keyboard layout", root.layoutId, root.layoutType);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,41 +36,17 @@ ColumnLayout {
|
||||
property string layoutId: ""
|
||||
property var virtualKeyboardContext: null
|
||||
readonly property var inputEngine: virtualKeyboardContext ? virtualKeyboardContext.inputEngine : VirtualKeyboard.inputEngine
|
||||
property var textComposer
|
||||
property var sharedLayouts: []
|
||||
|
||||
/**
|
||||
* Text composer to use while this layout is shown, instead of the one from the KeyboardLayoutDefinition (which is shared by all of its layout types).
|
||||
*
|
||||
* The active text composer is inputEngine.textComposer.
|
||||
*/
|
||||
property QtObject textComposer: null
|
||||
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
width: parent ? parent.width : implicitWidth
|
||||
height: parent ? parent.height : implicitHeight
|
||||
spacing: 0
|
||||
|
||||
function applyEngineBindings() {
|
||||
let effectiveTextComposer = textComposer;
|
||||
if (!effectiveTextComposer) {
|
||||
effectiveTextComposer = createTextComposer();
|
||||
if (effectiveTextComposer) {
|
||||
textComposer = effectiveTextComposer;
|
||||
}
|
||||
}
|
||||
if (effectiveTextComposer && inputEngine) {
|
||||
inputEngine.textComposer = effectiveTextComposer;
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: applyEngineBindings();
|
||||
onVirtualKeyboardContextChanged: if (visible) applyEngineBindings();
|
||||
onVisibleChanged: if (visible) applyEngineBindings();
|
||||
onPackageIdChanged: if (visible) applyEngineBindings();
|
||||
onLayoutIdChanged: if (visible) applyEngineBindings();
|
||||
onTextComposerChanged: if (visible) applyEngineBindings();
|
||||
function createTextComposer() {
|
||||
return defaultTextComposerComponent.createObject(root);
|
||||
}
|
||||
|
||||
Component {
|
||||
id: defaultTextComposerComponent
|
||||
|
||||
BasicTextComposer {}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
SPDX-FileCopyrightText: 2026 Devin Lin <devin@kde.org>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
||||
*/
|
||||
|
||||
import QtQuick
|
||||
|
||||
import org.kde.plasma.keyboard.virtualkeyboard
|
||||
|
||||
/**
|
||||
* Defines a keyboard layout and its alternative layouts.
|
||||
*
|
||||
* This is what "File" in keyboard package metadata points to for a keyboard layout.
|
||||
*/
|
||||
QtObject {
|
||||
/**
|
||||
* The text composer used by layouts.
|
||||
* This can be overridden, see KeyboardLayout.textComposer.
|
||||
*/
|
||||
property QtObject textComposer: BasicTextComposer {}
|
||||
|
||||
/**
|
||||
* The default layout.
|
||||
*/
|
||||
default property Component main
|
||||
|
||||
/**
|
||||
* The layout shown in symbol mode.
|
||||
*/
|
||||
property Component symbols
|
||||
|
||||
/**
|
||||
* The layout for fields that take formatted numbers (Qt::ImhFormattedNumbersOnly).
|
||||
*/
|
||||
property Component numbers
|
||||
|
||||
/**
|
||||
* The layout for fields that only take digits (Qt::ImhDigitsOnly).
|
||||
*/
|
||||
property Component digits
|
||||
|
||||
/**
|
||||
* The layout for fields that take phone numbers (Qt::ImhDialableCharactersOnly).
|
||||
*/
|
||||
property Component dialpad
|
||||
}
|
||||
@@ -15,6 +15,7 @@ Loader {
|
||||
property string layoutId: ""
|
||||
property var virtualKeyboardContext: null
|
||||
readonly property var inputEngine: virtualKeyboardContext ? virtualKeyboardContext.inputEngine : VirtualKeyboard.inputEngine
|
||||
readonly property var textComposer: item && item.textComposer !== undefined ? item.textComposer : null
|
||||
|
||||
function applyLayoutProperties() {
|
||||
if (!item) {
|
||||
|
||||
@@ -18,7 +18,7 @@ ActionKey {
|
||||
/**
|
||||
* Text composer to set the mode of.
|
||||
*/
|
||||
property var textComposer
|
||||
property var textComposer: VirtualKeyboard.inputEngine ? VirtualKeyboard.inputEngine.textComposer : null
|
||||
|
||||
/**
|
||||
* Whether to show the next mode as the current text on the key, instead of
|
||||
|
||||
@@ -58,19 +58,21 @@ void InputEngine::setTextComposer(AbstractTextComposer *textComposer)
|
||||
}
|
||||
|
||||
if (m_textComposer) {
|
||||
disconnect(m_textComposer, &AbstractTextComposer::autoCapitalizationSupportedChanged, this, &InputEngine::resetShiftState);
|
||||
disconnect(m_textComposer, &AbstractTextComposer::autoCapitalizationPolicyChanged, this, &InputEngine::updateAutomaticShift);
|
||||
disconnect(m_textComposer, nullptr, this, nullptr);
|
||||
m_textComposer->reset();
|
||||
m_textComposer->setParent(this);
|
||||
}
|
||||
|
||||
m_textComposer = textComposer;
|
||||
if (m_textComposer) {
|
||||
m_textComposer->setParent(this);
|
||||
m_textComposer->setInputEngine(this);
|
||||
m_textComposer->setTextCase(uppercase() ? AbstractTextComposer::TextCase::Upper : AbstractTextComposer::TextCase::Lower);
|
||||
connect(m_textComposer, &AbstractTextComposer::autoCapitalizationSupportedChanged, this, &InputEngine::resetShiftState);
|
||||
connect(m_textComposer, &AbstractTextComposer::autoCapitalizationPolicyChanged, this, &InputEngine::updateAutomaticShift);
|
||||
|
||||
connect(m_textComposer, &QObject::destroyed, this, [this] {
|
||||
clear();
|
||||
Q_EMIT textComposerChanged();
|
||||
});
|
||||
}
|
||||
Q_EMIT textComposerChanged();
|
||||
|
||||
|
||||
Loaded 100 of 104 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user