Provides classes to implement input methods for virtual keyboards. More...

Namespaces

QtVirtualKeyboard

Contains enums used by the virtual keyboard classes

Classes

QVirtualKeyboardAbstractInputMethod

Base class for input methods

QVirtualKeyboardAbstractInputMethodPrivate

QVirtualKeyboardDictionary

An application-defined dictionary for virtual keyboard input methods

QVirtualKeyboardDictionaryManager

Dictionary management for application-defined dictionaries

QVirtualKeyboardInputContext

Provides access to an input context

QVirtualKeyboardInputEngine

InputEngine class provides an input engine that supports C++ and QML integration

QVirtualKeyboardObserver

Acts as a hub for keyboard event notifications

QVirtualKeyboardSelectionListModel

List model for selection lists

QVirtualKeyboardTrace

Trace is a data model for touch input data

QtVirtualKeyboard::AbstractInputPanel

Base class for an input panel

QtVirtualKeyboard::DesktopInputPanel

QtVirtualKeyboard::EnterKeyAction

QtVirtualKeyboard::EnterKeyActionAttachedType

QtVirtualKeyboard::InputMethod

QtVirtualKeyboard::InputView

QtVirtualKeyboard::PlainInputMethod

QtVirtualKeyboard::PlatformInputContext

QtVirtualKeyboard::Settings

QtVirtualKeyboard::ShiftHandler

Manages the shift state

QtVirtualKeyboard::VirtualKeyboard

QtVirtualKeyboard::VirtualKeyboardAttachedType

Detailed Description

\titleQt Virtual Keyboard C++ Classes

\ingroupmodules \qtcmakepackage VirtualKeyboard \qtvariable virtualkeyboard

To include the definitions of the module's classes, use the following directive:

 #include <QtVirtualKeyboard>

Using the Module

Using a Qt module requires linking against the module library, either directly or through other dependencies. Several build tools have dedicated support for this, including CMake and qmake.

Building with CMake

Use the find_package() command to locate the needed module components in the Qt6 package:

 find_package(Qt6 REQUIRED COMPONENTS VirtualKeyboard)
 target_link_libraries(mytarget PRIVATE Qt6::VirtualKeyboard)

See Getting started with CMake for more information.

Building with qmake

To link against this module, add the following line to your qmake .pro file:

 QT += virtualkeyboard