Contains enums used by the virtual keyboard classes. More...
Header: | #include <QtVirtualKeyboard> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS VirtualKeyboard) target_link_libraries(mytarget PRIVATE Qt6::VirtualKeyboard) |
qmake: | QT += virtualkeyboard |
enum class | KeyType { BaseKey, BackspaceKey, ChangeLanguageKey, EnterKey, FillerKey, …, FlickKey } |
enum class | KeyboardFunction { HideInputPanel, ChangeLanguage, ToggleHandwritingMode } |
Key type for the virtual keyboard key.
Constant | Value |
---|---|
QtVirtualKeyboard::KeyType::BaseKey |
0 |
QtVirtualKeyboard::KeyType::BackspaceKey |
1 |
QtVirtualKeyboard::KeyType::ChangeLanguageKey |
2 |
QtVirtualKeyboard::KeyType::EnterKey |
3 |
QtVirtualKeyboard::KeyType::FillerKey |
4 |
QtVirtualKeyboard::KeyType::HandwritingModeKey |
5 |
QtVirtualKeyboard::KeyType::HideKeyboardKey |
6 |
QtVirtualKeyboard::KeyType::InputModeKey |
7 |
QtVirtualKeyboard::KeyType::Key |
8 |
QtVirtualKeyboard::KeyType::ModeKey |
9 |
QtVirtualKeyboard::KeyType::NumberKey |
10 |
QtVirtualKeyboard::KeyType::ShiftKey |
11 |
QtVirtualKeyboard::KeyType::SpaceKey |
12 |
QtVirtualKeyboard::KeyType::SymbolModeKey |
13 |
QtVirtualKeyboard::KeyType::FlickKey |
14 |
Specifies a keyboard function to be executed by the virtual keyboard.
This enumeration is used as an alias for predefined keyboard functions, such as hiding the virtual keyboard. The enumeration is used internally by the virtual keyboard to implement common functionality. The enumeration value is passed to Keyboard.doKeyboardFunction() for execution.
Constant | Value |
---|---|
QtVirtualKeyboard::KeyboardFunction::HideInputPanel |
0 |
QtVirtualKeyboard::KeyboardFunction::ChangeLanguage |
1 |
QtVirtualKeyboard::KeyboardFunction::ToggleHandwritingMode |
2 |
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: