本页内容

QVirtualKeyboardObserver Class

作为键盘事件通知的枢纽。更多...

标题: #include <QVirtualKeyboardObserver>
CMake: find_package(Qt6 REQUIRED COMPONENTS VirtualKeyboard)
target_link_libraries(mytarget PRIVATE Qt6::VirtualKeyboard)
qmake: QT += virtualkeyboard
在 QML 中: KeyboardObserver
继承自: QObject

属性

公共函数

QVariant layout()

信号

void layoutChanged()

详细说明

属性文档

[read-only] layout : QVariant

该属性存储以变体形式表示的当前键盘布局。

访问函数:

QVariant layout()

通知信号:

void layoutChanged()

© 2026 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.