aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/styles
diff options
context:
space:
mode:
authorJarkko Koivikko <jarkko.koivikko@code-q.fi>2015-10-15 10:18:22 +0300
committerJarkko Koivikko <jarkko.koivikko@code-q.fi>2015-10-27 10:13:51 +0000
commit81c0d7d4df40c1130a8e7c98411c045b7eafc475 (patch)
treebee9a753c20b80d6630f39fee86e7758f2aae926 /src/virtualkeyboard/styles
parent251a86bd64856c2f48ac62f8f8747ddf21982876 (diff)
Add Cangjie input method for Traditional Chinese
This change adds Cangjie input method for Traditional Chinese. The input method is based on the TCIME input method for Android. https://code.google.com/p/android-traditional-chinese-ime/ The Cangjie input method is enabled by adding CONFIG+=tcime into qmake command line. The version of the Cangjie input is v3. Change-Id: Ibc49484d1277c332fc17e9b49b4227256ad88d5a Reviewed-by: Liang Qi <liang.qi@theqtcompany.com> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com> Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
Diffstat (limited to 'src/virtualkeyboard/styles')
-rw-r--r--src/virtualkeyboard/styles/KeyboardStyle.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/virtualkeyboard/styles/KeyboardStyle.qml b/src/virtualkeyboard/styles/KeyboardStyle.qml
index 541091fa..50add72b 100644
--- a/src/virtualkeyboard/styles/KeyboardStyle.qml
+++ b/src/virtualkeyboard/styles/KeyboardStyle.qml
@@ -155,6 +155,18 @@ QtObject {
*/
property Component symbolKeyPanel: null
+ /*! Template for the generic mode key.
+
+ This template provides a visualization of the key in which the state
+ can be on / off. This template is used in situations where the key label
+ will remain the same regardless of status.
+
+ The current state is available in the \c control.mode property.
+
+ \note The delegate must be based on the KeyPanel type.
+ */
+ property Component modeKeyPanel: null
+
/*! Template for the handwriting mode key.
\note The delegate must be based on the KeyPanel type.