#include <key.h>
List of all members.
Public Types |
| enum | Action {
ActionInsert,
ActionShift,
ActionBackspace,
ActionSpace,
ActionCycle,
ActionLayoutMenu,
ActionSym,
ActionReturn,
ActionCommit,
ActionDecimalSeparator,
ActionPlusMinusToggle,
ActionSwitch,
ActionOnOffToggle,
ActionCompose,
ActionLeft,
ActionUp,
ActionRight,
ActionDown,
ActionClose,
ActionTab,
ActionDead,
NumActions
} |
Member Enumeration Documentation
- Enumerator:
| ActionInsert |
Key's label is inserted into text editor.
|
| ActionShift |
Switches keyboard to shows uppercase variant.
|
| ActionBackspace |
Key deletes previous character in text editor.
|
| ActionSpace |
Key inserts space into text editor.
|
| ActionCycle |
Key loops through set of characters when pressed in rapid succession and inserts currently shown key label into text editor after short time out.
|
| ActionLayoutMenu |
Key brings up a menu to choose other language(s).
|
| ActionSym |
Switches keyboard to symbol view.
|
| ActionReturn |
Key inserts return into text editor.
|
| ActionCommit |
Key commits preedit to text editor.
|
| ActionDecimalSeparator |
Shown key is a decimal separator that might require localization.
|
| ActionPlusMinusToggle |
|
| ActionSwitch |
Key switches through symbol view pages.
|
| ActionOnOffToggle |
|
| ActionCompose |
Key is used to compose character.
|
| ActionLeft |
Key moves cursor position to left, in text editor.
|
| ActionUp |
Key moves cursor position to previous line, in text editor.
|
| ActionRight |
Key moves cursor position to right, in text editor.
|
| ActionDown |
Key moves cursor position to next line, in text editor.
|
| ActionClose |
Key closes the virtual keyboard.
|
| ActionTab |
Key moves cursor position by one tab, in text editor.
|
| ActionDead |
Switches keyboard to deadkey variation, using key's label as lookup.
|
| NumActions |
|
Constructor & Destructor Documentation
| MaliitKeyboard::Key::Key |
( |
| ) |
|
|
explicit |
Member Function Documentation
| Area MaliitKeyboard::Key::area |
( |
| ) |
const |
| bool MaliitKeyboard::Key::hasExtendedKeys |
( |
| ) |
const |
| QByteArray MaliitKeyboard::Key::icon |
( |
| ) |
const |
| Label MaliitKeyboard::Key::label |
( |
| ) |
const |
| QMargins MaliitKeyboard::Key::margins |
( |
| ) |
const |
| QPoint MaliitKeyboard::Key::origin |
( |
| ) |
const |
| Area & MaliitKeyboard::Key::rArea |
( |
| ) |
|
| QRect MaliitKeyboard::Key::rect |
( |
| ) |
const |
| Label & MaliitKeyboard::Key::rLabel |
( |
| ) |
|
| void MaliitKeyboard::Key::setAction |
( |
Action |
action | ) |
|
| void MaliitKeyboard::Key::setArea |
( |
const Area & |
area | ) |
|
| void MaliitKeyboard::Key::setExtendedKeysEnabled |
( |
bool |
enable | ) |
|
| void MaliitKeyboard::Key::setIcon |
( |
const QByteArray & |
icon | ) |
|
| void MaliitKeyboard::Key::setLabel |
( |
const Label & |
label | ) |
|
| void MaliitKeyboard::Key::setMargins |
( |
const QMargins & |
margins | ) |
|
| void MaliitKeyboard::Key::setOrigin |
( |
const QPoint & |
origin | ) |
|
| bool MaliitKeyboard::Key::valid |
( |
| ) |
const |
Member Data Documentation
| Action MaliitKeyboard::Key::m_action |
|
private |
| Area MaliitKeyboard::Key::m_area |
|
private |
| int MaliitKeyboard::Key::m_flags_padding |
|
private |
| bool MaliitKeyboard::Key::m_has_extended_keys |
|
private |
| QByteArray MaliitKeyboard::Key::m_icon |
|
private |
| Label MaliitKeyboard::Key::m_label |
|
private |
| QMargins MaliitKeyboard::Key::m_margins |
|
private |
| QPoint MaliitKeyboard::Key::m_origin |
|
private |
The documentation for this class was generated from the following files:
- maliit-keyboard/lib/models/key.h
- maliit-keyboard/lib/models/key.cpp