- Qt 6.7
- Qt Virtual Keyboard
- QtVirtualKeyboard Namespace
- Qt Virtual Keyboard | Commercial or GPLv3

# QtVirtualKeyboard Namespace

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

## Types

enum class | KeyboardFunction { HideInputPanel, ChangeLanguage, ToggleHandwritingMode }

## Detailed Description

## Type Documentation

### enum class QtVirtualKeyboard::KeyboardFunction

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`