Obsolete Members for QVirtualKeyboardInputContext
The following members of class QVirtualKeyboardInputContext are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Properties
Public Functions
(deprecated) QObject * | inputItem() const |
Signals
(deprecated) void | inputItemChanged() |
Property Documentation
[read-only, deprecated] capsLock : bool
This enumeration is deprecated. We strongly advise against using it in new code.
This property holds the caps lock status.
Use capsLockActive instead.
This property is changed when the caps lock status changes.
Access functions:
| bool | isCapsLockActive() const |
Notifier signal:
| void | capsLockActiveChanged() |
[read-only, deprecated] inputItem : QObject*
This enumeration is deprecated. We strongly advise against using it in new code.
This property holds the focused input item.
Use QGuiApplication::focusObject() instead. This property was never intended as public API; it was exposed only for the internal use of the virtual keyboard.
This property is changed when the focused input item changes.
Note: If you are tracking the input item in order to react to the keyboard geometry or to the cursor position, prefer QInputMethod, which provides keyboardRectangle and cursorRectangle without requiring access to the focused item itself.
Access functions:
| QObject * | inputItem() const |
Notifier signal:
| void | inputItemChanged() |
[read-only, deprecated] shift : bool
This enumeration is deprecated. We strongly advise against using it in new code.
This property holds the shift status.
Use shiftActive instead.
This property is changed when the shift status changes.
Access functions:
| bool | isShiftActive() const |
Notifier signal:
| void | shiftActiveChanged() |
© 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.