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 : const QVariant

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

访问功能:

QVariant layout()

通知信号:

void layoutChanged()

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