QtVirtualKeyboard 命名空间

包含虚拟键盘类使用的枚举。 更多...

头文件 #include <QtVirtualKeyboard>
CMakefind_package(Qt6 REQUIRED COMPONENTS VirtualKeyboard)
target_link_libraries(mytarget PRIVATE Qt6::VirtualKeyboard)
qmakeQT += virtualkeyboard

类型

枚举类KeyType { BaseKey, BackspaceKey, ChangeLanguageKey, EnterKey, FillerKey, …, FlickKey }
枚举类KeyboardFunction { HideInputPanel, ChangeLanguage, ToggleHandwritingMode }
flagsKeyboardFunctionKeys

详细描述

类型文档

枚举类 QtVirtualKeyboard::KeyType

虚拟键盘键的类型。

常量
QtVirtualKeyboard::KeyType::BaseKey0
QtVirtualKeyboard::KeyType::BackspaceKey1
QtVirtualKeyboard::KeyType::ChangeLanguageKey2
QtVirtualKeyboard::KeyType::EnterKey3
QtVirtualKeyboard::KeyType::FillerKey4
QtVirtualKeyboard::KeyType::HandwritingModeKey5
QtVirtualKeyboard::KeyType::HideKeyboardKey6
QtVirtualKeyboard::KeyType::InputModeKey7
QtVirtualKeyboard::KeyType::Key8
QtVirtualKeyboard::KeyType::ModeKey9
QtVirtualKeyboard::KeyType::NumberKey10
QtVirtualKeyboard::KeyType::ShiftKey11
QtVirtualKeyboard::KeyType::SpaceKey12
QtVirtualKeyboard::KeyType::SymbolModeKey13
QtVirtualKeyboard::KeyType::FlickKey14

枚举类 QtVirtualKeyboard::KeyboardFunction

指定虚拟键盘要执行的功能。

此枚举用作预定义键盘功能的别名,例如隐藏虚拟键盘。该枚举在虚拟键盘内部用作实现常规功能的别名。枚举值传递给 Keyboard.doKeyboardFunction() 以执行。

常量
QtVirtualKeyboard::KeyboardFunction::HideInputPanel0
QtVirtualKeyboard::KeyboardFunction::ChangeLanguage1
QtVirtualKeyboard::KeyboardFunction::ToggleHandwritingMode2

© 2024 The Qt Company Ltd. 本文档中包含的贡献的文档版权属于各自的拥有者。本提供的文档根据由自由软件基金会发布的 GNU 自自由文档许可证版本 1.3 许可。Qt 和相应的标志是 The Qt Company Ltd. 在芬兰和/或世界其他国家的商标。所有其他商标均为其各自所有者的财产。