diff options
author | Jarkko Koivikko <jarkko.koivikko@code-q.fi> | 2014-06-12 22:00:33 +0300 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@digia.com> | 2014-06-20 11:42:57 +0300 |
commit | d458fefcf078a2cff141866eb922bc8bc05a29f8 (patch) | |
tree | 01730edcf39ee1705f0dc4eea0ff166dc6f1056a /src/virtualkeyboard/styles/KeyboardStyle.qml | |
parent | edde661d678128fa529c93504350cdcf1263a75b (diff) |
Add arrow navigation mode
The arrow navigation mode allows using the keyboard with the arrow keys
and the return key of the physical input device. The navigation mode is
available when the keyboard is built with CONFIG+=arrow-key-navigation
in the qmake command line.
To enter into arrow navigation mode, simply press any of the arrow keys
on the hardware keyboard while the virtual keyboard is visible. Items
are selected with return key. Pressing and holding the return key will
access the alternative keys (if any). The "drag symbol mode" is also
available by pressing and holding the return on top of the symbol key.
Change-Id: Ief9acfacd7f2d8a59a3c6b959d28f5467d207fa6
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Diffstat (limited to 'src/virtualkeyboard/styles/KeyboardStyle.qml')
-rw-r--r-- | src/virtualkeyboard/styles/KeyboardStyle.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/virtualkeyboard/styles/KeyboardStyle.qml b/src/virtualkeyboard/styles/KeyboardStyle.qml index 8338f10a..e3cfa67d 100644 --- a/src/virtualkeyboard/styles/KeyboardStyle.qml +++ b/src/virtualkeyboard/styles/KeyboardStyle.qml @@ -231,4 +231,14 @@ QtObject { /*! Template for the selection list background. */ property Component selectionListBackground: null + + /*! Template for navigation highlight item. + + This item is used in arrow-key-navigation mode to + highlight the navigation focus on the keyboard. + + The item is typically a transparent rectangle with a + high contrast border. + */ + property Component navigationHighlight: null } |