Qt Virtual Keyboard C++ Classes
Provides classes to implement input methods for virtual keyboards. More...
Namespaces
Contains enums used by the virtual keyboard classes |
Classes
Base class for input methods | |
An application-defined dictionary for virtual keyboard input methods | |
Dictionary management for application-defined dictionaries | |
Provides access to an input context | |
InputEngine class provides an input engine that supports C++ and QML integration | |
Acts as a hub for keyboard event notifications | |
List model for selection lists | |
Trace is a data model for touch input data |
Detailed Description
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