Obsolete Members for QVirtualKeyboardInputContext
类QVirtualKeyboardInputContext 的以下成员已被弃用。提供这些成员是为了保持旧源代码的正常运行。我们强烈建议不要在新代码中使用它们。
属性
(deprecated)
capsLock : const bool(deprecated)
inputItem : QObject* const(deprecated)
shift : const bool
公共功能
(deprecated) QObject * | inputItem() const |
信号
(deprecated) void | inputItemChanged() |
属性文档
[read-only, deprecated]
capsLock : const bool
该属性已被弃用。我们强烈建议不要在新代码中使用它。
该属性用于保存大写锁定状态。
请使用capsLockActive 代替。
大写锁定状态发生变化时,该属性也会发生变化。
访问功能:
bool | isCapsLockActive() const |
通知信号:
void | capsLockActiveChanged() |
[read-only, deprecated]
inputItem : QObject* const
该属性已被弃用。我们强烈建议不要在新代码中使用它。
该属性用于保存聚焦的输入项。
当焦点输入项发生变化时,该属性也会发生变化。
访问函数:
QObject * | inputItem() const |
Notifier 信号:
void | inputItemChanged() |
[read-only, deprecated]
shift : const bool
该属性已被弃用。我们强烈建议不要在新代码中使用它。
该属性保存移位状态。
请使用shiftActive 代替。
当轮班状态发生变化时,该属性也会发生变化。
访问功能:
bool | isShiftActive() const |
通知信号:
void | shiftActiveChanged() |
© 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.