Qt Virtual Keyboard C++ Classes▲
Provides classes to implement input methods for virtual keyboards.
Namespaces▲
-
QtVirtualKeyboard: Contains enums used by the virtual keyboard classes.
Classes▲
-
QVirtualKeyboardAbstractInputMethod: The base class for input methods.
-
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: The 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.
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