Home · All Classes · Annotated · Functions

Input Methods

Introduction

Qtopia provides two input channels to address the issue of text input, given the lack of both screen real-estate and convenient keyboards typical of mobile devices. The Phone Keys input method is intended for phones with the common 0-9, # and 0 buttons. The Full Screen Handwriting input method is intended primarily for touch screen devices, but can be used with any sort of pointing device, including a mouse. These input methods are not mutually exclusive, and a device equipped with both phone keys and a pointing device can take advantage of either or both.

Phone Keys

Given the standard 0-9, * and # keys, Qtopia uses a dictionary to determine the most likely intended input. For example, the '6' key on most phones translates to 'm', 'n', or 'o'. Simply pressing the key twice will result in a best guess of "no". The '*' key is used to select between different options. In this example , pressing the '*' key will toggle between "no" and "on" - the two matches for the input "66".

Full Screen Handwriting

When a pointing device such as a mouse or touch screen is available, the user can enter text by drawing a character at a time. Qtopia is capable of composing characters out of multiple strokes, for example in the case of 't' or '4', provided the additional strokes are entered quickly. Qtopia uses input hints to guide the input guess, such as in the case of the letter 's' and the number '5', where the strokes may be difficult to differentiate.

Common Features

The user is able to change how the input method interprets input by switching between input modes. WithPhone Keys this is accomplished by pressing and holding the '#' key. Using Full Screen Handwriting, the user enters the mode select stroke, which looks like a triangle pointing upwards, and is drawn from the bottom left counter-clockwise. Other commands to the input method are outlined in the table below:

EffectPhone KeysFull ScreenStroke DirectionsStroke Diagram
Mode SelectHold '#' to change modesDraw an upward-pointing triangle counter clockwise, starting in the bottom-left cornerRight, Up-Left, Down-Left.Placeholder
Next GuessPress '*'Draw a diagonal line from bottom-left to top-right and back againUp-Right, Down-LeftPlaceholder
Word PickerStroke Only2 clock-wise circles on top of each other, starting from the topDown-Right, Down-Left, Up-Left, Up-Right, Down-Right, Down-Left, Up-Left, Up-RightPlaceholder
Symbol PickerPress and Hold '#'2 counter-clock-wise circles on top of each other, starting from the topDown-Left, Down-Right, Up-Right, Up-Left, Down-Left, Down-Right, Up-Right, Up-LeftPlaceholder
Shift (next character capital)Press '#'Draw a vertical line from bottom to topUpPlaceholder

Input Hinting

An input widget may hint that it would prefer int or phone to indicate that numbers are more likely, or text or words that it would prefer letters. The words hint also suggests that a dictionary can be used to make better guesses at whole words, and allows the user to select from likely interpretations of a series of strokes. The text hint accepts characters one at a time, and is useful when unusual words are being entered, such as names or passwords.

The following table describes the four modes used by input methods to enable or disable capitalization and guide input guessing:

Mode NameMode TypeDescription
aaword recognitionthe input method uses a dictionary to find likely matches to the input a word at a time (the aa indicates that two key-presses will result in input of two characters).
Aaword recognitionas for aa however the first letter of the word is capitalized
abccharacter recognitionthe input method allows the user to confirm each letter as it is entered.
Abccharacter recognitionas for abc mode however the first letter of the word is capitalized

These modes are handled differently depending on the input method used:


Copyright © 2006 Trolltech Trademarks
Qtopia 4.1.7