QtVirtualKeyboard Namespace
Enthält Enums, die von den virtuellen Tastaturklassen verwendet werden. Mehr...
Kopfzeile: | #include <QtVirtualKeyboard> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS VirtualKeyboard) target_link_libraries(mytarget PRIVATE Qt6::VirtualKeyboard) |
qmake: | QT += virtualkeyboard |
Typen
enum class | KeyType { BaseKey, BackspaceKey, ChangeLanguageKey, EnterKey, FillerKey, …, FlickKey } |
enum class | KeyboardFunction { HideInputPanel, ChangeLanguage, ToggleHandwritingMode } |
flags | KeyboardFunctionKeys |
Typ-Dokumentation
enum class QtVirtualKeyboard::KeyType
Tastentyp für die Taste der virtuellen Tastatur.
Konstante | Wert |
---|---|
QtVirtualKeyboard::KeyType::BaseKey | 0 |
QtVirtualKeyboard::KeyType::BackspaceKey | 1 |
QtVirtualKeyboard::KeyType::ChangeLanguageKey | 2 |
QtVirtualKeyboard::KeyType::EnterKey | 3 |
QtVirtualKeyboard::KeyType::FillerKey | 4 |
QtVirtualKeyboard::KeyType::HandwritingModeKey | 5 |
QtVirtualKeyboard::KeyType::HideKeyboardKey | 6 |
QtVirtualKeyboard::KeyType::InputModeKey | 7 |
QtVirtualKeyboard::KeyType::Key | 8 |
QtVirtualKeyboard::KeyType::ModeKey | 9 |
QtVirtualKeyboard::KeyType::NumberKey | 10 |
QtVirtualKeyboard::KeyType::ShiftKey | 11 |
QtVirtualKeyboard::KeyType::SpaceKey | 12 |
QtVirtualKeyboard::KeyType::SymbolModeKey | 13 |
QtVirtualKeyboard::KeyType::FlickKey | 14 |
enum class QtVirtualKeyboard::KeyboardFunction
Gibt eine Tastaturfunktion an, die von der virtuellen Tastatur ausgeführt werden soll.
Diese Aufzählung wird als Alias für vordefinierte Tastaturfunktionen verwendet, wie z. B. das Ausblenden der virtuellen Tastatur. Die Aufzählung wird intern von der virtuellen Tastatur verwendet, um allgemeine Funktionen zu implementieren. Der Wert der Aufzählung wird zur Ausführung an Keyboard.doKeyboardFunction() übergeben.
Konstante | Wert |
---|---|
QtVirtualKeyboard::KeyboardFunction::HideInputPanel | 0 |
QtVirtualKeyboard::KeyboardFunction::ChangeLanguage | 1 |
QtVirtualKeyboard::KeyboardFunction::ToggleHandwritingMode | 2 |
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.